pipx40_getSubCounts

ViStatus pipx40_getSubCounts (ViSession instrumentHandle, ViPUInt32 inputSubunits, ViPUInt32 outputSubunits);

Purpose

Obtains the number of input and output sub-units present on a card.
Sub-units are independently addressable functional blocks; all cards have at least one input or one output sub-unit.

Parameters

Input
Name Type Description
instrumentHandle ViSession

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

Output
Name Type Description
inputSubunits ViUInt32 (passed by reference)

Variable to receive the number of input sub-units available on the specified card.

outputSubunits ViUInt32 (passed by reference)

Variable to receive the number of output sub-units available on the specified card.

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