beautypg.com

Constants used in the dk, Getdevicepointsperdivider, Gettimebases – Dataman 520 Series User Manual

Page 27: Constants, Valid values are, Channe, Channel

background image


Development kit for DATAMAN 520 series

Programmer’s Guide

Declaration:

Public Declare Function GetDeviceMemorySize Lib "VBDevKit52X.dll" ()

As Long

Parameters:
None

Return Value:

Memory size in samples count is returned.

GetDevicePointsPerDivider

Supported devices have different time bases. Due to various timebases, there is
different points per divider ratio. Use returned value to display data properly.

Declaration:

Public Declare Function GetDevicePointsPerDivider Lib "VBDevKit52X.dll"

() As Long

Parameters:
None

Return Value:

Points per divider ratio

GetTimeBases

Returns supported time base values.

Declaration:

Public Declare Function GetTimeBases Lib "VBDevKit52X.dll"

(TimeBaseField As Long) As Long

Parameters:
TimeBaseField

Field where valid time base values will be filled after device

initialization.

Return Value:

None


Example:

Dim TimeBaseField(32) As Long

RetVal = GetTimeBases(TimeBaseField(0))

3.8. Constants used in the DK


Channel descriptors
CHANNEL_A 100

- 27 -