Usb project 29 th july
This presentation is the property of its rightful owner.
Sponsored Links
1 / 6

USB Project (29 th July) PowerPoint PPT Presentation


  • 39 Views
  • Uploaded on
  • Presentation posted in: General

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

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Usb project 29 th july

USB Project (29th July)

Ian Coulter


Usb functions

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 functions1

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!


Microsoft visual studio again

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.


Small things

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.


Labview

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


  • Login