NI VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve Error C2198 'NIRT_GetValueByDataType' : too few arguments for call

Solved!
Go to solution
Highlighted

Hi,

 

I am receiving the following error message several times during mdl compilation:

 

...
### NI VeriStand 2010f1 Modifying bleed_real_time_iron_bird_nolinks_data.c file
.....

bleed_real_time_iron_bird_nolinks.c(16858) : error C2039: 'Integrator_CSTATE_ma' : is not a member of 'ContinuousStates_bleed_real_time_iron_bird_nolinks'
        c:\workdir\models\bleed_revd\bleed_real_time_iron_bird_nolinks_niveristand_rtw\bleed_real_time_iron_bird_nolinks.h(1277) : see declaration of 'ContinuousStates_bleed_real_time_iron_bird_nolinks'
bleed_real_time_iron_bird_nolinks.c(16858) : error C2198: 'NIRT_GetValueByDataType' : too few arguments for call

How can I repair them?

 

Cheers,

 

CHCastro
0 Kudos
Message 1 of 2
(5,172 Views)
Highlighted
Solution
Accepted by topic author ClaudioH

Hi,

 

The problems disappears when we unset the block option: "Treat as Atomic Unit".

One important note: this problem does not occurs when using other tlc than NI Veristand.

Cheers

CHCastro
0 Kudos
Message 2 of 2
(5,141 Views)