Agilent Technologies 4294A Service Manual Page 160

  • Download
  • Add to my manuals
  • Print
  • Page
    / 518
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 159
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
Page view 159
1 2 ... 155 156 157 158 159 160 161 162 163 164 165 ... 517 518

Comments to this Manuals

No comments