LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What does Visa Read.vi do with a Zero Byte Count?

Solved!
Go to solution

If I use the Bytes at Port property node to feed the Byte Count input of VISA Read.vi, and the value is zero, what happens?

 

Does VISA Read.vi return immediately with zero bytes?

Does VISA Read.vi return immediately with however many bytes might have shown up in the buffer in the meantime?

Does VISA Read.vi wait for bytes or termination character?

Does VISA Read.vi wait for timeout?

 

The documentation does not say, and I need to know.

 

Thanks.

0 Kudos
Message 1 of 5
(3,820 Views)

Retunrs 0 bytes immediatly and a warning that more data may be in the buffer


"Should be" isn't "Is" -Jay
Message 2 of 5
(3,811 Views)

What is the number of the warning?

 

Thanks.

0 Kudos
Message 3 of 5
(3,804 Views)
Solution
Accepted by topic author Mark_Holm

Warning 1073676294 occurred at VISA Read in Untitled 1

Possible reason(s):

VISA:  (Hex 0x3FFF0006) The number of bytes transferred is equal to the requested input count. More data might be available.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 5
(3,795 Views)
Nice cover Tim. thanks

"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 5
(3,773 Views)