Flowcode Project File Parser

Ben Rowland 2019 (C) Matrix TSL


Target Device

SCADA.SCADA.WEBEXP

Constants

BOOL false     BOOL true    

Globals

SIGNED LONG RawValue    

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

SetDigit

Return:     VOID
Params:     SIGNED LONG Digit     BOOL ShowDP    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

SetOffColour

Return:     VOID
Params:     STRING Colour    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Prv_GetValFromDigit

Return:     SIGNED LONG
Params:     SIGNED LONG Digit     BOOL ShowDP    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Prv_Redraw

Return:     VOID
Vars:     SIGNED LONG bitmask     SIGNED LONG val    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Prv_SetDigit

Return:     VOID
Params:     SIGNED LONG Digit    
Vars:     SIGNED LONG iVal     STRING sVal     BOOL bShowDP    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

SetOnColour

Return:     VOID
Params:     STRING Colour    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Prv_SetDP

Return:     VOID
Params:     BOOL Enable    
Vars:     STRING val     SIGNED LONG iVal    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

SetRawValue

Return:     VOID
Params:     SIGNED LONG Value    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Prv_SetSegment

Return:     VOID
Params:     HANDLE hSegment     BOOL bValue    
Vars:     HANDLE objSegment     STRING sColour    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

PickerToHex

Return:     STRING
Params:     STRING Str    
Vars:     BYTE StrDiff     BYTE StrLen    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Ev_HtmlScriptHeader

Return:     UNSIGNED LONG
Params:     STRING CompID     STRING HeaderScript    
Vars:     SIGNED LONG iTemp     STRING sColour    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Ev_PropertyEx

Return:     UNSIGNED LONG
Params:     STRING Property     STRING Value    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Prv_RedrawSim

Return:     VOID
Vars:     SIGNED LONG bitmask     SIGNED LONG val    

Your browser does not support the HTML5 canvas tag.

SetDigit    /    SetOffColour    /    Prv_GetValFromDigit    /    Prv_Redraw    /    Prv_SetDigit    /    SetOnColour    /    Prv_SetDP    /    SetRawValue    /    Prv_SetSegment    /    PickerToHex    /    Ev_HtmlScriptHeader    /    Ev_PropertyEx    /    Prv_RedrawSim    /    Main

Main

Return:     VOID

Your browser does not support the HTML5 canvas tag.

Verison History

Version 0.6
12/09/19 BR - Created initial recursive parser
14/09/19 BR - Added support for disabled icons
18/09/19 BR - Fixed decision icon parsing
19/09/19 BR - Added switch icon support
23/09/19 BR - Fixed recursive loop spacing
27/09/19 BR - Further tweaked spacing and added Macro menu
30/09/19 BR - Improved all string spacing
01/10/19 BR - Improved While icon support