Testing updated Shepard DAQ code in preparation for Wed morning meeting with CCSSC

Added by J. Simmons over 10 years ago

We are meeting with Matt from CCSSC in the morning, so Jeremy asked me to load up the recent changes to the Arduino source code and the Processing desktop application source code and see if everything was working on the live test stand. I have mixed news to report from my short testing (I have not conducted a motor firing because Jeremy did not feel the need for one at this time and I ran into a couple of snags that really mean I can't at the moment).

Good News

  • Arduino code compiled and loaded onto Shepard from Win7 64bit using Arduino IDE v1.0.5
  • Desktop application compiled and ran on Win7 64bit using 32bit Processing v2.0.3
  • Desktop application correctly detects COM ports and when user selects the correct COM port, the application finds and reads values from the test stand

Bad News

  • Current calibration appears to be way off, with no load the test stand reads around 3N
  • Calibration tool does not run (guessing this has not been updated to work with the latest and greatest Arduino code)
  • Desktop application crashes when I try to demo recording data (get an index out of bounds error on csv file write)

Thoughts? I realize we are moving to Java for the desktop application, but if CCSSC is going to stay with Processing for a while, I think we need to get rid of the crash and get the calibration tool working again. As things stand now, I cannot actually run motor tests, and if CCSSC winds up in the same place, then I think we will have a problem.


Replies (6)

RE: Testing updated Shepard DAQ code in preparation for Wed morning meeting with CCSSC - Added by J. Simmons over 10 years ago

<professor farnsworth voice>Good news, everyone!</professor farnsworth voice>

I still remember how to hack code. ;) I just got the calibration utility back up and running (I will commit my code changes shortly - no judging, I just copied over changes from the main daq interface until the UI launched again). About to run a calibration and then get the main app updated with the new equation.

RE: Testing updated Shepard DAQ code in preparation for Wed morning meeting with CCSSC - Added by J. Simmons over 10 years ago

Calibration complete. All bad news seems to have been resolved by updating the calibration equation.

RE: Testing updated Shepard DAQ code in preparation for Wed morning meeting with CCSSC - Added by Jeremy Wright over 10 years ago

J, I would check to make sure that the trim pot on the DAQ board didn't get turned. If it did it would throw off the zero point and the calibration. There's supposed to be a little bit of silicone on it to hold it in place. I can't remember if I marked it also, but I think I did.

RE: Testing updated Shepard DAQ code in preparation for Wed morning meeting with CCSSC - Added by J. Simmons over 10 years ago

I see the silicon, but I don't see a mark. guessing this is what happened. If I turn it back to the previous calibration, can I just adjust the trim until I get 0.0 for no load?

RE: Testing updated Shepard DAQ code in preparation for Wed morning meeting with CCSSC - Added by Jeremy Wright over 10 years ago

I would change it back before you commit it to the repo because CCSSC is running on the old calibration. I'm guessing we'll need to walk them through doing a manual calibration anyway, but we want to start them from a known good position.

The slide and/or the load cell weren't damaged in transit were they?

RE: Testing updated Shepard DAQ code in preparation for Wed morning meeting with CCSSC - Added by J. Simmons over 10 years ago

I don't see any sign of damage on the test stand. My bet is you are right and the pot is off from where it was. I don't plan to commit my change in calibration equation, but I did commit my update to the calibration tool so it should run with the updated Arduino code. I'll keep my updated calibration for now (and not commit it) unless we can get the pot back where it should be for the old calibration. That way I can run a test fire or two after I get the thermal sensor mounted.

(1-6/6)