GetAlarmBehavior(string, string)
- Updated2026-06-25
- 1 minute(s) read
Returns the behavior associated with an alarm on the pin on each site in the ISemiconductorModuleContext. Use the OverrideAlarmBehavior(string, string, AlarmBehavior) and RestoreAlarmBehavior(string, string) methods to change the behavior associated with an alarm on pins.
Syntax
Namespace: NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI
public AlarmBehavior[] GetAlarmBehavior(string pin, string alarmName)
Parameters
| Name | Type | Description |
|---|---|---|
| pin | string | The name of the pin for which to get alarm behavior. |
| alarmName | string | The name of the alarm for which to get alarm behavior. Use the AlarmNames class to specify the alarm name. |
Returns
The alarm behavior associated with the alarm on the pin for each site. The order of the array matches the site order in the ISemiconductorModuleContext.