ViStatus pipx40_attenSetAttenuation (ViSession instrumentHandle, ViUInt32 subunitNumber, float attenuation);
Set a programmable attenuator's attenuation level.
| 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.
      | 
      
| attenuation | float | 
     The attenuation value to be set.  | 
      
| 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