Roirtransmitter – BrightSign Object Reference Manual (FW 5.1) User Manual
Page 286

278
roIRTransmitter
This object supports sending arbitrary remote control Infrared remote control codes using the NEC, RC5, or PHC (Pronto
Hex Controls) protocols.
Object Creation: The roIRTransmitter is created with an associate array specifying the following:
•
destination: A string value indicating the connector that will be used to output the signal.
o "IR-out": The 3.5mm IR input connector (available on XD players) or 3.5mm IR input/output connector
(available on 4Kx42 and XDx32 models)
o "Iguana":
Note: System software will not prevent you from generating both an roIRTransmitter instance set to IR-out and an
roIRReceiver instance set to IR-in (i.e. configuring the 3.5mm IR connector for input and output at the same time).
However, input/output performance will not be reliable.
CreateObject("roIRTransmitter", config as roAssociativeArray)
Interfaces: ifIRTransmitter
The ifIRTransmitter interface provides the following:
•
GetFailureReason() As String
•
Send(protocol As String, code As Dynamic) As Boolean: Sends the specified code using the output
destination set during object creation. The system currently supports two IR transmission protocols: "NEC" and
"PHC" (
). This method returns True if the code was successfully transmitted, but there is no way
to determine from BrightScript if the controlled device actually received it.