ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A problem about property node

Hi,
    Why this VI use property node before visa read?
0 Kudos
Message 1 of 5
(2,958 Views)

Hi,

The 'Bytes at Port' property is read so that VISA Read knows how many bytes to get.

Albert

Message 2 of 5
(2,955 Views)
Thank you, Albert.
Is property node absolutely necessarily? Visa read can get bytes itself. Are there many differences?
0 Kudos
Message 3 of 5
(2,951 Views)

Hi hengfo,

      It's not necessary to use "bytes at port", in fact, I don't trust it, it seems there can be some strange latency! (see threads below)

Just go ahead and wire the number of bytes you want to read to the Read  - but be ready for a timeout error if the bytes you request don't arrive within the VISA timeout period. Smiley Wink

See these threads:

http://forums.ni.com/ni/board/message?board.id=140&message.id=7839&requireLogin=False

http://forums.ni.com/ni/board/message?board.id=170&message.id=111079&requireLogin=False

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Message 4 of 5
(2,942 Views)
Thank you very much, tbd!
0 Kudos
Message 5 of 5
(2,924 Views)