Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Help understanding this manual VISA write command

, The hardware manual says:

 

Capture.PNG

 

What does this look like on labview, right now I have it looking like this for a Z command is it correct: 

 

Capture.PNG

0 Kudos
Message 1 of 5
(3,469 Views)

The attached snippet should be what you are looking for.  It would be helpful in the future if you stated exactly what hardware you are trying to communicate with.

0 Kudos
Message 2 of 5
(3,467 Views)

It's just a gas sensor that outputs over serial. How did you get that little n next to the Z? and  the concatenated string goes straight ot the visa write block yes?


@Wayne.C wrote:

The attached snippet should be what you are looking for.  It would be helpful in the future if you stated exactly what hardware you are trying to communicate with.


 

0 Kudos
Message 3 of 5
(3,464 Views)

If you right click the string constant and select Visible Items > Display Style it will indicate what display style it is configured for.  You can then left click the constant to change the display style .

0 Kudos
Message 4 of 5
(3,459 Views)

I would advise against using the End Of Line Constant since it is platform dependent.  Use an actual string constant with "\r\n" when in "\ Codes" display.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 5
(3,449 Views)