Simulation Instruments

Flight Illusion gauges

Properties and commands depend on the gauge address. fi_gauge_add takes that address. fi_gauge_prop_set and fi_gauge_command use the names that gauge accepts.

Home›All functions›Flight Illusion

Flight Illusion

Simulation Instrument Studio 1

fi_gauge_add

Simulation Instrument Studio 1

Definition

fi_gauge_id = fi_gauge_add(address, type)

Remarks

Add a Flight Illusion gauge.

Example

No sample instrument calls this yet.

fi_gauge_add()
Photo slot: shots/fi_gauge_add.png

fi_gauge_prop_set

Simulation Instrument Studio 1

Definition

fi_gauge_prop_set(fi_gauge_id, prop_name, value)

Remarks

Set a gauge property (e.g. needle position).

Parameters

NameDescription
fi_gauge_idId returned by the call that created the object.
prop_nameProperty or object name.
valueThe value to write.

Example

No sample instrument calls this yet.

fi_gauge_prop_set(fi_gauge_id, prop_name, value)
Photo slot: shots/fi_gauge_prop_set.png

fi_gauge_prop_subscribe

Simulation Instrument Studio 1

Definition

fi_gauge_prop_subscribe(fi_gauge_id, prop_name, callback)

Remarks

Subscribe to a gauge property.

Parameters

NameDescription
fi_gauge_idId returned by the call that created the object.
prop_nameProperty or object name.
callbackFunction called when the value changes.

Example

No sample instrument calls this yet.

fi_gauge_prop_subscribe(fi_gauge_id, prop_name, function() end)
Photo slot: shots/fi_gauge_prop_subscribe.png

fi_gauge_command

Simulation Instrument Studio 1

Definition

fi_gauge_command(fi_gauge_id, command_name)

Remarks

Send a command to the gauge.

Parameters

NameDescription
fi_gauge_idId returned by the call that created the object.
command_nameSimulator command name.

Example

No sample instrument calls this yet.

fi_gauge_command(fi_gauge_id, "...")
Photo slot: shots/fi_gauge_command.png

fi_gauge_command_subscribe

Simulation Instrument Studio 1

Definition

fi_gauge_command_subscribe(fi_gauge_id, command_name, value)

Remarks

Subscribe to a gauge command.

Parameters

NameDescription
fi_gauge_idId returned by the call that created the object.
command_nameSimulator command name.
valueThe value to write.

Example

No sample instrument calls this yet.

fi_gauge_command_subscribe(fi_gauge_id, "...", value)
Photo slot: shots/fi_gauge_command_subscribe.png

fi_engine_cluster_add

Simulation Instrument Studio 1

Definition

fi_engine_cluster_id = fi_engine_cluster_add(type)

Remarks

Add a Flight Illusion engine cluster.

Example

No sample instrument calls this yet.

fi_engine_cluster_add()
Photo slot: shots/fi_engine_cluster_add.png

fi_engine_cluster_prop_set

Simulation Instrument Studio 1

Definition

fi_engine_cluster_prop_set(fi_engine_cluster_id, prop_name, value)

Remarks

Set an engine cluster property.

Parameters

NameDescription
fi_engine_cluster_idId returned by the call that created the object.
prop_nameProperty or object name.
valueThe value to write.

Example

No sample instrument calls this yet.

fi_engine_cluster_prop_set(fi_engine_cluster_id, prop_name, value)
Photo slot: shots/fi_engine_cluster_prop_set.png