OASIS Command Reference

power

Name

power - display or set OASIS power bits

Synopsis

power [<32-bit hex mask>]

Description

The power command returns the current value of the 32 bit power mask indicating which instruments are currently receiving power from OASIS. A zero bit in the power-bit mask indicates that the corresponding instrument is not powered by OASIS. A one bit indicates that the corresponding instrument receives power from the OASIS battery; whether or not the instrument receives power only when sampling or continuously depends upon the value of the corresponding bit in the PwrPerm parameter (see the parm command).

The power-bit mask may be changed by issuing the power command with a new value for the mask; leading "0x " is not valid.

The power-bit assignments are made in drvr.h and may also be found in the roadmap for the controller can.

Example

Display Current Value of Power-Bit Mask:

power

Set Value of Power-Bit Mask to 0xA2F4:

power a2f4