Owner manual
5-38 IM MX190-01E
runBalanceMX
Syntax
int runBalanceMX(DAQMX daqmx, MXBalanceData * pMXBalanceData,
MXBalanceResult * pMXBalanceResult);
Declaration
Public Declare Function runBalanceMX Lib "DAQMX"(ByVal daqmx
As Long, ByRef pMXBalanceData As MXBalanceData, ByRef
pMXBalanceResult As MXBalanceResult) As Long
Parameters
daqmx Specify the device descriptor.
pMXBalanceData Specify initial balance data.
pMXBalanceResult Specify the destination where the initial balance result is to
be returned.
Description
Executes initial balancing.
• Executed on channels whose initial balance data items are set to Valid.
• The initial balance value is returned to the initial balance data. Also, the channel-
by-channel initial balance results are returned to the specified return destination.
When this occurs, only the data from channels whose initial balance data items
are set to Valid is overwritten.
• The response to this function may take five seconds or longer.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQMX::runBalance
CDAQMXBalanceResult::getMXBalanceData
CDAQMXBalanceResult::getMXBalanceResult
5.1 Details of Functions - MX100 (Visual C/Visual Basic) -