Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial

Solved!
Go to solution
Solution
Accepted by topic author kstipe

All of this is just ridiculous. You turn off the termination character by wiring a False constant to the 'Enable Termination Char' input. Is your Context Help turned on? If you edited the VISA Configure Serial Port, undo that. I'm not sure how you did your edit but I'm sure whatever you did, it was incorrectly done.

Message 41 of 43
(924 Views)

Ok. That did the trick. Thank you very much. I am now reading everything that I write. except for one diggit.

 

\AA\AA\n\94\01\00\01\01\F4\01

 

that "n" should be a 0A

 

Thanks so much for all your help.

-K
0 Kudos
Message 42 of 43
(923 Views)

That \n is a line feed character and it is the default termination character and that was why the read was terminating early. The hex equivalent of \n is 0x0A. If you want to see the hex code, turn off '\' Codes Display and enable hex display.

Message 43 of 43
(919 Views)