Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Serial Break does not work

In my application I need to send a BREAK to wake up my instrument. I have tried using VISA SERIAL BREAK but it doesn't work. Interestingly enough that there is another VI under Functions->Instrument I/O->I/O compatibility->Serial Compatibility->Serial Port Break which works. Can anybody tell me how to use VISA SERIAL BREAK or send me a sample of code please?

Thanks a lot,
Konstantin.
0 Kudos
Message 1 of 3
(3,837 Views)
Hello Konstantin:

Thank you for contacting National Instruments.

Some instruments need a serial port break longer than 250ms to wake the instrument (which is the minimum time for the VISA Serial Break.vi). Do you get any error message with the VISA vi? What do you exactly mean by it doesn't work?

What is the VISA version that you have? I hope you have the latest one available from ni.com > Support > Product Reference > Drivers and Updates > Current Versions.

If you have any questions, please let us know.

-pavan b.
0 Kudos
Message 2 of 3
(3,837 Views)
Thank you Pavan.
Does not work means I can not see any activity on TX line with a scope sending the VISA Serial Break.vi and my device, of corse, not responding. Error code is -1073807342. I/O Compatibility Serial Break.vi works fine but with a little problem probably related to my application after all. The problem is it does not keep the break duration constant from iteration to iteration and sometimes hangs at high level until the application is shut down.

Thank you,
Konstantin.
0 Kudos
Message 3 of 3
(3,837 Views)