Download binary or decimal integer values from 8191 to -8191 into volatile
memory of the instrument. You can download from 1 to Sample
max
points per
waveform in IEEE 488.2 binary block format or as a list of values.
81150A: Sample
max
= 524288 (512 k)
81160A 1 channel: Sample
max
= 262144 (256 k)
81160A 2 channels: Sample
max
= 131072 (128 k)
The following small example downloads a created waveform in binary
format and shows the formatting string for the alternative format ‘list of
values’ (it is just a comma separated list of integer values).
You have to specify a timeout value using the viSetAttribute function if a
large block of data has to be transferred to the instrument. The transfer of a
data block as a comma separated value list is also time-consuming. E.g.
viSetAttribute (vi, VI_ATTR_TMO_VALUE, VI_TMO_INFINITE);
Do not forget to reset the timeout to the previous setting after the waveform
data transfer has finished.