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: 

data format

Hi, my instrument need a string with three bytes to move. I can send this
through IBIC by the format \x100\x20\x0 and it will read back to me three
bytes sent. But when using Labview I just can't figure out a correct way
to send a string with three data bytes. When I sent the same format like
\x100\x20\x0 and it will count as 12 bytes.(use write and read to do this)
Anyone knows what is the correct data format and what is a seperator for
the data and how do labniew count bytes? Thank you here first.
0 Kudos
Message 1 of 2
(2,613 Views)
"Lixia" wrote:
>
> Hi, my instrument need a string with three
>bytes to move. I can send this through IBIC
>by the format \x100\x20\x0 and it will read
>back to me three bytes sent. But when using
>Labview I just can't figure out a correct
>way to send a string with three data bytes.
>When I sent the same format like
>\x100\x20\x0 and it will count as 12 bytes.
>(use write and read to do this) Anyone knows
>what is the correct data format and what is
>a seperator for the data and how do labniew
>count bytes? Thank you here first.

Right click the string control, and select
Hex Display. Then type "01002000". x100
is 2 bytes (x100= xFF + 1).

Good luck.

George Zou
http://gtoolbox.yeah.net
http://gtoolbox.topcool.net
0 Kudos
Message 2 of 2
(2,613 Views)