beautypg.com

Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 59

background image

Section 4

General Programming

4.17

MACRO 2
REMOTE 12/16

Visual indication that all is working

OUTPUT 12;F2R5X

Device Dependent Command for Device 12

OUTPUT 12;F0R4X

Device Dependent Command for Device 16

COMMENT 'Power Test'

Title

DATE FORMAT MONTH DD,YYYY
TIME FORMAT HH:MM
DATE

Date Stamp

COMMENT ' '

Blank Line

WAIT DAY SUNDAY

Wait until Sunday to begin test

WAIT TIME 12:30 AM

Wait until 12:30 AM

DOMACRO 1,100,600

Do #1, 100 times at 10 minute intervals

ENDM

Now, define the STARTUP MACRO as 2…

ON STARTUP DOMACRO 2

After the MACROs have been defined, power is removed from the

Micro488/EX and it is located at the site of the test equipment. Apply power
to the instruments first. After connecting the IEEE cables, apply power to the
Micro488/EX. It is always a good practice to provide some visual indication
that the STARTUP MACRO has executed. This is the reason for the REMOTE
command in MACRO 2.

It was not necessary to issue the LOG ON command within the

STARTUP

MACRO. STARTUP executes LOG ON prior to invoking the

STARTUP

MACRO.

After the data has been collected, the power is removed from the

Micro488/EX and returned to the local site. The data can now be READ from
the LOG buffer.