09-26-2012 04:27 PM
I use the Stimulus profile in Veristand 2010 to pass boundary conditions to my model. I would like to understand what the various specifications available under Generators Specifications in the system definition GUI mean. How do they work with the number of generators I'm setting, number fo output channels being logged etc.
Furthermore, when I changed the timestep of my compiled model and tried loading the stimulus profile that worked earlier, I got the following error.
It is a generic error - Error 42. Previously, I have changed the specifications blindly to get the stimulus profile loaded. Understanding what the different specifications mean should help me set the right numbers and load the profile in a systematic way. Also, please let me know if the above error is not really related to the generator specifications. Appreciate your help.
Thanks,
Bhargava
09-26-2012 04:33 PM
Does error 42 reproduce every time you try to run your system definition? It is an internal error that we never expect to happen. We fixed a couple instances where it could have happened in NI VeriStand 2011. Most likely it is a race condition that won't happen very often, but let me know if you see it more frequently.
09-26-2012 05:02 PM
Jarrod, thanks for the quick response. This happens for some of my models. I'm not able to pin point to a particular change in the models that causes it. However, for this model, after reducing the number of generators I was able to load the stimulus profile. Hence I concluded it could be something related to memory, buffer size etc and hence an understanding of the various Generator Specifications. Do you have an input on what the specifications mean? Does this help?
Furthermore, I do not understand what a race condition means.
Thanks, Bhargava
09-27-2012 09:49 AM
A race condition means that this does not happen every time, and that it depends on actions happening at the right (or wrong) time.
We added a lot more documentation for VeriStand 2011, and that documentation is also linked online. You can find some help for those buffer sizes here.