Owner manual

5-3
IM MX190-01E
Functions for the MX100 (Visual C/Visual Basic)
5
changeAOPWMDataMX
Syntax
int changeAOPWMDataMX(MXAOPWMData * pMXAOPWMData, int aopwmNo,
int bValid, int iAOPWMValue);
Declaration
Public Declare Function changeAOPWMDataMX Lib "DAQMX"(ByRef
pMXAOPWMData As MXAOPWMData, ByVal aopwmNo As Long, ByVal
bValid As Long, ByVal iAOPWMValue As Long) As Long
Parameters
cMXAOPWMData Specify AO/PWM data.
aopwmNo Specify the AO/PWM data number.
bValid Specify the boolean value.
iAOPWMValue Specify the output data value.
Description
Changes the data of the specified AO/PWM data.
If the constant for “Specify all AO/PWM numbers” is specified for the AO data
numbers, all AO data are changed.
If the AO/PWM data number is outside of the range and invalid, the specification
is discarded.
The output data specifies the changed value of the actually output value.
Completes normally.
Return value
Returns an error number.
Reference
CDAQMXAOPWMData::getMXAOPWMData
CDAQMXAOPWMData::setAOPWM
5.1 Details of Functions - MX100 (Visual C/Visual Basic) -