Settings Profiles Commands & Queries

These commands are used to create, manage, and interact with settings profiles that exist locally on the instrument.

Note

PROFile:CREAte, PROFile:UPDate, and PROFile:RESTore are blocking commands that may take upwards of a minute to complete. During this time, the instrument will not respond to any other commands. You may append *OPC? immediately after these commands as a useful indicator of their completion. Appending any other command to the same command string before *OPC? may result in errors.

PROFile:CREAte Settings Profile Create Command

PROFile:CREAte <name>, <description>[term]

Parameters

Name

Type

Description

name

s

Unique name to give the profile.

description

s

Description of the profile.

Example

PROFile:CREAte "Profile 1", "My settings profile" creates a new profile named “Profile 1” with a description.

Remarks

Creates a new profile using the present instrument configuration. The profile name must be unique.

PROFile:DELete Settings Profile Delete Command

PROFile:DELete <name>[term]

Parameters

Name

Type

Description

name

s

The name of the profile to delete.

Example

PROFile:DELete "Profile 1" deletes the profile named “Profile 1”.

PROFile:DELete:ALL Delete All Settings Profiles Command

PROFile:DELete:ALL [term]

Example

PROFile:DELete:ALL deletes all saved profiles.

Remarks

This command will remove all profiles from the instrument. Use with caution.

PROFile:DESCription Settings Profile Description Set Command

PROFile:DESCription <name>, <description>[term]

Parameters

Name

Type

Description

name

s

Name of the profile to set the description.

description

s

The new description of the profile.

Example

PROFile:DESCription "Profile 1", "Updated description" updates the description of the profile named “Profile 1”.

Remarks

Any existing description will be overwritten.

PROFile:DESCription? Settings Profile Description Query

PROFile:DESCription? <name>[term]

Parameters

Name

Type

Description

name

s

Name of the profile to query the description for.

Returns

<description> [term]

Example

PROFile:DESCription? "Profile 1" returns the description of the profile named “Profile 1”.

PROFile:LIST? Settings Profiles List Query

PROFile:LIST? [term]

Returns

<name1>, <name2>, ... <nameN> [term]

Example

PROFile:LIST? returns a comma-separated list of all saved profile names.

PROFile:REName Settings Profile Rename Command

PROFile:REName <name>, <newName>[term]

Parameters

Name

Type

Description

name

s

The name of the profile to rename.

newName

s

The new name of the profile.

Example

PROFile:REName "Profile 1", "NewProfileName" renames the profile from “Profile 1” to “NewProfileName”.

Remarks

The original profile name must match an existing profile and the new name must be unique.

PROFile:RESTore Settings Profile Restore Command

PROFile:RESTore <name>[term]

Parameters

Name

Type

Description

name

s

The name of the profile to restore.

Example

PROFile:RESTore "Profile 1" restores the configuration from the profile named “Profile 1”.

Remarks

Restoring a profile will apply all saved settings from the profile to the instrument.

PROFile:RESTore[:VALid]? Settings Profile Validity Query

PROFile:RESTore[:VALid]? <name>[term]

Parameters

Name

Type

Description

name

s

The name of the profile to validate.

Returns

<valid> [term]

1 = profile is valid to restore, 0 = profile is invalid

Example

PROFile:RESTore:VALid? "Profile 1" returns 1 if the profile is valid, 0 if invalid.

Remarks

A profile may be invalid if it contains settings that are incompatible with the present instrument configuration.

PROFile:UPDate Settings Profile Update Command

PROFile:UPDate <name>[term]

Parameters

Name

Type

Description

name

s

The name of the profile to update.

Example

PROFile:UPDate "Profile 1" updates the profile named “Profile 1” with the present instrument configuration.

Remarks

Updates a profile with the present instrument configuration. This will overwrite all previously stored settings in the profile.

PROFile[:SUMMary]? Settings Profile Summary Query

PROFile[:SUMMary]? <name>[term]

Parameters

Name

Type

Description

name

s

The name of the profile to query.

Returns

<description>, <input E>, <input F>, <input G>, <input H>[term]

Example

PROFile:SUMMary? "Profile 1" returns the summary information for the profile named “Profile 1”.

Remarks

The summary includes the profile description and a list of the installed option card models as they were at the time the profile was created.