CNiIviSwtchScan::ConfigureTrigger

Measurement Studio IVI

Class
CNiIviSwtchScan::
ConfigureTrigger()
Base ClassesData ItemsFunctionsGo to hierarchy chart    Prev page: ConfigureListNext page: Initiate    
Public Function Declared in:
NiIviSwtch.h

'Declaration' icon -- Shortcut to top of page. Declaration

inline void ConfigureTrigger(
    double scanDelay,
    long triggerInput,
    long scanAdvancedOutput);

'Description' icon -- Shortcut to top of page. Description

Configures the scan triggers for the scan list you establish with ConfigureList function.

Shortcut to top of page. Parameters

double scanDelay

The minimum amount of time in seconds that the switch module waits before it asserts the scan advanced output trigger after opening or closing the switch. The switch module always waits for debounce before asserting the trigger. Thus, the actual delay will always be the greater value of the settling time and the delay time. Due to different designs of switch modules, the actual time might be longer than either of these values.

This function sets the Delay property to the value you specify for this parameter.

long triggerInput

The source of the trigger for which the switch module waits when processing a scan list. When the trigger occurs, the switch module advances to the next entry in the scan list.

The following list includes valid values:

  • CNiIviSwtch::ImmediateTrigger - Immediate
  • CNiIviSwtch::ExternalTrigger - External
  • CNiIviSwtch::SoftwareTrigger - Software Trigger Func
  • CNiIviSwtch::Ttl0Trigger - PXI TRIG0 or VXI TTL0
  • CNiIviSwtch::Ttl1Trigger - PXI TRIG1 or VXI TTL1
  • CNiIviSwtch::Ttl2Trigger - PXI TRIG2 or VXI TTL2
  • CNiIviSwtch::Ttl3Trigger - PXI TRIG3 or VXI TTL3
  • CNiIviSwtch::Ttl4Trigger - PXI TRIG4 or VXI TTL4
  • CNiIviSwtch::Ttl5Trigger - PXI TRIG5 or VXI TTL5
  • CNiIviSwtch::Ttl6Trigger - PXI TRIG6 or VXI TTL6
  • CNiIviSwtch::Ttl7Trigger - PXI TRIG7 or VXI TTL7
  • CNiIviSwtch::Ecl0Trigger - VXI ECL0
  • CNiIviSwtch::Ecl1Trigger - VXI ECL1
  • CNiIviSwtch::PxiStarTrigger - PXI Star
  • CNiIviSwtch::Rtsi0Trigger - RTSI line 0
  • CNiIviSwtch::Rtsi1Trigger - RTSI line 1
  • CNiIviSwtch::Rtsi2Trigger - RTSI line 2
  • CNiIviSwtch::Rtsi3Trigger - RTSI line 3
  • CNiIviSwtch::Rtsi4Trigger - RTSI line 4
  • CNiIviSwtch::Rtsi5Trigger - RTSI line 5
  • CNiIviSwtch::Rtsi6Trigger - RTSI line 6

This function sets the Input property to the value you specify for this parameter.

long scanAdvancedOutput

The method to use to notify another instrument that all signals going through the switch module have settled following the processing of one entry in the scan list.

The following list includes valid values:

  • CNiIviSwtch::GpibSrqOutput - GPIB Service Request
  • CNiIviSwtch::NoOutput - External
  • CNiIviSwtch::ExternalOutput - No Trigger
  • CNiIviSwtch::Ttl0Output - PXI TRIG0 or VXI TTL0
  • CNiIviSwtch::Ttl1Output - PXI TRIG1 or VXI TTL1
  • CNiIviSwtch::Ttl2Output - PXI TRIG2 or VXI TTL2
  • CNiIviSwtch::Ttl3Output - PXI TRIG3 or VXI TTL3
  • CNiIviSwtch::Ttl4Output - PXI TRIG4 or VXI TTL4
  • CNiIviSwtch::Ttl5Output - PXI TRIG5 or VXI TTL5
  • CNiIviSwtch::Ttl6Output - PXI TRIG6 or VXI TTL6
  • CNiIviSwtch::Ttl7Output - PXI TRIG7 or VXI TTL7
  • CNiIviSwtch::Ecl0Output - VXI ECL0
  • CNiIviSwtch::Ecl1Output - VXI ECL1
  • CNiIviSwtch::PxiStarOutput - PXI Star
  • CNiIviSwtch::Rtsi0Output - RTSI line 0
  • CNiIviSwtch::Rtsi1Output - RTSI line 1
  • CNiIviSwtch::Rtsi2Output - RTSI line 2
  • CNiIviSwtch::Rtsi3Output - RTSI line 3
  • CNiIviSwtch::Rtsi4Output - RTSI line 4
  • CNiIviSwtch::Rtsi5Output - RTSI line 5
  • CNiIviSwtch::Rtsi6Output - RTSI line 6

This function sets the AdvancedOutput property to the value you specify for this parameter.

'See Also' icon -- Shortcut to top of page. See Also