beautypg.com

Setcompensationgenerator, Setground, Setdigitalshielding – Dataman 570 Series User Manual

Page 20

background image


Development kit for DATAMAN 570 series

Programmer’s Guide


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.

Public Declare Sub SetCompensationGenerator Lib "m570drvdk.dll" (ByVal

OnOff As Long)

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

ONOFF_OFF – turns generator off

ONOFF_ON – turns generator on

Return value: -

3.3.16. SetGround

Grounds inputs on the selected channel.

Public Declare Sub SetGround Lib "m570drvdk.dll" (ByVal channel As Long,

ByVal OnOff As Long)

Parameters:

channel – determines channel

CHANNEL_A – channel A

CHANNEL_B – channel B

onoff – determines, whether the channel should be grounded

ONOFF_OFF – grounds channel

ONOFF_ON – disconnects channel from ground

Return value: -

3.3.17. SetDigitalShielding

Turns digital shielding on the selected channel on/off.

Public Declare Sub SetDigitalShielding Lib "m570drvdk.dll" (ByVal channel

As Long, ByVal OnOff As Long, ByVal level As Long)

Parametre:

channel – determines channel

CHANNEL_A – channel A

CHANNEL_B – channel B

onoff – determines whether the digital shielding will be turned on or off

ONOFF_OFF – turns the digital shielding off

- 20 -