====== SPAD.neXt Gauge Extensions ====== Gauges loaded into SPAD.neXt have to match this schema:{{:gauges:gauge.xsd|}} SPAD.neXt is generally Saitek SaiSimFlightX compatible, but it has **NOT** implemented Saitek Bugs: Saitek gauges require a Non-Space-Character before a closing brace "}" e.g. in if{ statements:\\ ''if{ someexpression %} els{ someotherexpression %}''\\ SPAD.neXt does not support this. You will need to alter the gauge accordingly and remove the **%** ===== Extensions for Expressions ===== To access [[:lvar_support|LVAR]] use the prefix **L:**\\ (L:AB_MCP_AP_ON, Number) To access FSUIPC Offsets use the Prefix **F:** (F:0000:0AB2, Number) To access other simulation data use the prefix **T:SIMNAME:**\\ (T:PMDG737:1000:010E) or (T:PMDG737:Glareshield.Mode Control Panel.Altude) (T:SCS:scs/truck/fuel) (T:XPLANE:sim/cockpit2/annunciators/afterburner) ==== Local Variables access ==== **X:**VARNAME = Local var , will not be saved, will always be initialized to 0ยด when profile loaded\\ **G:**VARNAME = Local var, Value will be saved to the //GAUGE//, loaded to that value again when the gauge is loaded\\ **D:**VARNAME = Local var, Value will be saved to the //DEVICE//, loaded to that value again when the device is loaded\\ **P:**VARNAME = Local var , Value will be saved to the //PROFILE// , and loaded to that value when the profile is loaded \\ (Exception ''(P:SIMULATION RATE,Number)'' and ''(P:UNITS OF MEASURE,Number)'' still work as expected. ==== Additional Time-Variables ==== All time variables as shown [[https://msdn.microsoft.com/en-us/library/cc526981.aspx#EnvironmentData|here]] can be used with the "X:"-Prefix to retrieve the local computer time as UTC/Local.\\ To get the local computer hour you would use (X:LOCAL TIME,Hours) ==== Dynamic Images ==== The Image-Tag supports the following extensions for dynamically changing images:\\ * Attribute "Dynamic" * Sub-tag "Value" See: [[gauges:dynamic_images|Example for dynamic images]] ==== Dynamic Labels ==== In order to show numbers on the gauge, SPAD.neXt support an additional sub element: