LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulation Interface Toolkit: conflicting datatypes

I use SIT to include a Simulink model in LabVIEW. I have some trouble when I try to change a value in LabWIEW`s front panel. I get this error message:
 
Error 14103 occurred at SITs Client Thread.vi > SITs Process Packet.vi > SITs Matlab Interaction.vi
Error using ==> set_param
Error in 'foringssystem/Ønsket rotatorietetthet'. Parameter 'Value' setting: "4900,000000" cannot be evaluated. MATLAB error message:
Error: Unexpected MATLAB expression.
 
The datatypes are conflicting in simulink and LabVIEW.How do I change the value in labVIEW to be presented without decimals? I want the value to be 4999 and not 4900,000000.
0 Kudos
Message 1 of 2
(2,426 Views)
Hi Mari,
 
The problem is because LabVIEW respect the Regional Decimal Point as 'coma(,)' of your machine and Matlab always use the decimal point.
 
To disable this feature, you have two options: you can change your Regional Setting in Windows to use 'dot(.)' as decimal point instead of coma or you can change LabVIEW 7.1 to behave as Matlab. To do that, in the labVIEW Menu you can go to Tools>>Options and select "Front Panel". There is an option called "Use localized decimal point" that has to be unchecked if you want to just your dot.
 
Barp - Control, Simulation, RTT and HIL - National Instruments
0 Kudos
Message 2 of 2
(2,421 Views)