Shop OBEX P1 Docs P2 Docs Learn Events
Testing STAMP code — Parallax Forums

Testing STAMP code

TGTG Posts: 36
edited 2006-12-18 14:33 in BASIC Stamp
I know I can use a debug command to test the code. I want to send electrical signals in real time to the STAMP. I want to create a CSV file or similiar that contains two columns. The first column would be time and the second column would be the amount of pulses for that corresponding time. So the file is read by software and then outputs the signals in real time through the serial port or another port. I am sure someone has something that will do this. Anyone know?
Thanks

Comments

  • Roger PiersonRoger Pierson Posts: 62
    edited 2006-12-18 02:53
    Probably the simplest way to do this would be to write a custom Excel macro in VBA that calls the MScomm control to talk to the PC's serial port. You would load your CSV file into Excel (which does this easily) and your macro would grab its data from the Excel columns.

    As far as getting the Stamp to respond to the commands, I suppose you could use DEBUGIN to tell it to wait for instructions on the programming port, or use the standard SERIN command and work out the timing.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Roger Pierson
    Senior Electronics Technicain
    DTI Assoicates
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-12-18 08:20
    TG -

    Take a look at StampPlot and StampDAQ on the Parallax web site.

    Regards,

    bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • TGTG Posts: 36
    edited 2006-12-18 14:33
    Thanks guys
Sign In or Register to comment.