NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

modelsupport2.dll changes don't take affect

Solved!
Go to solution

Running TestStand 4.0 and LabWindows/CVI 9.0.1.

 

Followed instructions per http://digital.ni.com/public.nsf/allkb/A6D0EF1F4FE5EC94862570AE000CE374 to change my test socket numbers to be non zero based for batch model.  Also modified paralleluutdlg.c to increase the MAX_NUM_TEST_SOCKETS_VISIBLE 6 (used to be 5).

 

The modelsupport2.dll compiled successfully, but the changes do not occur when I run my sequence file using the batch model; i.e., the test sockets still start from 0 instead of 1 and the number of visible sockets is 5 and not 6.

 

I checked the configured search directories and the user components directory (containing my modified files) is ahead of the default NI components directory as desired.

 

Am I missing a required step here?

Thanks!

0 Kudos
Message 1 of 3
(3,389 Views)
Solution
Accepted by topic author ShawTestEng

Hi George,

 

The KnowledgeBase article you are referring to is for the parallel model, not the batch model. However, if you open the batchuutdlg.c and search for the same line of test as described in the KB and add "+1" to it, it should work. I have confirmed that it works on my end. Just to make sure this is clear, this only changes the dialog box and will not change the numbering in the process model. Changing that numbering requires a much more extensive effort.

 

Regarding the MAX_NUM_TEST_SOCKETS_VISIBLE 6 change, I have also done this and it does show 6 visible batches in the dialog box. Please keep in mind that you need to just replace the number without changing the spacing on the line. You will also need to go into Configure->Model Options and change the Number of Test Sockets to 6 to ensure that you see the 6 visible batches. Changing this will cause the window to expand over the "Go" and "Stop" buttons so there will have to be more extensive changes to move those buttons down. I hope this helps address your question!

 

Regards,
Jackie

DAQ Product Marketing Engineer
National Instruments
Message 2 of 3
(3,328 Views)

I modified the file as you suggested and it now works, thank you!

0 Kudos
Message 3 of 3
(3,315 Views)