beautypg.com

Error_ok, Valid values are following, Constants – Dataman 520 Series User Manual

Page 28: Combination of, Trigger_channel_a, Probe, Pling mode status, Value, Can be one of the following

background image


Development kit for DATAMAN 520 series

Programmer’s Guide

CHANNEL_B 200
CHANNEL_C 300
CHANNEL_D 400

Data acquistion control constants
CODE_RESET_MEASURING 40
CODE_START_MEASURING 41
CODE_STOP_MEASURING 42

Device driver return values
DEVICE_FUNCTION_SUCCEEDED 1
DEVICE_TIME_MODE_NORMAL 2
DEVICE_TIME_MODE_SAMPLING 3

Trigger system status indicators
TRIGGER_STATUS_READY 1
TRIGGER_STATUS_NOT_READY 2
TRIGGER_STATUS_NOT_TRIGGER 3

Sampling mode data acquistion status indicators
TRIGGER_SAMPLING_STATUS_LESS_THAN_HALF 1
TRIGGER_SAMPLING_STATUS_MORE_THAN_HALF 2
TRIGGER_SAMPLING_STATUS_MORE_THAN_ENOUGH 3

Trigger system level selectors
TRIGGER_LEVEL_PRIMARY 1
TRIGGER_LEVEL_SECONDARY 2

Trigger source selectors
TRIGGER_CHANNEL_A 1
TRIGGER_CHANNEL_B 2
TRIGGER_EXTERNAL 4

Trigger mode selectors
TRIGGER_MODE_AUTO 1
TRIGGER_MODE_NORMAL 2
TRIGGER_MODE_MANUAL 4

Probe attenuation selectors
PROBE_TYPE_1 1
PROBE_TYPE_10 2
PROBE_TYPE_100 3

DK interface error codes
ERROR_OK 1000
ERROR_USB_FAILED 1001
ERROR_USB_DRIVER_NOT_LOADED 1002
ERROR_DEVICE_CONFIGURATION_FAILED 1003
ERROR_DEVICE_CALIBRATION_BROKEN 1004
ERROR_DEVICE_DRIVER_NO_ENTRY_POINT 1005

- 28 -