pipx40_getClosureLimit

ViStatus pipx40_getClosureLimit (ViSession instrumentHandle, ViUInt32 subunitNumber, ViPUInt32 closureLimit);

Purpose

Obtains the sub-unit's closure limit. This is the maximum number of output channels that may be closed simultaneously. Many models allow closing all channels; restrictions generally apply only in high density matrix models to prevent overheating.

Parameters

Input
Name Type Description
instrumentHandle ViSession

Instrument handle obtained by the pipx40_init call used to open the card.

subunitNumber ViUInt32

The number of the sub-unit to access.
Valid Values:  1 thru the number of output sub-units
available on the chosen card

Output
Name Type Description
closureLimit ViUInt32 (passed by reference)

Variable to receive the sub-unit's closure limit.

Return Value

Name Type Description
status ViStatus

A numeric code indicating the success or failure of the operation.
VI_SUCCESS = Successful operation.
Negative values are error codes and positive values are warnings.
To get a description of an error, pass the error code to pipx40_error_message.

References

ID & Status
Pickering Interfaces PXI VISA
Alphabetical Function Index
Hierarchical Function Index