LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How work the Visa session?

I'm working with the Visa session. When I receive from an external processor the hex value 0X0A then suddenly aboard the reading instruction. When I want to receive the value 0XAA0A55 then I receive only 0XAA0A. Why?
0 Kudos
Message 1 of 3
(2,726 Views)
May be I'm wrong, but... Is it possible that in properties of your VISA session "termination character" property is set to "0x0A" and "termination character available" is set to TRUE? (As 0x0A(LF) is a very common termination character, so this can be the default settings, and they must be changed in order to communicate with your particular device)
0 Kudos
Message 2 of 3
(2,726 Views)
Hi

defuflo is right. The read ends due to the termination character. If you do binary serial transfer you have to do the following:

You have to set the "Termination Character Enable" property to false. In LV 6.0.2 use a property node which input comes from the "duplicate VISA resource name" output of the "VISA configure serial port", in LV 6.1 it is a parameter to that function.
Second use a property node to set the "Serial Settings:Serial End Mode For Reads" to "None".

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 3 of 3
(2,726 Views)