03-23-2023 02:07 PM
I'm scoping the work required to implement a system where I have a 1 DAQ to many PCs setup.
A single compact daq is acting as a digital controller to distribute gas via a relay/solenoid array.
I need multiple PCs on the same network to instruct that DAQ to open/close digital states without impacting each other at all.
Does DAQmx handle commands from different sources, or will it hang up if one PC is already hooked on? I guess I'm interested to know if DAQmx is smart enough to handle this for me.
PC 1 says : Channel 1 state = 1.
PC 2 says : Channel 2 state = 1.
DAQ says to PC 1 : OK I opened channel 1.
DAQ says to PC 2 : OK I opened channel 2.
END state being : handshakes are successful and the DAQ has both channel 1 and 2 set to 1 simultaneously.
If I try to do this will I get an error like "hey I'm busy, right now" or MAX saying "hey, I don't see this DAQ on the network anymore". Can the DAQ just remember which system requested a task, perform the task and then move onto the next request in some locally stored buffer, basically decoupling commands from each other. If the answer is just no, I'm ok with it and will move towards a simpler hardware implementation. Scoping some method of synchronizing between software is not on my plate right now.
03-23-2023 03:22 PM
It depends on whether your cDAQ chassis has a controller.