| Data Acquisition Toolbox | ![]() |
Specify the analog input channel serving as a hardware stop trigger source
Description
StopTriggerChannel defines the channel number to be used for the HwAnalog setting of the StopTriggerType property. The channel must be a member of the analog input channel list.
To associate a particular channel with the stop trigger, assign the channel's hardware ID number to the property. If you specify a channel object, then an error is returned.
Characteristics
| Vendor |
Keithley |
| Usage |
AI, Common |
| Access |
Read/write |
| Data Type |
Double |
| Read-only when running |
Yes |
Values
Any defined analog input channel. The default value is an empty vector.
Example
Create an analog input object for the Keithley KPCI-3108 board and add eight channels.
Stop the acquisition when a falling voltage level of 0.1 volt is detected on the hardware channel with ID 2.
ai.StopTriggerType='HwAnalog'; ai.StopTriggerChannel = 2; ai.StopTriggerCondition = 'Falling'; ai.StopTriggerConditionValue = 0.1;
Properties
StopTriggerCondition, StopTriggerConditionValue, StopTriggerDelay, StopTriggerDelayUnits, StopTriggerType
| StandardSampleRates | StopTriggerCondition | ![]() |