
565
When you replace a hardware component, zero out (or adequately edit) the
associated number of injections.
You can also save free-form text by creating entries with empty Value fields.
However, you then won't be able to use the programming interface to retrieve
information from such free-form lines.
NOTE: It is important that you keep this information current, as the copy of the
module information stored in the data files cannot be erased or edited. It may be
appropriate to include the updating of this information in your Standard Operating
Procedures.
Retrieving Information from Data Files
The module information is included in reports when the ‘Run Log’ option is
selected.
For Application Programmers only!
Additionally, a function call is available to application programmers needing to
write programs retrieving module information from run files. This function resides
in the WSMDIN32.DLL dynamic-link library, and its "C" prototype and calling
syntax are as follows:
int PASCAL GetRunInfoString
(
LPSTR lpRun, // File Specification for DATA File
WORD wAddress, // Module Address
LPSTR lpSection, // Section name
LPSTR lpItem, // Item name
LPSTR lpValue // Buffer for returned entry value
)
If the function is successful, it will return the length of the returned entry value.
If the function fails, it will return one of the following error codes:
-3 No info for this Module Address in the DATA file
-2 No such section
-1 No such item
Commands
Buttons
Button Description
Add When a section name is highlighted, this button opens the
Create New Section dialog box.
When an item is highlighted, this button opens the Create
New Entry dialog box.
Edit When a section name is highlighted, this button opens the
Rename Section dialog box.
When an item is highlighted, this button opens the Modify
Entry dialog box.
Delete The highlighted line will be deleted. The user is prompted to
Comentários a estes Manuais