Kt34400Trigger¶
Access interface members using:driver.triggerWheredriveris a reference to the driver’s root interface returned by the constructor.
- class Kt34400Trigger¶
Kt34400Triggerinterface.- configure(self: keysight_kt34400.keysight_kt34400.Kt34400Trigger, delay: datetime.timedelta, source: keysight_kt34400.keysight_kt34400.TriggerSource, count: int, sample_count: int, sample_interval: datetime.timedelta) None¶
Method to configure for multiple triggers.
- Parameters:
delay (datetime.timedelta) – Sets the delay, in seconds, between the trigger signal and the first measurement.
source (TriggerSource) – Sets the trigger source for measurements.
count (int) – Sets the number of triggers that will be accepted by the meter before returning to the ‘idle’ trigger state.
sample_count (int) – Sets the number of readings (samples) the meter will take per trigger.
sample_interval (datetime.timedelta) – Sets a sample interval, in seconds, for timed sampling when the sample count is greater than one.
- Returns:
None
- Remarks:
- Make sure that measurement function should be set before configuring the trigger.
- configure_single(self: keysight_kt34400.keysight_kt34400.Kt34400Trigger, delay: datetime.timedelta, source: keysight_kt34400.keysight_kt34400.TriggerSource) None¶
Method to configure single trigger.
- Parameters:
delay (datetime.timedelta) – Sets the delay, in seconds, between the trigger signal and the first measurement.
source (TriggerSource) – Sets the trigger source for measurements.
- Returns:
None
- Remarks:
-
- Make sure that measurement function should be set before configuring the trigger.
- When single trigger is configured, Kt34400.sample_count are set to 1.
- property count¶
Gets or sets the number of triggers that will be accepted by the meter before returning to the ‘idle’ trigger state.
- Access:
ReadWrite
- Type:
- Remarks:
-
- You can use this property in conjunction with a Kt34400.sample_count which selects the number of readings (samples) the meter will take per trigger.
- In this case, the total number of reading returned will be the product of the sample count and trigger count.
- Input range is from 1 trigger to 50,000 triggers.
- property delay¶
Gets or sets the delay, in seconds, between the trigger signal and the first measurement.
- Access:
ReadWrite
- Type:
- Remarks:
-
- This may be useful in applications where you want to allow the input to settle before taking a reading or for pacing a burst of readings. The programmed trigger delay overrides the default trigger delay that the instrument automatically adds.
- Input range is from 0 to 3600s.
- property delay_auto_enabled¶
Disables or enables the automatic trigger delay. If true, the instrument determines the delay based on function, range, and integration time or bandwidth.
- Access:
ReadWrite
- Type:
- Remarks:
- Selecting Delay property to specific trigger delay, sets this property to false. Preset value is True.
- property level¶
Sets the level on which a trigger occurs when level triggering is enabled.
- Access:
ReadWrite
- Type:
- property output_slope¶
Selects the slope of the voltmeter complete output signal on the source.
- Access:
ReadWrite
- Type:
- Remarks:
- Preset value is Slope.Negative.
- property pre_trigger_sample_count¶
Allows collection of the data being digitized before the trigger. Reserves memory for pretrigger samples up to the specified number of pretrigger samples.
- Access:
ReadWrite
- Type:
- property pre_trigger_sample_count_max¶
Read Only - Maximum PreTrigger Sample Count
- Access:
ReadOnly
- Type:
- property pre_trigger_sample_count_min¶
Read Only - Minimum PreTrigger Sample Count
- Access:
ReadOnly
- Type:
- property sample_count¶
Gets or sets the number of readings (samples) the meter will take per trigger.
- Access:
ReadWrite
- Type:
- Remarks:
-
- Input range is from 1 trigger to 50,000 triggers.
- property sample_interval¶
Gets or sets a sample interval, in seconds, for timed sampling when the sample count is greater than one. To start the process of data logging, user has to set the trigger source to external.
- Access:
ReadWrite
- Type:
- Remarks:
-
- Input range is from 50ms to 3600s.
- property sample_interval_max¶
The maximum value for sample interval given the multimeter’s current measurement configuration.
- Access:
ReadOnly
- Type:
- property sample_interval_min¶
The minimum value for sample interval given the multimeter’s current measurement configuration.
- Access:
ReadOnly
- Type:
- property sample_source¶
Determines sample timing, with Trigger.Delay and Trigger.SampleInterval properties to determine sample timing, when the sample count is greater than one.
- Access:
ReadWrite
- Type:
- set_count(self: keysight_kt34400.keysight_kt34400.Kt34400Trigger, count: keysight_kt34400.keysight_kt34400.TriggerCount) None¶
Sets the number of triggers that will be accepted by the meter before returning to the ‘idle’ trigger state.
- Parameters:
count (TriggerCount) - The trigger count
- Returns:
None
- property slope¶
Specifies whether the instrument uses the rising edge or the falling edge of the trigger signal on the source.
- Access:
ReadWrite
- Type:
- Remarks:
- The actual trigger event occurs on either the rising edge (if Slope.Positive is selected) or the falling edge (if Slope.Negative is selected) of the trigger signal. Preset value is Slope.Negative. Input range is Slope.Positive or Slope.Negative.
- property source¶
Sets or gets the trigger source for measurements.
- Access:
ReadWrite
- Type:
- Remarks:
-
- After setting this property, you must place the instrument in the "wait-for-trigger" state using the Kt34400.initiate. A trigger will not be accepted from the selected trigger source until the instrument is in the "wait-for-trigger" state. The Kt34400.initiate only initiates the measurement and needs a trigger (TriggerSource.Bus, TriggerSource.Immediate, or TriggerSource.External) to make the actual measurement.
- When this property is set as TriggerSource.Immediate, the trigger signal is always present. When you place the instrument in the "wait-for-trigger" state, the trigger is issued immediately.
- A Configure or Measure method overwrites the BUS trigger and sets this property to TriggerSource.Immediate.
