BASIC Stamp, Infrared Sensor, PLX-DAQ
Hyun
Posts: 8
I've been building an IR beam break sensor using BASIC Stamp. The
system works fine for the Plot Lite program, but I am having a hard
time using PLX-DAQ as to what command to use. Here's what I use for
Plot Lite:
DO
HIGH 2
PAUSE 125
RCTIME 2, 1, time
DEBUG DEC5 time, CR
LOOP
And the input is hooked in Vss (third place from the right) and the output(?) is hooked to P2 on the board.
So, to my understanding, all i have to change is the DEBUG part. I was
told this command DEBUG "DATA, TIME,", Dec Val 1,","Dec Val2, CR but
it doesnt seem to work. Also Im not sure what to put down for "Val 1"
since it keeps saying it's invalid or something. Please let me know
what to do. If you can tell me the exact command to put in, I'll worship you forever. I appreciate your help!
Thanks,
HJ
system works fine for the Plot Lite program, but I am having a hard
time using PLX-DAQ as to what command to use. Here's what I use for
Plot Lite:
DO
HIGH 2
PAUSE 125
RCTIME 2, 1, time
DEBUG DEC5 time, CR
LOOP
And the input is hooked in Vss (third place from the right) and the output(?) is hooked to P2 on the board.
So, to my understanding, all i have to change is the DEBUG part. I was
told this command DEBUG "DATA, TIME,", Dec Val 1,","Dec Val2, CR but
it doesnt seem to work. Also Im not sure what to put down for "Val 1"
since it keeps saying it's invalid or something. Please let me know
what to do. If you can tell me the exact command to put in, I'll worship you forever. I appreciate your help!
Thanks,
HJ
Comments
The TIME in quotes will time-stamp your data as it arrives.
The DEC time will fill in your value of time into the next column.
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
SelmaWare Solutions - StampPlot GUI for controllers, XBee and Propeller Application Boards
Southern Illinois University Carbondale, Electronic Systems Technologies
American Technical Educator's Assoc. Conference·- April, Biloxi, MS. -- PROPELLER WORKSHOP!