3.5 Runtime control

int ndigo6g12_start_capture(ndigo6g12_device *device)

Start data acquisition.

Parameters:

device[in] Pointer to the device.

Returns:

See Function return values.

int ndigo6g12_stop_capture(ndigo6g12_device *device)

Stop data acquisition.

Parameters:

device[in] Pointer to the device.

Returns:

See Function return values.

int ndigo6g12_manual_trigger(ndigo6g12_device *device, int channel_mask)

Enables manual triggering of the ADC channels.

Parameters:
  • device[in] Pointer to the device.

  • channel_mask[in] A bit mask that chooses which channels to trigger.

Returns:

See Function return values.

int ndigo6g12_single_shot(ndigo6g12_device *device, int channel_mask)

Enables single-shot recording of the ADC channels.

Instead of continously triggering on input signals, only trigger and record a ndigo6g12_trigger_block::multi_shot_count number of events.

Note: Up to firmware revision 1.24120, this feature is bugged in 4-channel mode while ndigo6g12_trigger_block::multi_shot_count >1.

Requires that ndigo6g12_trigger_block::enabled is false.

Parameters:
  • device[in] Pointer to the device.

  • channel_mask[in] A bit mask that chooses which channels to trigger.

Returns:

See Function return values.

int ndigo6g12_clear_pcie_errors(ndigo6g12_device *device, int flags)

Clear PCIe errors.

Only useful for PCIe problem debugging flags.

Parameters:
Returns:

char array containing the plain text error message.

Relevant defines:

CRONO_PCIE_CORRECTABLE_FLAG
CRONO_PCIE_UNCORRECTABLE_FLAG