Owner manual

10-33
IM MX190-01E
Functions for the DARWIN - Visual C/Visual Basic -
10
setPULSEDARWIN
Syntax
int setPULSEDARWIN(DAQDARWIN daqdarwin, int iRangePULSE, int
chType, int startChNo, int endChNo, int spanMin, int spanMax,
int scaleMin, int scaleMax, int scalePoint, int bFilter);
Declaration
Public Declare Function setPULSEDARWIN Lib "DAQDARWIN"(ByVal
daqdarwin As Long, ByVal iRangePULSE As Long, ByVal chType As
Long, ByVal startChNo As Long, ByVal endChNo As Long, ByVal
spanMin As Long, ByVal spanMax As Long, ByVal scaleMin As
Long, ByVal scaleMax As Long, ByVal scalePoint As Long, ByVal
bFilter As Long) As Long
Parameters
daqdarwin Specify the device descriptor.
iRangePULSE Specify the pulse range.
chType Specify the channel type.
startChNo Specify the start channel number.
endChNo Specify the end channel number.
spanMin Specify the left value of the span.
spanMax Specify the right value of the span.
scaleMin Specify the left value of the scale.
scaleMax Specify the right value of the scale.
scalePoint Specify the decimal point position for scaling.
bFilter Specify a filter using a boolean value.
Description
Sets the specified pulse range to the channels in the specified channel range
(specified by channel type, start channel number, and end channel number).
With the span and scale specification, if the left and right values are the same,
they are considered omitted.
This function executes the SR command of the DARWIN communication function.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQDARWIN::setPULSE
10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -