Pendulum CNT91 frequency counter

class pymeasure.instruments.pendulum.cnt91.CNT91(adapter, name='Pendulum CNT-91', **kwargs)

Bases: Instrument

Represents a Pendulum CNT-91 frequency counter.

property batch_size

Maximum number of buffer entries that can be transmitted at once.

buffer_frequency_time_series(channel, n_samples, sample_rate, trigger_source=None)

Record a time series to the buffer and read it out after completion.

Parameters
  • channel – Channel that should be used

  • n_samples – The number of samples

  • sample_rate – Sample rate in Hz

  • trigger_source – Optionally specify a trigger source to start the measurement

configure_frequency_array_measurement(n_samples, channel)

Configure the counter for an array of measurements.

Parameters
  • n_samples – The number of samples

  • channel – Measurment channel (A, B, C, E, INTREF)

property continuous

Controls whether to perform continuous measurements.

property external_arming_start_slope

Set slope for the start arming condition.

property external_start_arming_source

Select arming input or switch off the start arming function. Options are ‘A’, ‘B’ and ‘E’ (rear). ‘IMM’ turns trigger off.

property format

Reponse format (ASCII or REAL).

property interpolator_autocalibrated

Controls if interpolators should be calibrated automatically.

property measurement_time

Gate time for one measurement in s.

read_buffer(expected_length=0)

Read out the entire buffer.

Parameters

expected_length – The expected length of the buffer. If more data is read, values at the end are removed. Defaults to 0, which means that the entire buffer is returned independent of its length.

Returns

Frequency values from the buffer.