Difference between revisions of "Component: Webserver (EB023 v1) (E-blocks 1)"
From Flowcode Help
Jump to navigationJump to search| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
| − | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_WebServer_EB023-00-1_EB.fcfx FC_Comp_Source_WebServer_EB023-00-1_EB.fcfx] |
| − | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_WebServer_EB023-00-1_EB.fcfx FC_Comp_Source_WebServer_EB023-00-1_EB.fcfx] |
==Detailed description== | ==Detailed description== | ||
| Line 49: | Line 49: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
Latest revision as of 13:13, 7 February 2023
| Author | Matrix TSL |
| Version | 2.0 |
| Category | E-blocks 1 |
Contents
Webserver component
Webserver component designed to work with the NM7010A module from Wiznet, as used in the version 1 EB023 E-block. Provides a very simple interface to allow webpages to be hosted from hardware or simulation.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WebServer_EB023-00-1_EB.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_WebServer_EB023-00-1_EB.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
CheckSocketActivity
| CheckSocketActivity | |
| Checks for activity on the server socket and serves out the webpages to any requesting parties. | |
| Return | |
CreateServerSocket
| CreateServerSocket | |
| Creates a listening socket on the selected channel and port ready to accept incoming web page requests. | |
| Channel | |
| Port_Hi | |
| Port_Lo | |
| Return | |
GetInValue
| GetInValue | |
| Returns the string value of a Request parameter | |
| index | |
| Return | |
IncRxPtr
| IncRxPtr | |
| Channel | |
| Return | |
Initialise
Send_Embedded_HTML_Page1
| Send_Embedded_HTML_Page1 | |
| Return | |
Send_Embedded_HTML_Page2
| Send_Embedded_HTML_Page2 | |
| Return | |
Send_Embedded_HTML_Page3
| Send_Embedded_HTML_Page3 | |
| Return | |
Send_Embedded_HTML_Page4
| Send_Embedded_HTML_Page4 | |
| Return | |
SetOutValue
| SetOutValue | |
| Set the value of an outbound substitution string | |
| index | |
| value | |
| Return | |