home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / fluke13.zip / SINGLE.MAC < prev    next >
Text File  |  1995-06-14  |  540b  |  12 lines

  1. : single.mac
  2. : script to automatically wait for a single shot event and download it
  3. : will then rearm meter and wait for next event.  Do this 10 times
  4. loop
  5. read 7                  read the peak to peak voltage
  6. ifgoto 0 0 -1           a -1 code will not update the counter
  7. beep                    voltage was greater than zero
  8. copy a datestamp        get the waveform
  9. copy null a             TRICK: rewrite the waveform to all zeros
  10. arm                     rearm the meter
  11. ifnotgoto 1 -1 10       unconditionally do this 10 times
  12.