unsigned long PIPLX_SubInfo (long session, unsigned long cardNumber, unsigned long subunit, int output, unsigned long *type, unsigned long *rows, unsigned long *columns);
Obtains a description of a sub-unit, as numeric values.
Output sub-unit type codes are:
1 - TYPE_SW (uncommitted switch)
2 - TYPE_MUX (multiplexer single-channel)
3 - TYPE_MUXM (multiplexer, multi-channel)
4 - TYPE_MAT (matrix - LF)
5 - TYPE_MATR (matrix - RF)
6 - TYPE_DIG (digital outputs)
7 - TYPE_RES (programmable resistor)
8 - TYPE_ATTEN (programmable attenuator)
9 - TYPE_PSUDC (DC power supply)
Corresponding enumerated constants are provided in piplx_w32.h.
Input sub-unit type codes are:
1 - INPUT
Row and column values give the dimensions of the sub-unit. For all types other than matrices the column value contains the significant dimension: their row value is always '1'.
Input | ||
Name | Type | Description |
session | long |
Handle of current session. |
cardNumber | unsigned long |
Card number. |
subunit | unsigned long |
Subunit number. |
output | int |
TRUE = output subunit, FALSE = input subunit |
Output | ||
Name | Type | Description |
type | unsigned long (passed by reference) |
Type code |
rows | unsigned long (passed by reference) |
Rows count |
columns | unsigned long (passed by reference) |
Columns count |
Name | Type | Description |
return | unsigned long |
Zero for success, or no-zero error code. |
Info and status
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index