Configuration module config

See also Default options in keyoscacquire.config.

Default options for keyoscacquire

keyoscacquire.config._acq_type = 'HRESolution'

The acqusition type {HRESolution, NORMal, AVER<m>} where <m> is the number of averages in range [2, 65536]

keyoscacquire.config._export_png = True

export png of plot of obtained trace

keyoscacquire.config._file_delimiter = ' n'

Delimiter used between _filename and filenumber (before _filetype)

keyoscacquire.config._filename = 'data'

Default base filename of all traces and pngs exported, a number is appended to the base

keyoscacquire.config._filetype = '.csv'

filetype of exported data, can also be txt/dat etc.

keyoscacquire.config._num_points = 0

Number of points to transfer to the computer zero gives maximum

keyoscacquire.config._p_mode = 'RAW'

'NORMal' is limited to 62,500 points, whereas 'RAW' gives up to 1e6 points. {RAW, MAX, NORMal}

Type

Points mode of the oscilloscope

keyoscacquire.config._show_plot = False

show each plot when generated (program pauses until it is closed)

keyoscacquire.config._timeout = 15000

ms timeout for the instrument connection

keyoscacquire.config._visa_address = 'USB0::1234::1234::MY1234567::INSTR'

VISA address of instrument

keyoscacquire.config._waveform_format = 'WORD'

Waveform format transferred from the oscilloscope to the computer WORD formatted data is transferred as 16-bit uint. BYTE formatted data is transferred as 8-bit uint. ASCii formatted data converts the internal integer data values to real Y-axis values. Values are transferred as ASCii digits in floating point notation, separated by commas.