ViStatus pipx40_setMaskPattern (ViSession instrumentHandle, ViUInt32 subunitNumber, unsigned long pattern[]);
    Sets a sub-unit's switch mask to the supplied bit-pattern.
    
    A '1' bit in the mask disables the corresponding channel for the functions pipx40_setChannelState, pipx40_setCrosspointState and pipx40_setChannelPattern.
    
| 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.
      | 
      
| pattern | unsigned long [] | 
     
    Array containing the mask pattern to be set for the chosen sub-unit.
      | 
      
| Name | Type | Description | 
| status | ViStatus | 
     
    A numeric code indicating the success or failure of the operation.
      | 
      
      Specialised Switching
      Pickering Interfaces PXI VISA
      Alphabetical Function Index
      Hierarchical Function Index