USB Project (29 th July) - PowerPoint PPT Presentation

nodin
usb project 29 th july n.
Skip this Video
Loading SlideShow in 5 Seconds..
USB Project (29 th July) PowerPoint Presentation
Download Presentation
USB Project (29 th July)

play fullscreen
1 / 6
Download Presentation
USB Project (29 th July)
68 Views
Download Presentation

USB Project (29 th July)

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. USB Project (29th July) Ian Coulter

  2. USB Functions • Have made a DLL from which functions can be called to: • Initialise the USB and open communication with the ADC • Download the HEX file to the cypress chip

  3. USB Functions • Send any commands written in a text file “usb.txt” to the ADC board • Trigger the ADC board to start taking data readings and to output these readings to a textfile • This is done and seems to take the same data as the USB interface which is good!

  4. Microsoft Visual Studio again • The current DLL was written using Microsoft Visual 7.1. Every computer except mine uses Visual 8.0. • Need to rebuild the DLL on Jack’s computer. This is almost done except for the data writing bit due to the “atoi” function which coverts CStrings to Integers not working in the new one.

  5. Small Things • Need to add a few extra bits which allow the user to input the selected channels, number of readings, where the HEX file should be downloaded from, etc… • The ADC board is able to average over samples. The USB needs to be able to deal with this.

  6. Labview • Need to work the DLL into Labview • In labview, the user should be able to input properties such as number of readings, channel selection, etc… and the output should be able to go somewhere useful