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.

ELEMENTTYPEDESCRIPTION
endpointHEX BYTEEndpoint address for the corresponding Trigger In.
bitNUMBERBit to which this component addresses (0=LSB, 15=MSB).
labelTEXTLabel text, shown in the FrontPanel component list. (OPTIONAL)
soundfileFILENAMEFilename of a WAV file to be played upon triggering.  (OPTIONAL)

XML Example

<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)

Lua Scripting

This component doesn’t provide any scripting API. To customize its behavior you can use okTriggerScript and call okUI:PlaySound() from the associated function.