beautypg.com

4 logging macro data – Measurement Computing Micro 488/EX rev.2.1 User Manual

Page 54

background image

Section 4

General Programming

4.12

4.4.4 Logging MACRO Data

The Micro488/EX includes a non-volatile LOG buffer. Data generated

during MACRO execution can be forced to this buffer rather than the serial
output buffer. Type the following…

LOG ON

DOMACRO 2

HELLO

After a period of approximately 10 seconds the Micro488/EX will respond
with…

Micro488/EX Revision 1.0 Copyright (C) 1988 IOtech
Inc.

Notice that the output from MACRO 2 which was previously displayed did
not appear. This data went into the LOG buffer. Type the following…

LOG MEMORY

The Micro488/EX will respond with the number of bytes in the LOG buffer
of…

54

Now type…

READ LOG

The Micro488/EX will respond data in the LOG buffer of…

3
12:00:00 PM
2
12:00:05 PM
1
12:00:10 PM
12:00:10 PM