ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA write holding up

Hello All.,

 

I am using PXI-1033 and inside that I have counter card 6602, I also have Animatics Motor connected to COM 1 and my test units,

Motor control is done using VISA.

 

test units gives me pulses whenever I run the motor, currently I have 2 test units and each test units gives me compensated and non compensated pulses,

 

So totally I use 4 counter channels to measure pulse width and pulse count.

 

I came 2 know that we can use only 3 channels if any DAQ card is in DMA mode, so I changed data acquisition to interrupt mode.

 

Earlier I used to test only one unit and everything was working fine and I was not using interrupt based acquisition.

 

Problem started for me when I started testing 2 units, when ever I give RUN command for the motor, motor starts running, but VISA WRITE is not passing the reference to the next VISA API and  because of this I cannot test the other modules as there is device hold up.

 

Has anybody come across this type of situation?

0 Kudos
Message 1 of 1
(2,296 Views)