CNiIviScopeTriggerWidth::Configure

Measurement Studio IVI

Class
CNiIviScopeTriggerWidth::
Configure()
Base ClassesData ItemsFunctionsGo to hierarchy chart    Prev page: ThresholdLowNext page: CNiIviScopeTriggerWidth    
Public Function Declared in:
NiIviScope.h

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

inline void Configure(
    const CString &source,
    double level,
    double lowThreshold,
    double highThreshold,
    long polarity,
    long condition);

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

Configures the width trigger.

Shortcut to top of page. Parameters

const CString &source

Specifies the source the oscilloscope monitors for a trigger. Set this property to a channel name or to one of the values below.

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

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

double level

Specifies the voltage threshold in volts for the trigger subsystems.

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

double lowThreshold

Specifies the low width threshold time in seconds.

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

double highThreshold

Specifies the high width threshold time in seconds.

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

long polarity

Specifies the polarity of the pulse that triggers the oscilloscope.

The following list includes valid values:

  • CNiIviScope::WidthPositive - Trigger on a positive pulse.
  • CNiIviScope::WidthNegative - Trigger on a negative pulse.
  • CNiIviScope::WidthEither - Trigger on a positive or negative pulse.

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

long condition

Specifies whether a pulse that is inside or outside the high and low thresholds triggers the oscilloscope.

The following list includes valid values:

  • CNiIviScope::WidthWithin - Trigger on pulses with a width that is less than the high threshold and greater than the low threshold.
  • CNiIviScope::WidthOutside - Trigger on pulses with a width that is greater than the high threshold or less than the low threshold.

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

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