pipx40_getSubAttribute

 

VB

Function

pipx40_getSubAttribute (ByVal vi As Long, ByVal subUnit As Long, ByVal out As Boolean, ByVal attrCode As Long, ByRef attrValue As Long) As Long

C++

ViStatus

pipx40_getSubAttribute (ViSession vi, ViUInt32 subUnit, ViBoolean out, ViUInt32 attrCode, ViPUInt32 attrValue);

 

Parameter

I/O

Description

vi

in

Instrument handle

subUnit

in

Numeric variable indicating the sub-unit for which information is to be obtained

out

in

sub-unit function: 0 for INPUT (unsupported), 1 for OUTPUT

attrCode

in

A numeric code indicating the attribute to be queried - see below

attrValue

out

The value of the selected attribute

Return Value

0 = Successful operation. Negative values are error codes and positive values are warnings. To get a description of the error, pass the error code to pipx40_error_message.

Description

Obtains attributes describing the internal organisation of sub-units having auto-isolation and/or auto-loopthru features, to facilitate operation by pipx40_operateSwitch.

attrCode values

Value

Ident

Function

1

pipx40_SUB_ATTR_CHANNEL_SUBSWITCHES

Gets number of subswitches per logical channel (matrix crosspoint)

2

pipx40_SUB_ATTR_X_ISO_SUBSWITCHES

Gets number of subswitches per logical X-isolator

3

pipx40_SUB_ATTR_Y_ISO_SUBSWITCHES

Gets number of subswitches per logical Y-isolator

4

pipx40_SUB_ATTR_X_LOOPTHRU_SUBSWITCHES

Gets number of subswitches per logical X-loopthru

5

pipx40_SUB_ATTR_Y_LOOPTHRU_SUBSWITCHES

Gets number of subswitches per logical Y-loopthru

0x100

pipx40_SUB_ATTR_NUM_X_SEGMENTS

Gets number of X-axis segments

0x101

pipx40_SUB_ATTR_X_SEGMENT01_SIZE

Gets size of X-axis segment 1

0x102

pipx40_SUB_ATTR_X_SEGMENT02_SIZE

Gets size of X-axis segment 2

0x103

pipx40_SUB_ATTR_X_SEGMENT03_SIZE

Gets size of X-axis segment 3

0x104

pipx40_SUB_ATTR_X_SEGMENT04_SIZE

Gets size of X-axis segment 4

0x105

pipx40_SUB_ATTR_X_SEGMENT05_SIZE

Gets size of X-axis segment 5

0x106

pipx40_SUB_ATTR_X_SEGMENT06_SIZE

Gets size of X-axis segment 6

0x107

pipx40_SUB_ATTR_X_SEGMENT07_SIZE

Gets size of X-axis segment 7

0x108

pipx40_SUB_ATTR_X_SEGMENT08_SIZE

Gets size of X-axis segment 8

0x109

pipx40_SUB_ATTR_X_SEGMENT09_SIZE

Gets size of X-axis segment 9

0x10A

pipx40_SUB_ATTR_X_SEGMENT10_SIZE

Gets size of X-axis segment 10

0x10B

pipx40_SUB_ATTR_X_SEGMENT11_SIZE

Gets size of X-axis segment 11

0x10C

pipx40_SUB_ATTR_X_SEGMENT12_SIZE

Gets size of X-axis segment 12

0x200

pipx40_SUB_ATTR_NUM_Y_SEGMENTS

Gets number of Y-axis segments

0x201

pipx40_SUB_ATTR_Y_SEGMENT01_SIZE

Gets size of y-axis segment 1

0x202

pipx40_SUB_ATTR_Y_SEGMENT02_SIZE

Gets size of y-axis segment 2