Setprobe, Setmemorysize, Setcompensationgenerator – Dataman 770 Series User Manual

Page 20

Advertising
background image


Development kit for DATAMAN 770 series

Programmer’s Guide


TRIGGER_LEVEL_PRIMARY – primary level

TRIGGER_LEVEL_SECONDARY – secondary level

source – determines the source, whose sensitivity is affected

TRIGGER_SOURCE_A – channel A
TRIGGER_SOURCE_B – channel B
TRIGGER_SOURCE_E – external trigger input

edge – determines sensitivity

TRIGGER_EDGE_LEADING – sensitivity on the leading edge
TRIGGER_EDGE_TRAILING – sensitivity on the trailing edge


Return value: -

3.3.13. SetProbe

Sets device to measure with selected probe accurately.

void __stdcall __export SetProbe(int channel, int probe);


Parameters:
channel – determines channel

CHANNEL_A – channel A

CHANNEL_B – channel B

probe – determines connected probe

PROBE_1_1 – probe 1:1
PROBE_1_10 – probe with attenuation 1:10 or higher


Return value: -

Remark:
This function sets correction of the input impedance inaccuracy. This correction is
turned on with probes with attenuation of 1:10 or higher.

3.3.14. SetMemorySize

Sets length of memory used for data acquisition.

void __stdcall __export SetMemorySize(int size);


Parameters:
size – length of memory used for data acquisition (valid values are: 1024, 2048, 4096,
8192, 16384, 32768, 65536, 131072, 262144, 524288 and 1048576)

Return value: -

3.3.15. SetCompensationGenerator

Turns compensation generator (square wave with frequency of 1.465kHz on the E
connector) on/off.

void __stdcall __export SetCompensationGenerator(int OnOff);

- 20 -

Advertising