Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire Data over GPIB in word Format

Hi,


I am using LabView software to acquire data from a AG86100 oscilloscope. For speed purposes I set the scope to send the stream of data in word format(16 bit signed integer). The scope sends each point on its screen in two bytes. How can I make LabView treat received data as 16bit integers and plot it?

Thanks...
0 Kudos
Message 1 of 3
(2,961 Views)
Hi eengin,

The bytes that come back from the VISA Read are in string format. In order to graph this data, you can take the two bytes and typecast them into a single 16 bit integer. The Type Cast function is on the All Functions >> Advanced >> Data Manipulation Palette. You can then pass the data point-by-point into a chart, or build an array out of the data and pass the array into a graph.

Hope this helps!

john
Applications Engineer
0 Kudos
Message 2 of 3
(2,947 Views)
Thanks for your help,

I tried to take the data of 8192 chars and grouped them two by two and then convert it.
0 Kudos
Message 3 of 3
(2,920 Views)