VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Stimulus profile - Generator specifications in sys def and Error 42 while loading stimulus profile

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.

 ST_Generator_specs.jpg

 

Furthermore, when I changed the timestep of my compiled model and tried loading the stimulus profile that worked earlier, I got the following error.

timestep_1s_stimulusprofile_error.jpg

 

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

0 Kudos
Message 1 of 4
(6,261 Views)

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.

Jarrod S.
National Instruments
0 Kudos
Message 2 of 4
(6,260 Views)

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

Message 3 of 4
(6,256 Views)

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.

Jarrod S.
National Instruments
0 Kudos
Message 4 of 4
(6,232 Views)