Universal driver for LabView Pia & Shmulik Zobel Advisor – Mony Orbach
Project goals Create a LabView driver to communicate with the Physics card. Build a universal driver which enables any card to communicate with LabView Test this wizard on one chip.
Drivers in LabView LabView is a program which communicates with different instruments. This is done with drivers. A specific driver is needed for each instrument. This is not flexible or efficient. Our driver was built as a universal driver for any instrument.
Our driver A driver in LabView is built with VI’s (virtual instruments). A VI is not adaptive. To solve this problem, we built most our driver in code, which is more flexible. LabView contains a pre-built VI to communicate with DLLs. We built a wizard which creates a DLL for each specific instrument.
Physic driver structure Creates main program Signals program to exit Reads from the chip through the driver Writes to the chip through the driver DLL LIBRARY USB driver Sits in memory Waits for signal to quit END READWRITE
“Physics driver” front panel
“Physics driver” block diagram
Wizard structure DLL builder Add Function Add Parameter Add Include File
Wizard main window
“Mouse driver” front panel
“Mouse driver” block diagram
Conclusion LabView is a very strong tool for communicating with chips. It has a disadvantage of inflexibility. Using c-code as the main component of out driver was had many advantages: –Flexibility. –Speed. –Better control.