90 likes | 176 Views
USB Project (15 th July). Ian Coulter. Modifications. FSI Mode – Runs the ADC in Frequency Scanning Mode where we get a single data transfer when all the readings have been taken FFI Mode – Runs the ADC in Fixed Frequency Mode where we require continuous data transfer
E N D
USB Project (15th July) Ian Coulter
Modifications • FSI Mode – Runs the ADC in Frequency Scanning Mode where we get a single data transfer when all the readings have been taken • FFI Mode – Runs the ADC in Fixed Frequency Mode where we require continuous data transfer • FFI Stop – Used to stop FFI mode operation
Modifications • Changed the C code to produce a HEX file containing the new commands • The USB interface downloads this HEX file and so can convert the hexadecimal commands put into the interface to the binary used in the ADC
Modifications • Changed C++ code of the interface to include these commands in the preset options menu • Next: test these new options using a signal generator to see if they work
DLL • Dynamic Link Library • A library of commands that can be used by another program to call up functions • Can be moved into different programs so several can share the same basic set of commands
DLL • Have assembled DLLs that can: • Write to and read from a file • Add two numbers together • Write an array to file and sum the components • Have added these into simple Labview programs
DLL • Need to assemble a DLL with commands that transfer data in and out of the USB • Write this data transfer DLL into Labview to allow use of the USB through Labview