okTriggerSound (Trigger Out)
The okTriggerSound does not physically appear on a virtual panel. Instead, it is attached to the panel and is activated when a trigger out is activated. Upon activation, it rings the system bell as a brief audible notification of a trigger out event. An optional WAV file may be specified that will play instead of the system bell.
|endpoint||HEX BYTE||Endpoint address for the corresponding Trigger In.|
|bit||NUMBER||Bit to which this component addresses (0=LSB, 15=MSB).|
|label||TEXT||Label text, shown in the FrontPanel component list. (OPTIONAL)|
|soundfile||FILENAME||Filename of a WAV file to be played upon triggering. (OPTIONAL)|
<object class="okTriggerSound"> <endpoint>0x63</endpoint> <bit>3</bit> <label>Transfer complete trigger.</label> <soundfile>c:/Windows/Media/chimes.wav</soundfile> </object>Code language: HTML, XML (xml)
This component doesn’t provide any scripting API. To customize its behavior you can use
okTriggerScript and call
okUI:PlaySound() from the associated function.