ViStatus pipx40_attenGetInfo (ViSession instrumentHandle, ViUInt32 subunitNumber, ViPUInt32 subunitType, ViPUInt32 steps, float *stepSize);
Obtains type and characteristic information for a programmable attenuator sub-unit, as numeric values.
| 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.
|
| Output | ||
| Name | Type | Description |
| subunitType | ViUInt32 (passed by reference) |
Variable to receive the numeric type code of the chosen programmable attenuator sub-unit.
|
| steps | ViUInt32 (passed by reference) |
Variable to receive the number of programmable attenuation steps. |
| stepSize | float (passed by reference) |
Variable to receive the size of each attenuation step, in dB. |
| Name | Type | Description |
| status | ViStatus |
A numeric code indicating the success or failure of the operation.
|
Programmable RF Attenuator
Pickering Interfaces PXI VISA
Alphabetical Function Index
Hierarchical Function Index