
Chapter 11
159
Using HP Instrument BASIC
Instrument BASIC Commands Specific to the Agilent 4294A
1
1
. Using
HP Instrument
2
. Cha
p
te
r T
itle
3
. Chap
te
r T
itle
4
. Chap
te
r T
itle
5. Chap
te
r T
itle
BASIC
Instrument BASIC Commands Specific to the Agilent 4294A
The commands given below are not carried on “HP Instrument BASIC Language
Reference” in
HP Instrument BASIC User's Handbook
, but they are available on HP
Instrument BASIC of the 4294A. They can be run both by use of the keyboard and within
programs. They, if used in a program, can be used in a single IF ... THEN .... line.
DATE
This function converts a date (day, month, year) into Julian seconds.
•
Examples of use
PRINT DATE("21 MAY 1991") ! Indicates Julian seconds
corresponding to May 21, 1991.
SET TIMEDATE DATE("1 Jan 1991") ! Sets 00:00 a.m. January 1, 1991
! in the real time clock.
Days=(DATE("1 JAN 1991")-DATE("11 NOV 1990")) DIV 86400 !
NOTE
Julian second is a value expressed in seconds counted since 00:00 a.m. November 24, 4713
B.C. to be used in the real time clock.
DATE$
This function converts Julian seconds into its corresponding date (day, month, year).
•
Examples of use
PRINT DATE$(TIMEDATE) ! Indicates the date set in the real time clock.
DISP DATE$(2.11111) ! Indicates the date corresponding to
! 2.11111 Julian seconds.
Содержание 4294A
Страница 4: ...4 ...
Страница 18: ...18 Contents ...
Страница 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Страница 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Страница 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Страница 130: ...130 Chapter9 Communication with External Equipment Using the I O Ports Sample Program to Use the I O Port ...
Страница 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Страница 246: ...246 13 Application Sample Programs File Transfer Function ...
Страница 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Страница 507: ...Index Index 507 Index ...
Страница 508: ...508 Index Index ...
Страница 509: ...Index Index 509 Index ...
Страница 510: ...510 Index Index ...
Страница 511: ...Index Index 511 Index ...
Страница 512: ...512 Index Index ...
Страница 513: ...Index Index 513 Index ...
Страница 514: ...514 Index Index ...
Страница 515: ...Index Index 515 Index ...
Страница 516: ...516 Index Index ...
Страница 517: ...Index Index 517 Index ...
Страница 518: ...518 Index Index ...