Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Read string composed with binary and ASCII code on a serial port

Hello,

 

With the soft done with the instrument when I give the reading instruction I receive in response a 224 octets string length.

 

The structure of the string is this :

 

First character is standarded coded, the 108 next are binary coded, next 100 standard coded and the 15 last in binary.

 

 

With Labview I get only 126 characters, the first is well read, next I have only 15 characters without signification, then 112 characters well read and the 15 last seem to left

 

Sorry for me english!!!

0 Kudos
Message 1 of 3
(3,668 Views)
I work with Labview 6.1 under Windows XP
0 Kudos
Message 2 of 3
(3,667 Views)
Not sure why you would post an excel file instead of your code. Without seeing it, my guess is that you have the VISA Configure Serial Port and do not have False constant wired to the 'enable termination character' input. With it unwired or a True, the VISA rea will automatically stop when a term character is detected and that is very likely when you read hex.
0 Kudos
Message 3 of 3
(3,653 Views)