04-25-2004 08:27 PM
www.xinstruments.com - Custom Software for Industrial Automation
www.hdrconverter.com - Picture processing made easy
04-26-2004 04:28 AM
04-26-2004 09:33 AM
04-27-2004 05:55 AM
www.xinstruments.com - Custom Software for Industrial Automation
www.hdrconverter.com - Picture processing made easy
05-25-2012 07:57 AM
Hello!
I have similar problem, I can open and communicate over 8 serial VISA sessions, but if I open and use one more, then my programm is running more slowly. It seems to block other sessions in reading state.
05-25-2012 08:08 AM
Although you can have many sesison open only one can be active on the GPIB bus at a time.
If you are using serial, then a shared VI between your threads may introduce delays. Check for re-entrancy on common sub-VIs.
Of course repeatedly opneing and closing ports will get in the way of each other.
Ben
05-25-2012 08:17 AM
Thank you, Ben!
I use RS232, no GPIB
I don't use any VI, which reads the interface and is not reentrant
I open and close interfaces once, not before each reading
Do you have more ideas, what I can check to solve the problem?
Regards, Eugen
05-25-2012 08:24 AM
POst a set of images showing the code that seems to be interfearing with each other.
Ben
05-25-2012 08:44 AM
It's not possible, the project is too big (about 6000 VIs), and all the VISA functions are in many SubVIs.
But, one more information.
I use 3 interfaces with 6 sessions (for each read and write session simultaneously) and 2 interfaces only for write, and 1 interface with one session for reading and writing none simultaneously.
05-25-2012 08:52 AM
The problem disappers if I close one of read sessions, independantly of the number or function.