Jump to content

Component: Sensor Library Component (Misc)

From Flowcode Help
Revision as of 14:42, 16 January 2023 by Wiki bot (talk | contribs)
Author MatrixTSL
Version 1.0
Category Misc


Sensor Library Component component

A simple library component designed to create a panel presence for any components that have a numerical value and associated slider, for example a sensor. Compatible with linking icons.

Component Source Code

Please click here for the component source code: FC_Comp_Source_SensorComponent.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Downloadable macro reference

GetValue
Gets the value of one of the Sliders / Text fields. 
- BYTE Index
Range: 0 to (Value Count - 1) 
- FLOAT Return


FlashRx
Flashes the receive icon for a set period of time. Automatically clears the icon once time period is up. 
- VOID Return


FlashTx
Flashes the transmit icon for a set period of time. Automatically clears the icon once time period is up. 
- VOID Return


GetLinkHandle
Gets the handle of the source object we are pointing to. Returns 0 for not valid. 
- BYTE Index
0=Source, 1=Reference 
- HANDLE Return


SetValue
Sets the value of one of the Sliders / Text fields. 
- BYTE Index
Range: 0 to (Value Count - 1) 
- FLOAT Value
 
- VOID Return


SetLinkHandle
Sets the handle of the source object we are pointing to.  
- BYTE Index
0=Source, 1=Reference 
- HANDLE Handle
 
- VOID Return


SetConsoleHandle
Sets the link to the component console allowing for click through and for panel console viewer linkage. 
- HANDLE Handle
 
- VOID Return



Property reference

Properties
Title
 
Peripheral
Text to display 
Show Comms Indicators
 
Source Icon
Input Icon
 
Reference Icon
Output Icon
 
LinkTo
 
Num Decimal Places
 
Value Count
 
Value 0
Label
 
MaxValue
 
MinValue
 
Major Tick
 
Minor Tick