LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa test panel works, yet visa write vi does not

Solved!
Go to solution

Hello all, this is my first post hereSmiley Happy

 

I'm trying to communicate with a piezo controller instrument using my serial port.  I can successfully write a command using the visa test panel, 'AV20\r' for example sets all the voltage channels to 20 volts.  In my labview vi, I configure the serial port with the same settings I see in the test panel and run it, yet the instrument doesn't respond.

 

Any suggestions would be greatly appreciated, I'm sure I must be missing something simple here...

 

Thanks,

Brian

0 Kudos
Message 1 of 4
(2,625 Views)
Solution
Accepted by topic author BPile

Are you sure your string constant or control in LabVIEW that contains the string is setup to show \codes mode?

Message 2 of 4
(2,624 Views)

Thanks RavensFan! That did the trick.  Just so I understand what was happening...I was sending the text string \r rather than the hexadecimal representation of the carriage return?

0 Kudos
Message 3 of 4
(2,618 Views)

Exactly! Smiley Happy

0 Kudos
Message 4 of 4
(2,609 Views)