Measurement-computing Micro 488/EX rev.2.1 Instrukcja Użytkownika Strona 51

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 218
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 50
Section 4 General Programming
4.9
If it is desired to execute a MACRO more than the allowed 255 times,
another MACRO can be created to invoke the first. For example
MACRO 2
<return>
DOMACRO 1,200
<return>
DOMACRO 1,200
<return>
DOMACRO 1,200
<return>
ENDM
<return>
DOMACRO 2 <return>
will execute MACRO 1 a total of 600 (200+200+200) times while
DOMACRO 2,100 <return>
will execute MACRO 1 a total of 60000 (100*[200+200+200]) times.
An additional time interval specifier, in seconds, can be included with
the number of times specifier, to set a precise delay from the start of one
execution to the start of the next. Only one interval timer is provided.
Having two
MACRO
s trying to use it at the same time will cause a
TIMER
IN
USE
error. Type the following
MACRO 1 <return>
TIME
<return>
ENDM
<return>
MACRO 2 <return>
SET TIME 12:00 PM
<return>
DOMACRO 1,3,5
<return>
TIME
<return>
ENDM
<return>
DOMACRO 2
<return>
Przeglądanie stron 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 217 218

Komentarze do niniejszej Instrukcji

Brak uwag