FDISK Commands (Set and query file operations)


Change the current directory.


Syntax


(Command)


:FDISK:CHDIR NO

NO<NR1>:File number(1 to ...)
If "1" is specified, the file or directory on the top will be selected.
Moves to the upper directory, if "-1" is specified.


Details


Changes the current directory to directory number NO on the current storage media.


Example


:FDISK:CHDIR 3
(Changes the current directory to directory number 3.)


Note


-


Usage
Conditions


All functions
When not measuring.




Delete a file or directory


Syntax


(Command)


:FDISK:DELEte NO

NO<NR1>:File or directory number(1 to ...)
If "1" is specified, the file or directory on the top will be selected.


Details


Deletes file or directory number NO.


Example


:FDISK:DELEte 1
(Deletes file (or directory) number 1.)


Note


-


Usage
Conditions


All functions
When not measuring




Query the current directory.


Syntax


(Query)


:FDISK:DIR?

(Response)

A$:Directory name


Details


Returns the name of the current directory on the storage media as a text string.


Example


:FDISK:DIR?
(response)  :FDISK:DIR "USB:/HIOKI_MR8880"   (when headers are enabled)


Note


-


Usage
Conditions


All functions
When not measuring.




Query the number of files and directories


Syntax


(Query)


:FDISK:FILE?

(Response)

A<NR1>:File number


Details


Returns the total number of files (including directories) within the current directory as an NR1 numerical value.


Example


:FDISK:FILE?
(response)  :FDISK:FILE 100  (when headers are enabled)


Note


The value that added the number of files and directories will be returned.


Usage
Conditions


All functions
When not measuring




Format storage media.


Syntax


(Command)


:FDISK:FORMat A$

A$:CF, USB


Details


Formats the storage media.

CF  CF card
USB  USB memory


Example


:FDISK:FORMAT CF


Note


-


Usage
Conditions


All functions
When not measuring




Query the number of available bytes.


Syntax


(Query)


:FDISK:FREE? (A$)

(Response)

B
A$:CF, USB
B<NR1>:Number of available bytes


Details


Vacant capacity of the media specified by A$ is returned as an NR1 numerical value.
If A$ is not specified, the vacant capacity of the currently selected media is returned
as an NR1 numerical value.


Example


:FDISK:MEDIA CF
(Select the CF card)

:FDISK:FREE?
(response)  :FDISK:FREE 63868928  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When not measuring




Query information about a file or a directory.


Syntax


(Query)


:FDISK:INFOr? NO

(Response)

NO,"NAME$","DATE$","TIME$",A,B$,C,D,"TDATE$, "TTIME$"

NO<NR1>:File or directory number(1 to ...)
If "1" is specified, the file or directory on the top will be selected.
NAME$:File or directory name
DATE$:Year/month/day of save
TIME$:Hour/min/sec of save
A<NR1>: File size(bytes)
B$:Function
C$:Measurement contents
D<NR1>:Recording length
TDATE$:Year/month/day of trigger
TTIME$:Hour/min/sec of trigger


Details


Returns information about file number NO.
If the file cannot be read, returns: NO,"NAME$","DATE$","TIME$",A,---.


Example


:FDISK:INFOr? 2
(response)  :FDISK:INFOR 2,"WAVE0001.MEM","10-11-04", "10:30:30",1010250,HISPEED,WAVE,100001,"10-11-04","10:25:25"   (when headers are enabled)


Note


For directories, returns the information up to TIME$.


Usage
Conditions


All functions




Load a file.


Syntax


(Command)


:FDISK:LOAD NO

NO<NR1>:File number(1 to ...)
If "1" is specified, the file or directory on the top will be selected.


Details


Loads the data from the file numbered NO.


Example


:FDISK:LOAD 5


Note


-


Usage
Conditions


All functions
When not measuring




Select or query the storage media type.


Syntax


(Command)
(Query)


:FDISK:MEDIA A$
:FDISK:MEDIA?

(Response)

A$
A$ CF, USB


Details


Selects the storage media type. Returns the current storage media type as a text string.

CF  CF card
USB  USB memory


Example


:FDISK:MEDIA USB
:FDISK:MEDIA?
(response)  :FDISK:MEDIA USB  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When not measuring




Query a file or directory name.


Syntax


(Query)


:FDISK:NINFor? NO

(Response)

NO,"NAME$",A$
NO<NR1>:File number(1 to ...)
If "1" is specified, the file or directory on the top will be selected.
NAME$:File name
A$:FILE, DIR


Details


Returns the name of file or directory number NO as a text string.

FILE  file
DIR  diectory


Example


:FDISK:NINFor? 1
(response)  :FDISK:NINFOR 2,"TEST.MEM",FILE  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When not measuring




Save.


Syntax


(Command)


:FDISK:SAVE "NAME$",A$(,B$)

NAME$:File name(Up to 8 characters)
A$:File kind
BIN:Binary file
TEXT:Text file
SET:Settings file
MEAS:Calculation result file
IMAGE:Screen image
RSV:Schedule
BDl:Setting List
B$:Thinning
OFF, 1_2, to 1_1000


Details


Save data in the format specified by A$.
B$ represents the thinning ratio if A$ is a TEXT file, and is OFF if not used.

When ' or ˜ are used in the path name, the following will result.

On the PC screen

˜,

˜˜

On the MR8880 screen

'

˜



Example


:FDISK:SAVE "SAVE",BIN
(Saves in a file specified by "SAVE" in binary form.)


Note


Certain numbers are automatically added to the specified file name
so that the total numbers of the characters of the file name can be 8 characters.
Example: FDISK:SAVE "SAVE",BIN
The file will be saved on the destination media as "SAVE0001.MEM".


Usage
Conditions


All functions
When not measuring




Select or query the sort key for the file list.


Syntax


(Command)
(Query)


:FDISK:STYPe A$
:FDISK:STYPe?

(Response)

A$
A$:NAME, TYPE, TIME, SIZE


Details


Sets the file list sort key (sort type).
Returns the file list sort key as a text string.

NAME  Name
TIME  Date
SIZE  Size
TYPE  Type


Example


:FDISK:STYPe SIZE
(Selects file list sorting according to size.)

:FDISK:STYPe?
(response)  :FDISK:STYPE SIZE  (when headers are enabled)
(when headers are enabled)


Note


-


Usage
Conditions


All functions
When not measuring




Set or query the sort order of the file list.


Syntax


(Command)
(Query)


:FDISK:SDIRection A$
:FDISK:SDIRection?

(Response)

A$
A$:UP, DOWN


Details


Sets the file list sort order (direction).
Returns the current file list sort order as a text string.

UP  (Ascending order)
DOWN  (Decending order)


Example


:FDISK:SDIRection UP
(Sorts the file list in ascending order.)

:FDISK:SDIRection?
(response)  :FDISK:SDIRECTION UP  (when headers are enabled)
(File list has been rearranged in ascending order.)


Note


-


Usage
Conditions


All functions
When not measuring