08-11-2009 02:34 AM
Hi,
I hope you can help me with this issue:
I would like to use the VXIin and VXIout functions (LabWindow 7.1) in different threads.
I'm wondering if this is in principal possible, that means that the VME-Library can handle this, or if I do have to use a system-wide mutex to make sure that only one process uses the function.
Thanks a lot
Georg Troska
08-12-2009 08:25 AM
Hi schorschimact,
we would need a few more information of what you are doing.
Which version of VXI are you using?
Do you need to interact from different threads with ONE (same) device or do you interact with different devices from different threads?
Thanks
Dippi
08-13-2009 04:36 AM
Hi thanks for the answer,
well acutally... how do I find out which version of VXI I am using?
My VISA tells me that the version is 3.2 of implementation and 3.0 of specification. Is this the information you need?
Ok both cases you describe are right:
I communicate with 3 or 4 VME-Boards through the MXI-VXI-Interface. I have one application per board. That means to lock them through a system-wide mutex would be an issue. Not unsolvabe but hard to implement.
At the moment the application that I am using has multiple threads calling to one VME-Board, but it would be easy to lock them with one mutex
Thanks George