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 #160 background imageLoading...
Page #160 background image
160 Chapter 11
Using HP Instrument BASIC
Instrument BASIC Commands Specific to the Agilent 4294A
READIO
This command reads the content of I/O ports.
Syntax: READIO(<numerical 1>,<numerical 2>)
• Example of use
Ioport=READIO(15,0) ! Assigns data in the 8-bit I/O port to
! the variable Ioport.
SET TIME
This statement changes nothing but the time set in the real time clock (internal clock).
• Examples of use
SET TIME TIME("22:00:30") ! Changes the time set in
! the real time clock to 22:00:30.
SET TIME Hours*3600+Minutes*60 ! Changes the time set in
! the real time clock to Hours:Minutes.
SET TIMEDATE
This statement changes Julian seconds set in the real time clock (internal clock).
• Example of use
SET TIMEDATE DATE("4 JAN 1993")+TIME("10:00:00") ! Set the real time
! clock to 10 a.m.
! January 4, 1993.
SET TIMEDATE TIMEDATE+86400 ! Sets the real time
! clock forward one day.
Parameter Description Range of setting
<numeric 1> Select code One of 15, and 16
15: 8-bit I/O port
16: 24-bit I/O port
<numeric 2> Register number With the select code set to 15: 0 only
With the select code set to 16: 2 to 4

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