Using DeBug Command
BJJohnson
Posts: 24
I am using the Debug command to log events from my BS2 to a PC.· I would like to time stamp the BS2 events using the PC clock if that is possible with Debug. Anyone know how I can do this?
Thanks Bob
Thanks Bob
Comments
http://www.parallax.com/html_pages/downloads/software/software_stampDAQ.asp
Jeff T.
DEBUG "DATA,TIME,Your Event text",CR
With StampPlot, simply enable saving of message data:
DEBUG "!SAVM ON",CR
Then, send your text:
DEBUG "your event text",CR
Always end with a CR, and don't start with a numeric value, @,!, or ~
When you've collected some, use the menu Logging-->Open message file.
You can also change the name of the message file via code:
DEBUG "!NAMM my_file.txt",CR
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
Thanks Bob·
When the DEBUG window is open, does it say COM1 for the port it is using? Whatever port number it is using is the one you'll want to use with StampDAQ. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Thanks Bob
Thanks,
Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
StampPlot - GUI and Plotting, and XBee Wireless Adapters
Southern Illinois University Carbondale, Electronic Systems Technologies
Thanks Again Bob