03-10-2011 04:38 AM
03-10-2011 06:39 AM
Hi,
1. Do you have one resource or you multiple comm ports?
2. You can use the Socket index to get the correct data, off course you would have to use an array to hold this data. If handles are not from a shared resourse then there is no need for any special consideration. Each Socket will be totally independant of each other. Its only when resourses are shared that you need to make sure each socket is not trying to use it at the same time.
3. Providing VI are re-entrant then you can multiple instances of a VI in memory. Otherwise you would have to use synchronization so that you can share resourses.
03-10-2011 07:03 AM
Thanks Ray
In fact i found your reply in this thread http://forums.ni.com/t5/NI-TestStand/Parallel-Model-using-Multiple-Com-Relay-Cfgs/m-p/1000662 and have a semi-working solution.
03-10-2011 08:45 AM
ok that's great
03-10-2011 09:12 AM
1) Local variables are separate per testsocket, so are FileGlobals by default (though there is a setting in the sequence file properties dialog box to share them), station globals are of course shared.
2) See Ray's answer.
3) See Ray's answer.
Hope this helps,
-Doug