11-22-2016 06:37 AM
Hello, I want deploy a Labview Model (generated Model for VeriStand) in VeriStand (both Verison 2016). My deploymend stops and will not continue. I have attached a picture from the Error Message and a picture from my Labview Code.
The Code generation from Labview is running well and shows no error and the VI works in LV. In VeriStand I changed the model update Rate to 10 Hz because the Update Rate of the While loop was 100ms. Please let me know if you need more Information. May someone can help me with the problem. Thanks, Jochen
11-22-2016 06:42 AM
Additional Infomation from my side: The target is running on a windows system. Maybe it helps.
11-23-2016 01:30 AM
Hi!
Can you successfully deploy other (example) projects? Can you post the VeriStand files necessary to test?
Regards,
Christoph
11-23-2016 01:53 AM
Hi,
you have a whileloop inside your model running. Your model should rather look like a Sub.vi, providing inputs and outputs and simple executing an algorithm. This model then is executed inside the model loop of the Veristand Engine:
Understanding the VeriStand Engine - NI VeriStand™ 2012 Help - National Instruments
http://zone.ni.com/reference/en-XX/help/372846F-01/veristand/understanding_vs_engine/
11-23-2016 04:09 AM
Hello,
I will change my LV vi and I will come back with the testresults.
Regards,
Jochen
12-13-2017 03:21 AM
After a year will come back to my issue....
I changed my LabView model and know I can deploy it. I have one question to Import and deploy of the LabView model.
In the attached screenshot "VS_Unknows_Model_rate" you can see that in the part "Simulation model Info" there is no information about the model rate. There I can set the model update rate in LabView before I compile it or is it not necessary?
My impression is that the model running faster as it is defined in the Definition file.
Compare to this if I import a model which is generated in Simulink, I can find model update information (e.g. 10 Hz). You can find this information in the attachment "VS_Simulink_Model".
Additional I can not see in VeriStand that the Model Time ("VS_Model_Time" )will increase by using a LabView model. If i use a Simulink model than this Model Time will be changed.
Does anybody have an idea?
Thank's, Jochen