LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA read output

I am running labview 8.5 and working with the basic VISA serial communication example.  I have the following in a nut shell.
 
1.  Character termination set to "TRUE"
2.  My bytes to read I multiplied by 50. (So I know it would read eveything)
 
 
However, when I run the VI, the I see the output but, it stays up for 1 second and then disappears.
Shouldn't it stay up all the time?
 
OUTPUT -->  RYUT102903   RTY8794040 
 
"This stays up for 1 second and then clears"
0 Kudos
Message 1 of 2
(2,419 Views)

Why do you multiply by 50?

Is this for serial (RS-232) communication?

If so, you can query the port by using the "Bytes at Port" property.  See image below.

The reason it may stay for 1 sec is because it has to timeout because it cannot get the amount of data that you are specifying.

The image below gives you an idea how to implement, however, it is an oversimplified example.  You should look at the serial communcation examples within the example finder.

R.

 

0 Kudos
Message 2 of 2
(2,399 Views)