![]() |
Cable Testers and Harness Testers Made Easy! |
| Signature Touch 1 | Signature 1100R+ | Signature 1100H+ |
|
Scripting is a powerful feature that allows you to extend the functionality of the Signature Touch 1, 1100R+, or 1100H+. It is available as a separately purchased option. With Scripting you can combine custom test processes with the tester's standard capability to maximize flexibility and speed. Our Scripting Success Stories contain many custom applications that involve scripts. For more information on creating scripts see our Developing Custom Test Applications page. Introduction to ScriptingScripts use the LUA programming language (similar to JavaScript) to create instructions that control the tester. Scripts are text files written using a text editor. You can write your own scripts, use our standard scripts, or even modify a standard script for your application. To use a script you need to copy the script file to the tester. For the Touch1, you can copy the file to the tester's hard drive or a network directory the Touch1 can access. For the 1100 testers, you can copy the script file to the tester using the supplied PC program: 1100 File Explorer. Three kinds of scripts are available:
1. Test Event Scripts (.LUA and .EVT extensions) An event such as "Test Complete," "Low Voltage Test Start," "High Voltage Test Start," etc. triggers the execution of an associated Test Event Script. These scripts need to be attached to a wirelist before they will run. There are two kinds of Test Event Scripts: "LUA" and "EVT". LUA scripts do not accept parameters, they run exactly as written. EVT scripts accept event parameters that are set up in the wirelist. This allows you to use the same EVT script with different parameters on several wirelists, giving you more flexibility than a .LUA script. Requirements:
2. Custom Component Scripts (.CMP extension) Custom component scripts allow you to create a test process for almost any type of component you may need. Once you create a custom component you attach it to a wire list and use it just like a standard component (resistor, capacitor, diode, etc.). Any number of custom components can be added to a wirelist, each one with different parameters. The process to test a custom component is the same for each instance, but the parameters are specific to each custom component. Requirements:
3. Custom Report Scripts (.RPT extension) - Available on Touch 1 only Custom Report Scripts allow you to customize the look of your printed test reports or labels. These scripts are custom replacements for the five standard printing tasks in the Touch1. They are system wide and do not need to be attached to a wirelist. (If you need a report specific to a wirelist, use an EVT Test Event Script.) You can replace any of the Touch1's following five standard print tasks with a custom report script:
Script ExampleLua is a programming language this is similar to JavaScript. Here is some code from a Lua script. This code defines a function that prompts an operator to enter a serial number: function PromptForSerialNumber()
local sPromptLine1 = "Enter Serial Number"
local sPromptLine2 = ""
local iSerialNumberExists = 0
local iStyle = 1
local iMaxChars = 30
sgSerialNumber = ""
sgSerialNumber = PromptForUserInformation(iStyle, sPromptLine1, sPromptLine2, iMaxChars, "")
iSerialNumberExists = StringNotEmpty(sgSerialNumber)
if iSerialNumberExists == 0 then
sgSerialNumber = sgNO_SERIAL_NUMBER
end
end
By putting this code in a Touch 1 script you could prompt for a serial number. Examples of How you can Customize Your Testing Using Scripts:Here are a few of the things that can be done with scripts. Many of the items on this list have already been done with scripting. Call us for more information - 1-800-441-9910.
With scripting your tester becomes a high speed multi-point Volt-ohmmeter where you can specify where to put the leads, what measurements you want to make, and what to do with the results, all controlled automatically. There are several example scripts on our FTP site: ftp://ftp.cirris.com/touch1/standardscripts/ For more examples of testing solutions that use scripting see our Success Stories Page. |
© Cirris Systems Corp.