AMX PC Presenter instruction manual Creating a buffer for keyboard input, SendCommands

Page 27

Programming the PC Presenter

Programmed keystrokes are not saved in permanent memory until program mode is exited.

Programming the PC Presenter for Use With an Axcess Central Controller

The PC Presenter can be connected to a Central Controller via AXlink, to control devices on the AXlink bus. The following sub-sections describe the Axcess commands for the PC Presenter.

Creating a buffer for keyboard input

To recognize keyboard keystrokes in an Axcess program, you must create a buffer for the device in Axcess. To create a buffer, use the CREATE_BUFFER keyword. This keyword can only be placed in the DEFINE_START section of your program. The syntax is shown below:

CREATE_BUFFER <DEVICE> <ARRAY>

PRGM EX. 15

Standard keystrokes fill the buffer as ASCII characters. Special characters come in as their embedded code equivalents as shown in the Send_Strings table on page 24 of this manual, in the Send_Strings subsection. For more information on using buffers, refer to the Axcess Programming Guide.

Send_Commands

Use the Send_Commands listed in the following table to program the Axcess Control System and the PC Presenter. Refer to the Axcess Programming Guide for additional programming information.

Send_Commands

Command

Description

 

 

'CLRM'

Clears permanent keystroke macro memory.

 

 

'DCODEOFF'

Disables AXlink Channel Codes from mouse disc.

 

 

'DCODEON'

Enables AXlink Channel Codes from mouse disc (default).

 

 

'IROFF'

Disables IR reception.

 

 

'IRON'

Enables IR reception (default).

 

 

'KBOFF'

Disables keystrokes from attached keyboard to PC.

 

 

'KBON'

Enables keystrokes from attached keyboard to PC (default).

 

 

'PMACRO<n>'

Invokes playback of keystroke macro for channel code n.

 

<n> = ASCII number from 1 to 255.

 

 

'MOUSEOFF'

Disables mouse control from TXC-MS(L) to PC.

 

 

'MOUSEON'

Enables mouse control from TXC-MS(L) to PC (default).

 

 

'MSPEED<S>'

Set speed of TXC-MS(L) mouse disc.

 

<s> = ASCII number from 1 to 16 (default = 4)

 

 

'P<n>R<s>'

Set speed number n to value s (for AXlink channel mouse control).

 

<n> = ASCII '1' or '2'

 

<s> = ASCII number from 0 to 255

 

 

PC Presenter

23

 

 

 

 

Image 27
Contents PC Presenter AMX Limited Warranty and Disclaimer Table of Contents Programming Transmitter Pushbuttons PC Presenter transmitter and receiver units IntroductionTXC-MSL Transmitter TXC-MSL SpecificationsTrigger switch TXC-MSL controlsTXC-MSL mouse controls AXR-MSE Wireless Mouse and Keyboard Controller AXR-MSE SpecificationsFront Panel Keyboard IN/OUT Rear PanelIntroduction Pre-Installation Setting the TXC-MSL transmitter DIP switchIR and RF Settings Radio Code Settings Setting radio codesRadio codes DIP switch positions Channel code ranges From TXC-MSL pushbutton configuration Setting the Device DIP switchUsing the PC Presenter Without a PC Computer Device DIP switch positions and valuesPosition SW3 SW2 Wiring Requirements Setting Mouse ModeWire size Wiring guidelinesWiring Guidelines Preparing captive wiresPre-Installation Connecting the AXR-MSE to the PC mouse and PC Installing the PC PresenterInstalling the PC Presenter for Stand Alone Operation Connecting the AXR-MSE to the PC keyboard and PCInstalling the PC Presenter for AXlink Operation Using AXlink for data and powerAXlink data and 12 VDC power supply connections LED indicators Installing the PC Presenter Programming the PC Presenter in Stand Alone Mode Using PC Presenter CommandsProgramming the PC Presenter List commands Help Clear memoryShort form listing of keycodes Display version and copyright info Programming Transmitter PushbuttonsDisplay available memory Long form list of stored keycodesExiting program mode SendCommands SendCommandsCreating a buffer for keyboard input TXIDn SendStringsSendStrings RMACROn-sMouse Control Channels Mouse Control ChannelsChannel Direction Speed Using Levels OLDesign main window with example TXC-MS overlay Using the OLDesign Engraving ProgramUsing the OLDesign Engraving Program Replacing the batteries TXC-MSL Battery ReplacementAMX reserves