## Phidget IR.lvlib:IR_CodeEventExe.vi

This event is fired every time a code is received and correctly decoded.

- The code is represented by a hexadecimal string (array of bytes) with a length of 1/4 of `bitCount`.
- The MSBit is considered to be the first bit received and will be in array index 0 of `code`
- Repeat will be true if a repeat is detected (either timing wise or via a repeat code)

- False repeasts can happen if two separate button presses happen close together

Device Support:

1055_0 (ver: 100, 101) IR Receiver Transmitter : Supported

| error in (no error) error in can accept error information wired from VIs previously called.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| Devices In A list of devices registered for the same type of event

| Device In Device # Identification

| Event Registration Refnum In Event # Identification

| error out error out passes error or warning information out of a VI to be used by other VIs.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source string describes the origin of the error or warning. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| Event? Returns TRUE if the event has executed, or FALSE otherwise.

| Devices Out Same as Devices In

| Device Out Same as Device In

| Index The index of the device that triggered the event within the Devices In array.

| phid Device # Identification of the device that triggered the event.

| Repeat 'true' if a repeat is detected

| Bit Count The length of the received code in bits

| Code The code string

| Event Registration Refnum Out Same as Event Registration Refnum In