The ly_zi module

Module for LeCroy Zi Digital Storage Osciolloscopes.

API

cmd_ly_zi.init_ly_zi(ly_zi_id)[source]

Initialize ly_zi DSO. dso_hostname is the IP address or resolvable network name

cmd_ly_zi.deinit_ly_zi(ly_zi_id)[source]

Deregister an ly_zi from the pool

cmd_ly_zi.get_data_ly_zi(ly_zi_id, sparsing, channel)[source]

Get waveform of channel. channel can be ‘C1’, ‘C2’, ‘C3’, ‘C4’, ‘M1’, ‘M2’, ‘M3’, ‘M4’, ‘F1’, ‘F2’, ‘F3’, ‘F4’, ‘F5’, ‘F6’, ‘F7’ or ‘F8’, or a comma-separated list of channels. e.g.: C1,C2,F3. Data is sent back in base64. The sparsing parameter defines the interval between data points. sparsing =4 gets every 4th datapoint.

cmd_ly_zi.set_v_offset_ly_zi(ly_zi_id, v_offset, channel)[source]

Set v_offset vertical offset for channel

cmd_ly_zi.set_v_div_ly_zi(ly_zi_id, v_div, channel)[source]

Set v_div vertical volts per division for channel

cmd_ly_zi.clear_sweep_ly_zi(ly_zi_id)[source]

Clear sweep on DSO

cmd_ly_zi.get_error_queue_ly_zi(ly_zi_id)[source]

Read error queue