Component: Sensor Library Component (Misc)

From Flowcode Help
Jump to navigationJump to search
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.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples







Macro reference

FlashRx

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


FlashTx

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


GetLinkHandle

Fc9-comp-macro.png GetLinkHandle
Gets the handle of the source object we are pointing to. Returns 0 for not valid. 
Fc9-u8-icon.png - BYTE Index
0=Source, 1=Reference 
Fc9-h32-icon.png - HANDLE Return


GetValue

Fc9-comp-macro.png GetValue
Gets the value of one of the Sliders / Text fields. 
Fc9-u8-icon.png - BYTE Index
Range: 0 to (Value Count - 1) 
Fc9-f32-icon.png - FLOAT Return


SetConsoleHandle

Fc9-comp-macro.png SetConsoleHandle
Sets the link to the component console allowing for click through and for panel console viewer linkage. 
Fc9-h32-icon.png - HANDLE Handle
 
Fc9-void-icon.png - VOID Return


SetLinkHandle

Fc9-comp-macro.png SetLinkHandle
Sets the handle of the source object we are pointing to.  
Fc9-u8-icon.png - BYTE Index
0=Source, 1=Reference 
Fc9-h32-icon.png - HANDLE Handle
 
Fc9-void-icon.png - VOID Return


SetValue

Fc9-comp-macro.png SetValue
Sets the value of one of the Sliders / Text fields. 
Fc9-u8-icon.png - BYTE Index
Range: 0 to (Value Count - 1) 
Fc9-f32-icon.png - FLOAT Value
 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-type-11-icon.png Title
Component main title, shown in the middle of the library component. 
Fc9-type-11-icon.png Name
Handle name of the component, shown at the top of the library component. Automatically populated by the parent Rename event. 
Fc9-type-11-icon.png Peripheral
Peripheral name of the component, shown at the top of the library component. Automatically populated by the CAL hardware component layer. 
Fc9-type-7-icon.png Show Comms Indicators
 
Fc9-conn-icon.png Source Icon
Fc9-type-16-icon.png Input Icon
 
Fc9-conn-icon.png Reference Icon
Fc9-type-16-icon.png Output Icon
 
Fc9-type-16-icon.png LinkTo
 
Fc9-type-21-icon.png Num Decimal Places
 
Fc9-type-16-icon.png Value Count
 
Fc9-conn-icon.png Value 0
Fc9-type-11-icon.png Label
 
Fc9-type-15-icon.png MaxValue
 
Fc9-type-15-icon.png MinValue
 
Fc9-type-21-icon.png Major Tick
 
Fc9-type-15-icon.png Minor Tick
 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_SensorComponent.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_SensorComponent.fcfx