10-19-2015 06:12 PM
Is there any documentation available for the modelsupport2.dll library?
Specifically, I've got some scattered function calls in the code I've inherited, there are no comments to indicate what those function calls do, and I don't want to "just try it and see what happens".
10-20-2015 08:14 AM
Seth_K,
The only information that I was able to come across was an older forum post asking a similar question. They documented a good potential workaround to aid your situation: http://forums.ni.com/t5/NI-TestStand/Doc-Modelsupport2-dll/td-p/58054
10-20-2015 08:16 AM
You have the source code for modelsupport2.dll. It is located in <TestStand>\Components\Models\TestStandModels and is written in CVI I believe, which is basically ansi C. You can always look through the source code and figure out what is going on.
I've known people to modify and rebuild modelsupport2.dll. Let's hope that isn't the case here. It could get really nasty if they don't know what they are doing.
Regards,
10-20-2015 11:40 AM
No, I have no plan on modifying that file. I'm just finding some function calls in the process model I'm working on, and I want to see what those calls do, and if they can be removed from the process model.
10-20-2015 01:14 PM
Hopefully you can figure it out with the source code. Generally you don't want to remove stuff in the process model. I know that modelsupport2.dll takes care of a lot of the communication with threads in the multithreaded models.
10-20-2015 01:24 PM
I hope so too. I'll probably post more questions about functions inside the source code once I crack into it further.
I'm basically re-writing the sequential process model for our company's uses. I'm basically taking out as much of the extra functionality as I can to make the validation effort as simple as possible. I'm also using a custom UI as well, so if those functions are meant to talk to one of the existing UIs, then I won't be using it.
Thanks,
Seth
07-25-2022 05:11 AM
Hi,
Were you able to fix this issue?. I am facing the same hang issue in preloading modelsupport2.dll occasionally.
Thanks,
Mohan