From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-13-2006 08:28 PM - edited 06-13-2006 08:28 PM
帖子被alexzheng在06-13-2006 08:29 PM时编辑过了
06-15-2006 07:46 AM
Everything is geared up to having the UUT Serial Number as a string rather than a numeric. The Process Model (Sequential) Locals.UUT.SerialNumber variable is the storage location for the UUT under test and it is a string.
The PreUUT Callback in the Sequential Process Model (for exmple) handles UUT Serial Number entry. The PreUUT Callback calls a function in the modelsupport.dll.
If you go down the road of modifying a copy of this DLL or creating your own UUT Serial Number entry panel, I think you'll find the string to numeric modification rippling through your system, causing you to make many edits.
Could you get away with leaving the serial number as a string and forcing the entry to be numeric values only?
For the second part you can modify the Process Model you are using to include ProcessModelPostStepFailure and/or SequenceFilePostStepFailure callbacks that are called when your sequence fails, inside these callbacks you can modify the behaviour of teststand as required.
Let me know if these bits are of interest
Regards
Steve
06-15-2006 10:59 AM
06-15-2006 08:10 PM
Hi,Thank you for very great answer, I'm sorry that little confuse me because I'm just a abecedarian in teststand,
to modify the UUT dll, Is there somewhere source code for this dll ?
how is the details setup the UUT model ?
I'd like to see a example code in labview if possible , if you have C++ code is more prefer because I'm not professional in labview
thank you in advance...
06-16-2006 08:42 AM
06-20-2006 07:23 AM
I do the same as Dennis suggested. I created my own Operator Interface for Serial No. entry. It does all the necessary verification (entry error, etc) before passing it (SN) to TestStand.
It is written in Labview.
JLV
11-12-2014 03:38 PM
Hey DENNIS,
Please can i see your labview code for the serial number
Thank you so much.
11-12-2014 03:51 PM