01-24-2011 06:52 AM
Hi,
I am receiving this sequence of messages when I try to compile a model.
...
### Generating TLC interface API.
...........................................................
### NI VeriStand 2010 Modifying Pack_L500_IB_plant_fstep_io.c file
...................................
### NI VeriStand 2010 Modifying Pack_L500_IB_plant_fstep_io_data.c file
Error: ### NI VeriStand 2010 Unable to find Parameter struct in CGTypes
### NI VeriStand 2010 Modifying Pack_L500_IB_plant_fstep_io.h file
### NI VeriStand 2010 Generating Ports Readme file
Could Not Find c:\WorkDir\Models\Pack\pack_l500_ib_plant_fstep_io_niVeriStand_rtw\*.obj
### Real-Time Workshop build procedure for model: 'Pack_L500_IB_plant_fstep_io' aborted due to an error.
I tried to repair my VeriStand 2010 installation and still got the errors.
I created a Virtual machine, installed Simulink and Veristand and tried to recompile the model. The error appers again.
I changed the "System Target File" (tlc file) to grt and the model was compiled without error. Even VxWorks Veristand target fails.
If I copy the *.obj from the other target to VS target the second error goes away but I still get "Error: ### NI VeriStand 2010 Unable to find Parameter struct in CGTypes"
How can I solve this problem?
Cheers,
Cláudio H.
Solved! Go to Solution.
01-25-2011 03:03 AM
Hi,
I found the problem but not the reason.
If I change the Configuration Parameters > Optimizations > Inline Parameters = Unchecked the model compiles without problem.
Cheers,
Cláudio H.
01-25-2011 10:32 AM
Yes this is a known issue when a model has no tuneable parameter. You can still inline your parameters, just make sure to make at least one parameter tuneable.
Carl L
National Instruments