OASIS Command Reference

drvadd

Name

drvadd - Dynamically add an instrument driver to the driver list

Synopsis

drvadd <name> <function> <wake>

Description

drvadd adds the instrument driver called name to the driver list structure. The driver code is located at address function and has serial wakeup function wake. Not too useful, since the load command has not been implemented in OASIS3; but included for completeness.

name is a text string containing no whitespace. The string will appear in the driver list output from the drvparm command. function and wake are given in hexadecimal with no leading 0x.

drvadd automatically calls drvparm, which prompts for the driver parameters.

Example

Given instrument driver pco2 with driver function pco2_drv() at b400h and serial wake up function null_func() at c34fh:

drvadd pco2 b400 c34f