127
The sequence is formatted as follows:
Offset
Size (in 16
bit words)
Ident.
Name
Description
Sample
0
1
wFormat
Format.
0100: No carrier
0000: Use carrier
0000
1
1
wFreq
Carrier
frequency
The formula below is
used to calculate this
value.
005C
2
1
wOnce
Once size
The number of on/off
pairs in the sequence
that is sent only once
0000
3
1
wRepeat
Repeat size
The number of on/off
pairs in the repeating
sequence
0004
4
2*wOnce
aOnce
Once
sequence
The sequence that is
sent only once
N/A
4 +
2*wOnce
2*wRepeat
aRepeat
Repeat
sequence
The sequence that is
repeated
001C
09C4
0030
03CC
0030
03CC
0034
00D4
wFreq Calculation:
wFreq = 4.145146 * 10
6
/ Carrier_Freq
or
Carrier_Freq = 4.145146 * 10
6
/ wFreq
In the above example, the wFreq value was 005C (or 92 decimal). So, the carrier frequency would be
Carrier_Freq = 4.145146 * 10
6
/ 92 = 45 kHz
The data sequences consist of on/off timing pairs, and represent the number of cycles the emitter is turned on
and the number of cycles the emitter is turned off (The number of cycles is also known as the pulse width). In
the above example, the first pair is
001C:09C4
. This pair turns the emitter on for 28 (
001C
) cycles (or
28*(1/45000) sec = 0.622ms) and off for 2500 (
09C4
) cycles (2500*(1/45000) sec = 55ms).
IR_ListAllGroups ( )
IR_ListAllGroups ( )
IR_ListAllGroups ( )
IR_ListAllGroups ( )
Returns a string listing all groups.
Syntax
HRESULT IR_ListAllGroups(
[out, retval] BSTR* List
);