unsigned long PIPLX_SubAttribute (long session, unsigned long cardNumber, unsigned long subunit, int output, unsigned long attrCode, unsigned long *attributeValue);
Obtains the value of a sub-unit attribute. These values facilitate operation using PIPLX_OpSwitch.
AttrCode:
1 - SUB_ATTR_CHANNEL_SUBSWITCHES - Gets number of subswitches per logical channel (matrix crosspoint)
2 - SUB_ATTR_X_ISO_SUBSWITCHES - Gets number of subswitches per logical X-isolator
3 - SUB_ATTR_Y_ISO_SUBSWITCHES - Gets number of subswitches per logical Y-isolator
4 - SUB_ATTR_X_LOOPTHRU_SUBSWITCHES - Gets number of subswitches per logical X-loopthru
5 - SUB_ATTR_Y_LOOPTHRU_SUBSWITCHES - Gets number of subswitches per logical Y-loopthru
0x100 - SUB_ATTR_NUM_X_SEGMENTS - Gets number of X-axis segments
0x101 - SUB_ATTR_X_SEGMENT01_SIZE - Gets size of X-axis segment 1
0x102 - SUB_ATTR_X_SEGMENT02_SIZE - Gets size of X-axis segment 2
0x103 - SUB_ATTR_X_SEGMENT03_SIZE - Gets size of X-axis segment 3
0x104 - SUB_ATTR_X_SEGMENT04_SIZE - Gets size of X-axis segment 4
0x105 - SUB_ATTR_X_SEGMENT05_SIZE - Gets size of X-axis segment 5
0x106 - SUB_ATTR_X_SEGMENT06_SIZE - Gets size of X-axis segment 6
0x107 - SUB_ATTR_X_SEGMENT07_SIZE - Gets size of X-axis segment 7
0x108 - SUB_ATTR_X_SEGMENT08_SIZE - Gets size of X-axis segment 8
0x109 - SUB_ATTR_X_SEGMENT09_SIZE - Gets size of X-axis segment 9
0x10A - SUB_ATTR_X_SEGMENT10_SIZE - Gets size of X-axis segment 10
0x10B - SUB_ATTR_X_SEGMENT11_SIZE - Gets size of X-axis segment 11
0x10C - SUB_ATTR_X_SEGMENT12_SIZE - Gets size of X-axis segment 12
0x200 - SUB_ATTR_NUM_Y_SEGMENTS - Gets number of Y-axis segments
0x201 - SUB_ATTR_Y_SEGMENT01_SIZE - Gets size of y-axis segment 1
0x202 - SUB_ATTR_Y_SEGMENT02_SIZE - Gets size of y-axis segment 2
Input | ||
Name | Type | Description |
session | long |
Handle of current session. |
cardNumber | unsigned long |
Card number. |
subunit | unsigned long |
Number of subunit. |
output | int |
Sub-unit function: 0for INPUT, 1 for OUTPUT. |
attrCode | unsigned long |
A value indicating the sub-unit attribute to be queried, see below. |
Output | ||
Name | Type | Description |
attributeValue | unsigned long (passed by reference) |
Pointer to variable to receive the attribute's value. |
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