80 likes | 255 Views
Foot switch project. GUI software design. Oscilloscope Communication. Uses VISA protocol for scope communication. Common on Tektronix Oscilloscope platforms. Commands are published by Tektronix in the form of Programmers manual for each oscilloscope family.
E N D
Foot switch project GUI software design
Oscilloscope Communication • Uses VISA protocol for scope communication. • Common on Tektronix Oscilloscope platforms. • Commands are published by Tektronix in the form of Programmers manual for each oscilloscope family. • Test and Measurement Industry standard.
PC / USB communication • For communication to the PC, USB interface was used. • Made easy in the form of a dedicated USB bridge and dll libraries for the device “SimpleIO-UM.dll” device in conjunction with MCP2200 python module, developed in house. • Unnecessary to deal with USB Stack.
GUI behavior • Python 2.7.2 used for GUI development. • PyVisa 1.3 • Scope communication • Wxpython • GUI development • Numpy 1.6.1 • Curve data calculation • ScopeControl • Use PyVisa to send interpreted commands • MCP2200 • Communicate with PC over USB. “SimpleIO-UM.dll”
Interface layout • Tabs for each function • Tab dedicated to each button • Double Click • Scope connection / file placement • Script entry
Results / Lessons learned • What worked well • Engineers at Tektronix have been impressed. • What didn’t work • We were unable to get USB ports configured as COM port, - Adjustment routine dropped as a result. • Should have made silk screen larger / readable. • Post size was same as .632, same size as screws.