Shop OBEX P1 Docs P2 Docs Learn Events
PLX-DAQ code for Swampie777 — Parallax Forums

PLX-DAQ code for Swampie777

ElectricAyeElectricAye Posts: 4,561
edited 2009-10-13 21:08 in Propeller 1
Hey Swampie777,

I've attached some code that (I think) used to work with my old PLX-DAQ.· Please be aware that this was some of the first code I ever played with when learning about the Propeller, and I haven't tested it recently, so I apologize if it has some errors.· But perhaps the comments will help you in trying out PLX-DAQ.

The program was supposed to read a couple of temperatures with a couple of digital thermometers and then record them into the Excel sheet.··

hope that helps,
Mark

Comments

  • swampie777swampie777 Posts: 33
    edited 2009-10-10 22:28
    Thanks muchly!!

    The current problem I have now is that the example code works just fine. My code with the PLX-DAQ commands in it blinks the receive light the correct number of times. unlike the example code, the transmit light never comes on and no data is transferred to the spreadsheet. I just received your code so I'll look through it before I comment futher.

    Thanks,

    Swampie777
  • swampie777swampie777 Posts: 33
    edited 2009-10-13 21:08
    I found the problem!

    ( and as usual, it is us!)

    I had a viewport command which was not commented out( vp.share) which was fighting the PLX-DAQ. Once the blinds were closed on the viewport, it worked great.

    The funny thing, there was device contention even though viewport was not running.

    Thanks,

    Swampie777
Sign In or Register to comment.