Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
Section 7: SCPI command reference
077114601 / March 2019
7-37
:BATTery[n]:MODel:SAVE:USB
This command saves a battery model to a USB flash drive.
Type
Affected by
Where saved
Default value
Command only
Not applicable
Not applicable
Not applicable
Usage
:BATTery[n]:MODel:SAVE:USB <modelindex>,<fileName>
[n]
Channel number: For single-channel instruments, the value is 1
<modelindex>
1 to 9
<fileName>
The name of the saved battery model can only be eight characters long
Details
You can save a battery model to a USB flash drive.
Make sure that the external USB flash drive is connected to the instrument properly before you send
this command. An unstable connection between the USB flash drive and the instrument causes error
520, "No USB flash drive found."
Example
:BATT:MOD:SAVE:USB 1,"myModel"
Save a battery model into the USB flash drive as
myModel
.
Also see
None
:BATTery[n]:SIMulator:CAPacity?
This command queries the real-time battery capacity of the battery simulator.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:BATTery[n]:SIMulator:CAPacity?
[n]
Channel number: For single-channel instruments, the value is 1
Example
:BATT:SIM:CAP?
The real-time battery capacity is displayed.
Also see
None