get_data

Contents

get_data#

method

RTO.get_data(channel, form='ascii')[source]#

Retrieves waveform data from the specified channel

Data is retrieved in the specified data type. Note that data like this can be transferred in two ways: in ASCII form (slow, but human readable) and binary (fast, but more difficult to debug).

Parameters:
channelint

The channel to retrieve data for.

formstr, optional

The data format used for the transmission of waveform data. Allowable values are ascii, real, int8, and int16. Default is ascii.

Notes

RTO User Manual, commands for FORMat[:DATA] and CHANnel<m>[:WAVeform<n>]:DATA[:VALues]?