ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing strict type def with constant

Hi guys
 
I am facing a problem which is very strange to me.
 
I've got a strict type def control (ring, containing three items).
If I place one as Indicator and wire a constant to it (right-click the terminal, create constant), it works different in LabVIEW and as exe.
 
In the LV environment it works without any problems - the ring is set with the correct value. If I compile it, it doesn't work anymore.
 
I attach it in both ways. Normal vi (LV 7.0) and as exe.
 
What's the point I lost sight of?
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 1 of 3
(2,693 Views)
This is a known problem, check the following:

http://digital.ni.com/public.nsf/websearch/34BB42ECBC41E22186256D5100660511

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 2 of 3
(2,689 Views)

Thanks Paolo

In the small test app it works now - I assume it works also on the real app (the app-size increased about 2mb).

But as I read the article, this behaviour is required by ni, but I can't follow this at all.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 3 of 3
(2,680 Views)