07-04-2007 09:50 AM
07-04-2007 04:19 PM
07-05-2007 09:19 AM
07-06-2007 10:27 AM
07-06-2007 05:10 PM
07-09-2007 09:43 AM - edited 07-09-2007 09:43 AM
Lawrence,
Is this dialog the one you are trying to modify?
If so it is in a .dll called "modelsupport2.dll". It can be found in <TestStand 3.0\Components\NI\Models\TestStandModels>. The source code is there too. You will need to use the parallel UUT functions as this .dll handles the sequential dialogues too. The are prefixed with PUUT. Check the parallel model sequence itself to see how it calls the functions.
I hope this helps.
Also, this dialog does not use UImessages... It is run separate... You may want to abandon it all together and create your own parallel Operator Interface as it look like you have started already. It is easy to disable this dialog but you will need to replace it with something otherwise you will get stuck in a loop. There is an example that is shipped that disables this dialoge and pops up individual serial number dialoges. I can't rememer the name, but is deals with serial numbers in the parallel process examples.
Message Edited by paulmw on 07-09-2007 09:44 AM
Message Edited by paulmw on 07-09-2007 09:49 AM
07-09-2007 09:56 AM
07-09-2007 10:37 AM
Lawerence,
The source code for the parallel model is "paralleluutdlg.c" in the same directory as the .dll (my previous post). In breifly analyizing it the controls and indicators seem to be updated by a state machine in the function "RefreshTestSocketCtrls". There seems to be a limited number of states and I don't see an easy way of adding more without modifing the code and rebuilding the .dll (I think this would require CVI). You can, however, modify the text of the existing status states by modifing the resource strings in the file MdelStrings.ini located in the \Components\NI\Language\English\ directory of teststand. (note: I actually think it is prefered to copy to a user\Languages\Englis\ directory and edit that version. Teststand will use the user versions if it exists. It is requested to do that because in upgrading, the NI subfolders get overwritted but the user subfolders do not.)
Paul
07-09-2007 10:48 AM - edited 07-09-2007 10:48 AM
Message Edited by paulmw on 07-09-2007 10:51 AM
Message Edited by paulmw on 07-09-2007 10:53 AM
07-09-2007 10:54 AM