From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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

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
(6,732 Views)
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
(6,701 Views)