OBJECTS 

Object RFUSRAPP (DOS legacy)

Description

Download and run local application programs in the WS Client (DOS Only).
This feature allows to run programs locally (without RF connection) to capture data, and later upload the data to the host through RF network.
The local programs are downloaded form the Host PC into the PDT's volatile RAM disk (D:\USRAPP) and then save them into the permanent FLASH disk (E:\USRAPP) to be stored and to run them.
Saving and/or running local applications requires closing the current WS Server connection, exiting the WS Client program, saving the last downloaded files (if necessary) and launching the local applications.
Application data needed by local applications should be downloaded and uploaded from/to host by the RFTransferFile method of the RFFILE object.

Application files may be updated (downloaded only if relevant) from a source folder. A utility configurable demo program is shipped with the server.

Local application filenames in the client will be retrieved by the RF application.
The filenames, date, time and size are stored in an array to be accessed by the user application.

How To

List all application files in the client

Download and save applications

Download, save and run applications

Download applications only if needed, save (if necessary) and run

Set an application to be launched by the user from the main menu

Declaration

Public wsRfUstApp As New RFUSRAPP

Methods

Files Array
Application files transfer
Saving and launching applications
Application update
Errors
Reference

Files Array

ListAppFiles * Builds an extended filename array with the contents of the Client FLASH applications folder (E:\USRAPP).
AppFileCount The number of files in the filename array.
AppFileName The name of a file in the filename array.
AppFileSize The size of a file in the filename array.
AppFileDate The date of a file in the filename array.
AppFileTime The time of a file in the filename array.

Application files Transfer

TransferApp * Sends an application file to the Client RAM memory.

Saving and launching applications

SetExitApp * Sets the application to launch and user menu.
ExitToApp * Closes the RF connection and exits the client program to the user local application.

Application update

UpdateApp * High level function to conditionally download application files.

Errors

RFGetLastError Returns the status of WireLess Studio link.

Reference

AppFileCount The number of files in the filename array.
AppFileDate The date of a file in the filename array.
AppFileName The name of a file in the filename array.
AppFileSize The size of a file in the filename array.
AppFileTime The time of a file in the filename array.
ExitToApp * Closes the RF connection and exits the client program to the user local application.
ListAppFiles * Builds an extended filename array with the contents of the Client FLASH applications folder (E:\USRAPP).
RFGetLastError Returns the status of WireLess Studio link.
SetExitApp * Sets the application to launch.
TransferApp * Sends an application file to the Client RAM memory.
UpdateApp * High level function to conditionally download application files.