OASIS Command ReferenceDrvparm, DP |
drvparm - Display status of OASIS drivers or view/set driver parameters
dp [<driver>]
drvparm [<driver>]
<driver> is the name of a driver, as it appears in the list of drivers displayed by issuing the dp command without arguments (not case sensitive).
When issued with no arguments, dp lists all of the installed OASIS drivers and their status. The status may be one of the following:
|
Status
|
Indicates
|
|
Off
|
Driver disabled. |
|
Sampling
|
Instrument is currently sampling or delayed. |
|
Pending
|
Instrument is waiting for serial port. |
|
<number>
|
Seconds remaining until the next scheduled sample. |
When issued with the optional driver name argument, dp lists the current settings for all driver parameters for the given driver and prompts the user for a number corresponding to one of the listed parameters. If a parameter number is entered, the user is shown the current value as a default and prompted for a new value. Once a new value is entered, the user is prompted again for another parameter number, etc. A timeout or entering carriage return ends the parameter editing session.
The timeout is included so that the mooring controller is not left waiting for user input when the packet radio link is interrupted. This timeout is fairly short (~30 s) and may expire before before the text from the OASIS response to the dp command is received when radio link quality is poor. A good strategy when setting driver parameters is to issue the dp command with the driver name, wait a few seconds, then enter the parameter number and new value even if the response text has not been returned. Always issue a second dp command to verify that the changes you have made have taken effect.
The driver parameters correspond to those set in drvr.h