ViStatus pipx40_getSubInfo (ViSession instrumentHandle, ViUInt32 subunitNumber, ViBoolean function, ViPUInt32 subunitType, ViPUInt32 rows, ViPUInt32 columns);
Obtains type and dimensional information for one of a card's sub-units (in numeric format).
Note: for programmable attenuator and power supply sub-units more specific information can be obtained using pipx40_attenGetInfo and pipx40_psuGetInfo respectively.
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.
|
function | ViBoolean |
Determines if the sub-unit for which information is to be obtained has Input or Output function.
|
Output | ||
Name | Type | Description |
subunitType | ViUInt32 (passed by reference) |
Variable to receive the numeric type code of the chosen sub-unit.
|
rows | ViUInt32 (passed by reference) |
Variable to receive the row-size (Y-dimension) of the chosen sub-unit.
|
columns | ViUInt32 (passed by reference) |
Variable to receive the column-size (X-dimension) of the chosen sub-unit.
|
Name | Type | Description |
status | ViStatus |
A numeric code indicating the success or failure of the operation.
|
ID & Status
Pickering Interfaces PXI VISA
Alphabetical Function Index
Hierarchical Function Index