II
II
System  Commands  5
MISCELLANEOUS
DESCRIPTION
QUERY  SYNTAX
Response  format
EXAMPLE (GPIB)
DIRECTORY_LIST?,  DIR?
Query
Oscilloscopes  fitted  with  the  MC01 Option
The DIRECTORY_LIST? query  produces  a  directory  listing  of  the
memory card.  The response  consists  of  a  double-quoted  string
containing  a  DOS-like listing  of  the  directory.  If  no memory card
is  present,  or  if  it  is  not  formatted,  the  string  will  be empty.
DIRectory_list?
DIRectory_list?  "<directory>"
<directory> :=  a variable  length string  detailing  the  file  content  of
the  memory card.
The following  code asks  for  a listing  of  the  directory  of the  memory
card.
CMD$="DIR?":  CALL  IBWRT(SCOPE%,CMD$)
CALL IBRD  (SCOPE%,RSP$):  PRINT  RSP$
Response  message
DIR "
Memory card  of  25-JAN-1991  12:10:40
1  SC1  001  29-JAN-1991  16:33:06  20361
2  SC2  001  29-JAN-1991  16:34:32  20361
2 File(s)  84992 bytes  free
77