07-02-2015 10:43 AM - edited 07-02-2015 10:46 AM
Hi All,
I need to test 12 components : 7 variable capacitors and 5 inductors, using Agilant 4263 LCR meter
Each component has a serial number that the operator has to enter into test program,
The variable capacitors need to be adjusted, measured and set to specific values (within their respective tolerances as shown in the excel file)
The inductors are fixed (not variable) and need to be measures only.
Each one of these 12 components have their own test jig (some are bigger that the others)
So the operator has to be prompted to change the DUT and jig, one after another, enter serial numbers and then adjust and measure.
The test results of all 12 components should be written and saved to an existing excel template to specific cells and also to a tab delaminated text file
I have attached the excel template and the column highlighted in yellow is where the measurement results should go.
I have created a VI that measures a single capacitor. but it doesn't do what I need to do.
I appreciate any help I can get.
Thanks in advance
07-02-2015 11:06 AM
Some comments:
Think a bit about how you want the program to "flow", and design it that way. You might, for example, want to let the User choose which DUT to do next, or you might want to do them in strict order, 1 through 12. You should probably have a series of Prompts ("Enter Capacitor Serial Number") followed by Verifications ("You entered C314159. OK?"). Once all the units are loaded, what should the Operator do? Does the test "stop itself", i.e. does each DUT know when it is finished?
This design "sounds like" a State Machine to me, which implies a Loop + Case Statement for the various States, and some rules for transition between States. Since you are also getting data from the Front Panel, this might be a good candidate for what I call (for want of a better name) a User Event State Machine, where you include a User Event, "State", and keep most things in the single Event Loop.
Bob Schor
07-02-2015 11:25 AM
Hi Bob,
Thanks for your reply.
I have attached the zip file (I have used 4263 driver) for the code
when the component is adjusted and tested, the operator needs to press a button to complete the test for that component and be prompted to connect the next component to LCR meter.
appreciate your help.
07-02-2015 11:55 AM
07-02-2015 11:59 AM
I don't have personal experience with TestStand, but Dennis is probably correct -- NI, I think, built TestStand specifically to handle Testing situation such as yours. Take a look ...
BS
07-02-2015 12:29 PM - edited 07-02-2015 12:30 PM
Hi,
I don't have Teststand, neither do I have experience with it.
is there any way this can be done in Labview?
Thanks.
07-02-2015 02:13 PM
07-02-2015 02:15 PM
07-02-2015 02:20 PM
Hi,
yes, that is correct. the user needs to enter only one serial number at a time.
Thanks
07-02-2015 02:22 PM