USB Project (29th 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 • 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 • 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 • 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 • 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