EasyManuals Logo

Agilent Technologies 4294A Programming Manual

Agilent Technologies 4294A
518 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #159 background imageLoading...
Page #159 background image
Chapter 11 159
Using HP Instrument BASIC
Instrument BASIC Commands Specific to the Agilent 4294A
11. Using HP Instrument
2. Chapter Title 3. Chapter Title
4. Chapter Title
5. Chapter Title
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.111510608E+11) ! Indicates the date corresponding to
! 2.111510608E+11 Julian seconds.

Table of Contents

Other manuals for Agilent Technologies 4294A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 4294A and is the answer not in the manual?

Agilent Technologies 4294A Specifications

General IconGeneral
BrandAgilent Technologies
Model4294A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals