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()

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
Simulation Instrument Studio 1
Simulation Instrument Studio 1
fi_gauge_id = fi_gauge_add(address, type)
Add a Flight Illusion gauge.
No sample instrument calls this yet.
fi_gauge_add()

Simulation Instrument Studio 1
fi_gauge_prop_set(fi_gauge_id, prop_name, value)
Set a gauge property (e.g. needle position).
| Name | Description |
|---|---|
fi_gauge_id | Id returned by the call that created the object. |
prop_name | Property or object name. |
value | The value to write. |
No sample instrument calls this yet.
fi_gauge_prop_set(fi_gauge_id, prop_name, value)

Simulation Instrument Studio 1
fi_gauge_prop_subscribe(fi_gauge_id, prop_name, callback)
Subscribe to a gauge property.
| Name | Description |
|---|---|
fi_gauge_id | Id returned by the call that created the object. |
prop_name | Property or object name. |
callback | Function called when the value changes. |
No sample instrument calls this yet.
fi_gauge_prop_subscribe(fi_gauge_id, prop_name, function() end)

Simulation Instrument Studio 1
fi_gauge_command(fi_gauge_id, command_name)
Send a command to the gauge.
| Name | Description |
|---|---|
fi_gauge_id | Id returned by the call that created the object. |
command_name | Simulator command name. |
No sample instrument calls this yet.
fi_gauge_command(fi_gauge_id, "...")

Simulation Instrument Studio 1
fi_gauge_command_subscribe(fi_gauge_id, command_name, value)
Subscribe to a gauge command.
| Name | Description |
|---|---|
fi_gauge_id | Id returned by the call that created the object. |
command_name | Simulator command name. |
value | The value to write. |
No sample instrument calls this yet.
fi_gauge_command_subscribe(fi_gauge_id, "...", value)

Simulation Instrument Studio 1
fi_engine_cluster_id = fi_engine_cluster_add(type)
Add a Flight Illusion engine cluster.
No sample instrument calls this yet.
fi_engine_cluster_add()

Simulation Instrument Studio 1
fi_engine_cluster_prop_set(fi_engine_cluster_id, prop_name, value)
Set an engine cluster property.
| Name | Description |
|---|---|
fi_engine_cluster_id | Id returned by the call that created the object. |
prop_name | Property or object name. |
value | The value to write. |
No sample instrument calls this yet.
fi_engine_cluster_prop_set(fi_engine_cluster_id, prop_name, value)
