navFormReceive (Functionblock) |
Top Previous Next |
navFormReceive returns information about a form that has been received from the navigation device.
Note that the received form is only valid after a "Form received" event is raised; the event will not be removed until the navFormReceiveDone function is called. A "Form received" event is raised when a custom form is submitted by the user on the navigation device.
To create custom forms, see navFormCreate, navFormUpload and navFormUploadFile.
Input: None.
Output: ready : BOOL
count : SINT The number of valid items available in the form.
ID : DINT The ID of the form that was received. This is the value that is specified in navFormCreate when the form was created.
version : DINT The version number of the received form.
submit_id : DINT An unique ID for the received form. When a custom form is submitted multiple times, this can be used for keeping track of each submission.
time : DINT The timestamp when the form was submitted.
Declaration: FUNCTION_BLOCK navFormReceive;
Example: INCLUDE rtcu.inc |