beautypg.com

Setprobe, Setmemorysize, Setcompensationgenerator – Dataman 570 Series User Manual

Page 19

background image


Development kit for DATAMAN 570 series

Programmer’s Guide

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);


Parameters:
onoff – determines whether the compensation generator should be turned on/off

ONOFF_OFF – turns generator off

ONOFF_ON – turns generator on

- 19 -