LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI-6508 Read and Write Problem

Hi,
I have two PXI-6508 DAQ cards. I am using one for inputs and one for outputs. Using read data socket vi I am able to read from the input card, and using write data socket I am able to write to the output card. I am configuring one card to read and one to write, both work seperatly but when I put both vi into my application it crashes and refuses to work. I then need to reboot my PC to then start again. What am I doing wrong?
0 Kudos
Message 1 of 3
(2,635 Views)
Hi gedsy

I guess you are using some ressources at the same time. The ressource can be a VI or a refnum or any other thing of this kind.

You should check you are not using the same vis and expect different dataspaces. If you want to use different data spaces with same VIs, you must set them as re-entrant.

Doc-Doc
Doc-Doc
http://www.machinevision.ch
http://visionindustrielle.ch
Please take time to rate this answer
0 Kudos
Message 2 of 3
(2,635 Views)
Are you using traditional DAQ or DAQmx. DAQmx find multithreaded tasks easier to handle.

Hope this helps.

Steven Bird
0 Kudos
Message 3 of 3
(2,635 Views)