Codecore Logo
Quick Search
»
Advanced Search »

Infrared Simulator Driver

RSS
This driver simulates a real infrared blaster and receiver and is helpful for demonstrating the system and viewing/designing touch screen interfaces when a real infrared blaster and receiver system is not available. If your Elve system came preconfigured with an instance of this driver in the device list, you will likely want to replace this with the appropriate device driver for your system.

Manufacturer: Codecore Technologies, LLC


Configuration Settings

  • IR Devices : (optional) The IR Devices associated with this device.

Events

Ready State Changed

The device's running and ready state changed.

Whenever Filter:

none

EventArgs:

  • Number NewValue : The new property value.
  • Number PreviousValue : The previous property value.

Received IR

Occurs when an infrared command is received.

Whenever Filter:

  • InfraredCommandName : (optional) The infrared device and infrared command name to filter on using the following format: irdevicename.ircommandname

EventArgs:

  • String IRCode : The received infrared code.

Instance Properties

DeviceDisplayName

The display name for this device.

Accessibility : Read Only

Type: String

DeviceStartTime

The date and time when this device was started.

Accessibility : Read Only

Type: DateTime

DeviceLifecycleStage

The current lifecycle stage of the device. The stages in order are: Pending Start, Starting, Running, Stopping

Accessibility : Read Only

Type: Number

DeviceIsRunningAndReady

Indicates if the device is ready for use, ie it is in the Running lifecycle stage and all properties are valid and all methods are ready to be used.

Accessibility : Read Only

Type: Boolean

Instance Methods

SendNativeIR ( String, Number )

Sends a native infrared command.

Syntax

void SendNativeIR( String nativeIRCodeSequence, Number sendCount )

Parameters

nativeIRCodeSequence : The native infrared command to send.
sendCount : The # of times to send the infrared command.

SendProntoIR ( String, Number )

Sends a Pronto CCF infrared command to all zones.

Syntax

void SendProntoIR( String prontoCcfIRCodeSequence, Number sendCount )

Parameters

prontoCcfIRCodeSequence : The Pronto CCF infrared command to send. This should be in the format XXXX XXXX XXXX...
sendCount : The # of times to send the infrared command.

SendProntoIR ( Number, String, Number )

Sends Pronto (CCF) infrared command.

Syntax

void SendProntoIR( Number zoneID, String prontoCcfIRCodeSequence, Number sendCount )

Parameters

zoneID : The zone to output the IR on. 0=All.
prontoCcfIRCodeSequence : The Pronto CCF infrared command to send. This should be in the format XXXX XXXX XXXX...
sendCount : The # of times to send the infrared command.

SetPropertyForDuration ( String, TimeSpan, Object, Object )

Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.

Syntax

void SetPropertyForDuration( String propertyName, unknown duration, Object initialValue, Object finalValue )

Parameters

propertyName : The name of the property to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.

SetPropertyForDuration ( String, Number, TimeSpan, Object, Object )

Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.

Syntax

void SetPropertyForDuration( String propertyName, Number arrayIndex, unknown duration, Object initialValue, Object finalValue )

Parameters

propertyName : The name of the property to set.
arrayIndex : The property's array index to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.

Privacy Policy | Conditions Of Use

Copyright ©2014 Codecore Technologies, All rights reserved.