Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Very strange ! (RS232C & LabVIEW)

Hello,
 
I'm using LabVIEW 8.2 and I try to command a charge amplifier (Kistler 5011 B12) with RS232C bus. When I use my VI (adapted from a Labview 8.2 example called "Basic Serial Write and Read.vi), the command which I try to send is not recognized by the amplifier. But when I use "Basic Serial Write and Read.vi", it works perfectly : the commands are recognized by the amplifier. However, the command sent with my VI and the command sent with the original VI is the same ! So both should work ! But the problem is explained in my diagram (see attached VI)...You will understand it better by having a look at it if you're OK to help me.
 
Thank you very much in advance,
 
Julien
0 Kudos
Message 1 of 2
(3,303 Views)
That's OK, I have changed \r\n by an end of line constant and now it works.
0 Kudos
Message 2 of 2
(3,300 Views)