Comment on page
The 1-Command is used by the device to send commands to SPAD.neXt.
1,<SUBCOMMAND>,...;Reply: none or 2,ERROR
ADDinforms SPAD.neXt about a data value the device will provide. This data can be used in events or expressions like any simulation data in the SPAD.neXt UI.
Within SPAD.neXt the data will be available in Device->Devicename. Internally the Data is referenced as
Device Data is only available within the profile of the device.
SPAD.neXt will send data updates to the device and expect data using the given CHANNELID channel using the 5-Channel: 5,
1,ADD,11,pages//activepage,U8,RW,Active device page,My cool description,PERSIST=1;
creates a variable
DEVICE:VID/PID/pages/activepageavailable only within the deviceperofile of the device. outside of the deviceprofile this variable will always have the value 0
1,ADD,11,pages//activepage,U8,RW,Active device page;
creates a variable
LOCAL:VID/PID/SERIAL/pages/activepageavailable to all deviceprofiles within SPAD.neXt
DEVICE variables are persitent per connected devices and the values will be loaded and saved from/to the profile.
LOCAL variables will not be saved and default to 0
SUBSCRIBEwith subscribe the device to a data value from SPAD.neXt or the simulation
SPAD.neXt will send the subscribed data on the 5-Channel in the format
Example 1,SUBSCRIBE,12,SIMCONNECT:AUTOPILOT HEADING LOCK DIR
1,SUBSCRIBE,12,SIMCONNECT:AUTOPILOT HEADING LOCK DIR,radians 1,SUBSCRIBE,12,XPLANE:sim//cockpit//autopilot//heading_mag,,5
You can get the internal name of a data value, by selecting it in the data browser and pressing
CTRL-Cor clicking on "book"-icon in the data monitor. It will be copied to the clipboard
UNSUBSCRIBEwill unsubscribe from a previously subscribed data value Syntax:
EMULATEwill emulate an event from another device. (E.g. a dial turned on radio panel)
<TARGET_DEVICE>is either the internal id
<TARGET_SWITCH>is the internal name of the switch/dial/led etc (e.g. FIP_LEFTDIAL)
<TARGET_EVENT>is name of the event to emulate (e.g. TUNER_CLOCKWISE)
To get the TARGET_SWITCH and TARGET_EVENT you can program the event in the UI and then copy the complete event to the clipboard, pasting to a texteditor. The TARGET_SWITCH will be the "BOUNDTO" and the TARGET_EVENT the "Trigger"
Alternatively you can get a list of all devices and events at Settings->Application->Expert->Available Remote Events
Updates the labeltext of a input/led (DYNLABEL=1 !) or a label pseudo input
SPAD.neXt will send all currently subscribed data