06-12-2008 07:45 AM
06-12-2008 09:46 AM
06-12-2008 11:16 AM
06-12-2008 11:36 AM
06-12-2008 11:57 AM
06-13-2008 02:37 AM
Each VI1 is a separate instance. Each instance has 2 main devices logicly connected to it: VI1 - instr. 1 and 2, VI1´ - instr. 3 and 4 and so on. They only connect to their own hardware. But one instrument is common to every VI1 instance (instr. 5). It is read rarely: each instance needs the data from it every ~15s.
As instrument 5 is a multi channel A/C converter I need to send commands: change channel, read value in that order. My initial idea was to make another VI (VI2) that would handle getting data from this device. Then, somehow make VI1´s get the data from it.
06-13-2008 04:55 AM
hi there
i'd check if there are any OPC-Servers for these devces. Or you may think about writing one single VI that does all the hardware communication and reads/writes data from/to Datasocket items or shared variables.
Then an arbitrary number of VIs could access the data without actually communicate with the hardware (even over the network!). Communication is then done by one single VI, so there would be no collisions.