local connection with second DF instance

Recommended Posts


I have two instances of DF running on one computer (probably not reccomended) that i want to share channels.

I just made a new connection in both instances with the same name and set brd on one of the channels. It seems like one instance is talking to the other. I don't know how this is decided upon- maybe whichever was loaded first?

I'd like 2-way channel sharing. Is this possible and could you shed a litttle light on the 'proper' way to do this?  I don't want to combine both programs really as version history becomes awkward



Link to comment
Share on other sites

What you are seeing is actually a limitation of your device, not DAQFactory.  It apparently only likes one connection at a time.  So, the only way to share that data between two DAQFactory instances is to have one instance retrieve the data from the device and have the other instance retrieve the data from the first instance.  You can do that with DAQFactory networking if you are using Pro.  Alternatively, on the same machine, you could rig something up where that first instance writes the data to a file and the other instance reads it.

Link to comment
Share on other sites

Hi, so firstly I'm using a developer licence.

The channel I'm trying to share isn't from a device. It's just an integer that is calculated during a sequence

Currently I just have a connection name. Is there a way to specify (with daqfactory networking) a local address or something for a particular instance? The help mentions connection to another instance in acquire mode. But I need user interaction in both instances.

Otherwise, yes, writing and reading to a temporary file would work but a little more effort keeping things tidy etc. 


Link to comment
Share on other sites

If you are going to use DAQFactory networking (meaning creating a "Connection") then you'll have to put the data in a channel.  Just use a test D/A channel on the main system and set it to the desired value like you would a variable.

Now as to addressing, you can always use, which is defined (universally, even in other programs) as the current system.  Just remember that you need to enable broadcasting.  It is disabled by default for security reasons.  Go to File - Document Settings to enable.  It should only be enabled on the server application, not the client. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.