waveform()

waveform( dso_id, [channel [,np [,sparsing [, offset]]]]), wf()

Waveform() reads the LeCroy oscilloscopes. The arguments of this function are all evaluated as integer expressions:

channel
The channel number, one of (1,2,3,4,ALL,12,123, TA, TB, TC, TD), default is all channels.
np
The number of samples to be read [1,100000], default 1000.
sparsing
Read every n$th$ point, default 1 (all points).
offset
First point, default 0.

The result is stored in the SCAN lc584_c$i$ (i from [1,4]).

The number of data points np may also be greater than 100000. In this case the data is written into a file. The file name is created using the symbol generic_scan_name with the extension .bin.

e.g.:
* = waveform()

Note that DSOs are defined by:

define/dev=DSO/mod=LC424/host=hasvuvosz2m/port=1861 dso1
define/dev=dso/mod=lc584/gpib=7 dso2