Admin Production ni-theme
Current Publication

GetSleepPolicy

LabWindows/CVI

GetSleepPolicy

int GetSleepPolicy (void);

Purpose

Obtains the current sleep policy. Call SetSleepPolicy to set the current sleep policy.

Parameters

None.

Return Value

Name Type Description
sleepPolicy int The value of the current sleep policy.

Name Code Description
VAL_SLEEP_NONE 1 Never be put to sleep.
VAL_SLEEP_SOME 2 Be put to sleep for a short period.
VAL_SLEEP_MORE 3 Be put to sleep for a longer period.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later