Daniel,
Yeah, my focus was off. thx.
I had not looked at the code in detail as I had just assumed it was verified and checked in and matched the CW code. I got rid of the inner j loop and it works better,
BTW, the code is capturing camera data from one camera, but it uses double buffering TFC_LineScanImage0, and TFC_LineScanImage1.
Here are some other differences/observations:
- Both don't properly print the TFC_LineScanImage1 properly
- The mbed code does not include the TFC_SetLineScanExposureTime routine that the CW code has.
- The CW code uses the PIT timer to initiate the camera line scan. The mbed code uses the servo TPM. Thus, there is a scheduling difference between the codes.
- The camera capture is not as fast in mbed versus Code Warrior. This is probably configurable with timers and such, but just an observation.
Regarding using Excel versus Labview, that is a good idea, however, I prefer the realtime display. I think Eli mentioned something about a free graphical processing alternative.
Jeff