pipx40_getClosureLimit

 

VB

Function

pipx40_getClosureLimit (ByVal vi As Long, ByVal subUnit As Long, ByRef limit As Long) As Long

C++

ViStatus

pipx40_getClosureLimit (ViSession vi, ViUInt32 subUnit, ViPUInt32 limit);

 

Parameter

I/O

Description

vi

in

Instrument handle

subUnit

in

Numeric variable indicating the sub-unit for which information is to be obtained

limit

out

The maximum number of channel closures permitted

Return Value

0 = Successful operation. Negative values are error codes and positive values are warnings. To get a description of the error, pass the error code to pipx40_error_message.

Description

Obtains the maximum number of channels that may be activated simultaneously in the specified sub-unit.

Remarks

A single-channel multiplexer (MUX type) allows only one channel to be closed at any time. In some other models such as high-density matrix types a limit is imposed to prevent overheating; although it is possible to disable the limit for these types (see pipx40_setDriverMode), doing so is not recommended.