Metrology Automation Lunch Learn Metrology NET Testing Environment
- Slides: 26
Metrology Automation Lunch & Learn Metrology. NET® Testing Environment Michael L. Schwartz
Learning Objectives • OOP (Object Oriented Programming) in VB. NET • Metrology. NET Driver Structure • Testing Threaded Applications • Setting up a testing solution in Visual Studio
About Cal Lab Solutions • Veteran owned business, ex-military metrologist • Core business is software ○ Metrology consulting ○ Efficiencies through automation ○ Turn-key system • Focus on finding the right solution for the customer ○ ○ Created Metrology. NET® in 2015 World’s largest MET/CAL® procedure library PS-Cal® power sensor calibration solution - Now Tegam’s Product C# web-based asset management system • Acquired Cal Lab Magazine in 2011
Business is about Efficiency? • Better • Cheaper • Faster That doesn’t mean less accurate
Problem Statement Before someone can test, debug and develop software in Metrology. NET first they have to CORRECTLY set up a testing solution in Visual Studio.
Testing Requirements Testing AC Voltage Test on a 34401 A HP 34401 A Test Package – Already Created VISA Script for AC Voltage – Already Created Standards Used Fluke 5730 A Driver - Already Created Source Volts AC – Already Created Test Process Source Volts AC – Already Created Setup Testing Environment Visual Studio 2017 Community addition - Free Needed Libraries Metrologynet. dll Message. Service. dll Microsoft. NET reactive libraries
Visual Studio Setup • Select New Project • Select Other Project Types • Select Visual Studio Solutions • Navigate to C: _ProgrammingMS. NET SASO<Company>Testcode • Project Name Sample. Testing. Solution • Set Framework to 4. 0
Solution Setup Select Add Existing Projects in C: _ProgrammingMS. NETSASO. . CLSTest. CodeTest. Point. Selector. vbproj. . CLSDriversFluke_5720 A Fluke_57 x 0 A. vbproj. . CLSDriversUUT_Command UUT_Tp. Control. vbproj
Solution Setup Select Add New Projects. NET Framework 4 Visual Basic Windows Classic Desktop Empty Project(. NET Framework) Name: Sample. Testing. Project in: C: _ProgrammingMS. NETSASO<Company>Test. CodeSample. Testing. Solution
Project Setup Sample. Testing. Project Set as Startup Project Startup Object Sub Main
Project Setup Project Must be set to x 86
Project Setup Add References from C: _ProgrammingMS. NETSASOReferences Metrology. Net. dll Message. Service. dll Add. Net Reactive References from C: _ProgrammingMS. NETSASOReferencesReactive
Project Setup Add Project References Fluke_57 x 0 A Test. Point. Selector UUT_Tp. Control
Project Setup Add Forms References System. Windows. Forms
Spread Sheet Review References should look like this
Add App. Main Add new Item to Project Module Named App. Main. vb
App. Main Code
Add Fluke 57 x 0_Config Add new Item to Project Module Named Fluke 57 x 0_Config. vb
Add Code
Add Code
Add Code
App. Main Code
Code Review Run the Program Show Login Form Show Test Selection Form Show Run Button Show Break Points and Stepping
Driver Overview Test Process Source Instrument UUTs are Interchangeable I/O
Learning Objectives ü OOP (Object Oriented Programming) in VB. NET ü Metrology. NET Driver Structure ü Testing Threaded Applications ü Setting up a testing solution in Visual Studio
Questions? / Comments Michael L. Schwartz Cal Lab Solutions mschwartz@callabsolutions. com
- Lunch and learn survey questions
- Learn automation interview questions
- Kinetic learning
- Automation coverage metrics
- Sox testing automation
- Automate java application
- Financial environment in business environment
- Domain testing in software testing methodologies
- Logic based testing
- Du path testing
- Positive testing and negative testing
- Static testing and dynamic testing
- What is globalization testing
- Functional testing vs unit testing
- What is testing
- Control structure testing in software testing
- Decision table testing in software testing
- Decision table testing examples
- Pengertian black box
- Black-box testing disebut juga sebagai behavioral testing
- Limited entry decision table
- Rigorous testing in software testing
- Testing blindness in software testing
- Component testing is a black box testing
- Domain example
- Asp net load testing
- Single view metrology