LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Enum Constant not so constant, Something causes the value to switch
jcabrer
post May 26 2005, 06:04 PM
Post #1


Are we there yet?


Member
Posts: 5
Joined: 26-May 05
Member No.: 2308
Using LabVIEW Since:1996
LV:8.5 ,7.1 ,7.0
United States Puerto Rico spn_Catalonia


I'm using an unamed queue to store states in the order I want them to execute, so I have an INIT state where I pump 10 states into the queue. The application recieves the initial state from an Enum constant wired from outside the main while loop.

The problem is that when the application runs, the first Enum inside the init state, which has a numerical value of (4), changes to (0) INIT all by itself. There are no property nodes or anything else that I can think of that might be affecting this.

If I remove the constant, and replace it with a control, and then change the control to a constant, the problem disappears!

This post has been edited by jcabrer: May 26 2005, 06:09 PM
Attached File(s)
Attached File  tRXpUMP_with_enum_bug.VI ( 131.14K ) Number of downloads: 254
 


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post May 26 2005, 06:04 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
i2dx
post May 27 2005, 05:56 AM
Post #2


(n0ob)²
****

Member
Posts: 756
Joined: 22-October 04
From: Duesseldorf / Germany
Member No.: 885
Using LabVIEW Since:2001
LV:8.20 ,7.1.1 ,.
ger_bavaria Germany ger_rhineland


i agree there is a bug ...

very strange !

take a look at the attatched VI, there is a solution how to avoid this ....


best regards,
cb
Attached File(s)
Attached File  tRXpUMP_with_enum_bug_simple.VI ( 80.94K ) Number of downloads: 260
 

--------------------
don't take me to serious
my Website my ADO-Toolkit for LabVIEW™


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 8th January 2009 - 09:35 PM