Write/Read
About Security Level

SecurityLevel Property


Description

Controls the display of frequency information on the PNA screen and printouts.

 VB Syntax

app.SecurityLevel value

Variable

(Type) - Description

app

An Application (object)

value

(enum NASecurityLevel) -Choose from:

0 - naNoSecurity  ALL frequency information is displayed.

1 - naLowSecurity  NO frequency information is displayed. Frequency information can be redisplayed using the Security Setting dialog box or this command.

2 - naHighSecurity  LOW setting plus GPIB console is disabled. Frequency information can be redisplayed ONLY by performing a Preset, recalling an instrument state with None or Low security settings, or using this command.

3 - naExtraSecurity  HIGH setting plus:

Return Type

Long Integer

Default

0 - None

Examples

app.SecurityLevel = naLowSecurity 'Write

level = app.SecurityLevel 'Read

C++ Syntax

HRESULT get_NASecurityLevel(tagNASecurityLevel *level);
HRESULT put_NASecurityLevel(tagNASecurityLevel level);

Interface

IApplication4