Remarks
Commands are typically grouped together by device.
IR_SendData ( Port, Sequence, Data )
Converts the supplied Data to a valid IR command and sends the command out the specified IR port.
Syntax
HRESULT IR_SendData(
[in] long Port,
[in] long Sequence,
[in] BSTR DATA,
[out, retval] VARIANT_BOOL* Success
);
Parameters
Port
[in] Port number for the A/D converter. Valid values are 1, 2, 3, and 4.
Sequence
[in] Denotes which of the two sequences in the IR data stream should be output. Set to 1 to
output the “one time” stream, and 2 for the repeat stream.
DATA
[in] A string containing the IR data to send. The format is defined below.
Success
[out, retval] TRUE if data was successfully sent, FALSE if sending the data failed.
Remarks
Data should be formatted as a set of hex values that represent the pulse widths of the signal to be generated. For
example,
0000 005C 0000 0004 001C 09C4 0030 03CC 0030 03CC 0034 00D4
12