Write/Read
About Source Power

SourcePowerState Property


Description

Turns Source Power ON and OFF.

See note about source power state with instrument state save and recall.

 VB Syntax

app.SourcePowerState = state

Variable

(Type) - Description

app

An Application (object)

state

(boolean)

False - Turns Source Power OFF

True  - Turns Source Power ON

Return Type

Boolean

Default

True

Examples

app.SourcePowerState = True 'Write

pwr = app.SourcePowerState 'Read

C++ Syntax

HRESULT get_SourcePowerState(VARIANT_BOOL *pVal)
HRESULT put_SourcePowerState(VARIANT_BOOL newVal)

Interface

IApplication