Visual Basic

HomeTest DevelopmentRepairFixture DesignCustom SoftwareDownloadsVideo Tutorials
Develop Custom Products
Developers Kit
Programming Languages
The TestSight® Developers Kit ships with a number of Visual Basic® 6 sample programs. It includes source code for a state of the art circuit board repair tool. Using this application as a starting point, it is easy to create custom applications with minor modifications.

TestSight was developed with ease of use in mind. While no electronic production application is trivial, the structured nature of the TestSight Object Model and the Visual Basic IntelliSense capability makes programming with TestSight intuitive and fast.

For example, the code to highlight all resistors in red looks something like this:

For Each Part In Parts

If Part.PartType = "Res" Then

Part.FillColor = ARedColor

End if

Next

When TestSight loads a GenCAM or GenCAD file, the components or routes (Parts and Nets), are sorted alpha-numerically. This is useful when iterating through a parts or nets collection to build a listing, such as a tree view.

TestSight takes care of all the work to change and display the fill color for all the parts.

To get started in Visual Basic, create a reference to the TestSight control. This is done in the Project References menu. Browse for the TestSightSV7.ocx, located in the Windows System directory. Look for the "TestSight System Viewer" description.

Once the reference to TestSight is established, the two TestSight User Controls will appear on the ActiveX® component selection bar. Drag and paste the View Port control onto a form in your project. You can then set properties to change the appearance and display modes of your project.

Add one or more Thumbnail Navigation controls. Format the forms to your liking.

Once the User Controls are placed on your forms, it is simple to load and display a TestSight project.

 
© 2000-2012 DeMille Research Inc.
TestSight is a Registered Trademark of DeMille Research Inc.
All other products mentioned on this site are trademarks of their respective owners.
Contact us at: (949) 462-9345, Fax: (949) 462-9346, E-Mail: salesinfo@testsight.com
designed by Pdesigner