LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulation Interface Toolkit: conflicting datatypes

I`m using SIT to include a simulink diagram in LabVIEW. I have some problems with conflicting datatypes. When I`m changing a value at LabVIEW`s frontpanel, 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.
 
I am typing in the value 4900 in labVIEW, but in the Simulink diagram this i set to 4900,00000. I don`t know if Matlab uses . insted of , before the decimal numbers...maybe that is the problem?
0 Kudos
Message 1 of 4
(2,698 Views)
I am too much of a Newbie in LabVIEW to give you an appropriate answer to your problem (Sorry Smiley Sad)
I just wanted to let you know that Matlab indeed uses . as decimal seperator.

0 Kudos
Message 2 of 4
(2,686 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 3 of 4
(2,681 Views)
Hi Barp,

I have the same problem as Mari had and I unchecked the option called "Use localized decimal point". But still there is the following error:
Error 14103 occurred at SITs Client Thread.vi > SITs Process Packet.vi > SITs Matlab Interaction.vi
Error using ==> get_param
Invalid Simulink object name: absbrakesingleclosed.
Do you have an idea why?

Thanks.
Steffi
0 Kudos
Message 4 of 4
(2,483 Views)