INIT: ' Disable New Plot Macro Startup !RSET !NPSU OFF ' Start a new plot !NEWP !MACR .OBJECTS ' Set Queue size !QSIZ 8333 ' Set analog span !SPAN 0, 1000 ' Set max time !TMAX 120 ' Set number of samples !PNTS 1000 ' Shift left at max !SHFT ON ' Title plot !TITL == AVR INTERFACE == ' Flush old data !FLSH ON ' Set display information !DISP D9 G2 A0 S0 B15 R ' Reset the plot !RSET ' Enable plotting !PLOT ON ENDMAC OBJECTS: !POBJ Clear !PPER 80,80 !POBJ oBack=7 !POBJ oTimer0.C=!BSND [(S7)(S6)(S5)(S4)(S3)(S2)(S1)(S0),DAC] !POBJ oTImer0= 0.25 ' G1 -- OGAUGE ***** !POBJ oGauge.G1=81.,94.,8.,30.,0,1200,100,1100 '-- Event Code !POBJ G1.C=~PWAV gbell.wav ' G2 -- OGAUGE ***** !POBJ oGauge.G2=91.,94.,8.,30.,-300,300,-200,200 ' G3 -- OGAUGE ***** !POBJ oGauge.G3=81.,50.,8.,30.,0,100,0,100 ' G4 -- OGAUGE ***** !POBJ oGauge.G4=91.,50.,8.,30.,0,100,0,100 ' txtG1 -- OLABEL ***** !POBJ oLabel.txtG1=81.,98.,8.,4.,ADC 0,0,14,9,1 ' txtG2 -- OLABEL ***** !POBJ oLabel.txtG2=91.,98.,8.,4.,0,0,14,9,1 ' txtG3 -- OLABEL ***** !POBJ oLabel.txtG3=81.,54.,8.,4.,Gauge 3,0,14,9,1 ' txtG4 -- OLABEL ***** !POBJ oLabel.txtG4=91.,54.,8.,4.,Gauge 4,0,14,9,1 ' L0 -- OIMGBUT ***** !POBJ oImgBut.L0=73.,17.,4.,7.,comp\LED_red_0.jpg,0,comp\led_red_1.jpg,0 ' S0 -- OIMGBUT ***** !POBJ oImgBut.S0=73.,7.,4.,7.,comp\switch_0.jpg,0,comp\switch_1.jpg,0 '-- Event Code !POBJ S0.C=~IWAV stapler.wav ' txtL0 -- OLABEL ***** !POBJ oLabel.txtL0=70.,20.,10.,3.,LT 0,0,14,7,1 ' txtS1 -- OLABEL ***** !POBJ oLabel.txtS1=70.,10.,10.,3.,SW 0,0,14,7,1 ' L1 -- OIMGBUT ***** !POBJ oImgBut.L1=63.,17.,4.,7.,comp\LED_red_0.jpg,0,comp\led_red_1.jpg,0 ' S1 -- OIMGBUT ***** !POBJ oImgBut.S1=63.,7.,4.,7.,comp\switch_0.jpg,0,comp\switch_1.jpg,0 '-- Event Code !POBJ S1.C=~IWAV stapler.wav ' txtL1 -- OLABEL ***** !POBJ oLabel.txtL1=60.,20.,10.,3.,LT 1,0,14,7,1 ' txtS1 -- OLABEL ***** !POBJ oLabel.txtS1=60.,10.,10.,3.,SW 1,0,14,7,1 ' L2 -- OIMGBUT ***** !POBJ oImgBut.L2=53.,17.,4.,7.,comp\LED_red_0.jpg,0,comp\led_red_1.jpg,0 ' S2 -- OIMGBUT ***** !POBJ oImgBut.S2=53.,7.,4.,7.,comp\switch_0.jpg,0,comp\switch_1.jpg,1 '-- Event Code !POBJ S2.C=~IWAV stapler.wav ' txtL2 -- OLABEL ***** !POBJ oLabel.txtL2=50.,20.,10.,3.,LT 2,0,14,7,1 ' txtS1 -- OLABEL ***** !POBJ oLabel.txtS1=50.,10.,10.,3.,SW 2,0,14,7,1 ' L3 -- OIMGBUT ***** !POBJ oImgBut.L3=43.,17.,4.,7.,comp\LED_red_0.jpg,0,comp\led_red_1.jpg,0 ' S3 -- OIMGBUT ***** !POBJ oImgBut.S3=43.,7.,4.,7.,comp\switch_0.jpg,0,comp\switch_1.jpg,0 '-- Event Code !POBJ S3.C=~IWAV stapler.wav ' txtL3 -- OLABEL ***** !POBJ oLabel.txtL3=40.,20.,10.,3.,LT 3,0,14,7,1 ' txtS1 -- OLABEL ***** !POBJ oLabel.txtS1=40.,10.,10.,3.,SW 3,0,14,7,1 ' L4 -- OIMGBUT ***** !POBJ oImgBut.L4=33.,17.,4.,7.,comp\LED_red_0.jpg,0,comp\led_red_1.jpg,0 ' S4 -- OIMGBUT ***** !POBJ oImgBut.S4=33.,7.,4.,7.,comp\switch_0.jpg,0,comp\switch_1.jpg,0 '-- Event Code !POBJ S4.C=~IWAV stapler.wav ' txtL4 -- OLABEL ***** !POBJ oLabel.txtL4=30.,20.,10.,3.,LT 4,0,14,7,1 ' txtS1 -- OLABEL ***** !POBJ oLabel.txtS1=30.,10.,10.,3.,SW 4,0,14,7,1 ' L5 -- OIMGBUT ***** !POBJ oImgBut.L5=23.,17.,4.,7.,comp\LED_red_0.jpg,0,comp\led_red_1.jpg,1 ' S5 -- OIMGBUT ***** !POBJ oImgBut.S5=23.,7.,4.,7.,comp\switch_0.jpg,0,comp\switch_1.jpg,0 '-- Event Code !POBJ S5.C=~IWAV stapler.wav ' txtL5 -- OLABEL ***** !POBJ oLabel.txtL5=20.,20.,10.,3.,LT 5,0,14,7,1 ' txtS1 -- OLABEL ***** !POBJ oLabel.txtS1=20.,10.,10.,3.,SW 5,0,14,7,1 ' L6 -- OIMGBUT ***** !POBJ oImgBut.L6=13.,17.,4.,7.,comp\LED_red_0.jpg,0,comp\led_red_1.jpg,1 ' S6 -- OIMGBUT ***** !POBJ oImgBut.S6=13.,7.,4.,7.,comp\switch_0.jpg,0,comp\switch_1.jpg,0 '-- Event Code !POBJ S6.C=~IWAV stapler.wav ' txtL6 -- OLABEL ***** !POBJ oLabel.txtL6=10.,20.,10.,3.,LT 6,0,14,7,1 ' txtS1 -- OLABEL ***** !POBJ oLabel.txtS1=10.,10.,10.,3.,SW 6,0,14,7,1 ' L7 -- OIMGBUT ***** !POBJ oImgBut.L7=3.,17.,4.,7.,comp\LED_red_0.jpg,0,comp\led_red_1.jpg,1 ' S7 -- OIMGBUT ***** !POBJ oImgBut.S7=3.,7.,4.,7.,comp\switch_0.jpg,0,comp\switch_1.jpg,1 '-- Event Code !POBJ S7.C=~IWAV stapler.wav ' txtL7 -- OLABEL ***** !POBJ oLabel.txtL7=0.,20.,10.,3.,LT 7,0,14,7,1 ' txtS1 -- OLABEL ***** !POBJ oLabel.txtS1=0.,10.,10.,3.,SW 7,0,14,7,1 ENDMAC