1 / 6

USB Project (29 th July)

USB Project (29 th July). Ian Coulter. 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. USB Functions. Send any commands written in a text file “usb.txt” to the ADC board

nodin
Download Presentation

USB Project (29 th July)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related