home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
e
/
easylx.zip
/
EXAMPLE2.SEQ
< prev
next >
Wrap
Text File
|
1991-09-26
|
2KB
|
62 lines
: EXAMPLE2
MESSAGE( 5 5 5 5 5
8 10
" sequence. The loop executes three times."
" to automate an acquisition, analysis, and graphics"
" This example sequence uses a DO LOOP structure"
" structures such as DO LOOPs and BEGIN UNTIL LOOPs."
" Easyest LX's capabilities include programming" 0 )
TEXT( 290 291 0 0 0
12 1
" Press any key to continue ..." 0 )
WAIT( 1000 1 0 )
CLR( 8 0 )
BEGIN( 0 )
A/D( 1 1 10000. 0 0
.00 .00 0 128 1
1 0 0 1 1
0 )
PLOT( 26 7 10 13 1
1 1 0 1 1
1 0 1 0 0
" *" 0 )
INTEGRATE( 26 0 0 )
PLOT( 28 7 9 14 1
1 1 0 1 1
1 0 1 0 0
" *" 0 )
TEXT( 270 180 0 0 0
14 1
" Integral" 0 )
TEXT( 245 44 0 0 0
13 1
" Collected Wave" 0 )
WAIT( 2000 0 0 )
LOOPTEST( 27. 1 3 3. 0
2 0 )
END( 0 )
PCX( 0 10 1
" FLOW1.PCX " 0 )
MESSAGE( 5 5 5 5 5
9 10
" is shown above."
" acquisition, analysis, and plotting loop"
" portion of this flow chart showing the"
" a flow chart for program documentation. The"
" We've clicked on the FLOW icon to generate" 0 )
TEXT( 259 297 0 0 0
12 1
" Press any key to continue ..." 0 )
WAIT( 1000 1 0 )
MESSAGE( 5 5 5 5 5
8 10
" "
" "
" Press any key to continue...."
" "
" Example Application Complete." 0 )
WAIT( 1000 1 0 )
CLR( 8 0 )
;