LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event structure following While loop

Try the first occurence trick (as a quick solution there might be a better way)
Message 31 of 52
(1,587 Views)

I didn't know this function, nice one.

Thanks !

 


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 32 of 52
(1,580 Views)

Here is a better way to stop the consumer loop.  Use a boolean instead of comparing the string.  Be sure to set the terminal to Use Default if Unwired.

 

StopLoop.png

 

- tbob

Inventor of the WORM Global
Message 33 of 52
(1,552 Views)
Do you like kudos tbob ? 'cause I do like your help 🙂 thanks

J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 34 of 52
(1,518 Views)

It's just incredible how much your code has changed since last week. I am sure you learnt so much in such a short time. Now you can see the benefits of using 'design patterns' such as state-machine and producer-consumer. You remember in the beginning you didn't want to even try them.Keep up the good work.

 

Don't give me Kudos for that post please Smiley Happy (just an observation, don't deserve it)

0 Kudos
Message 35 of 52
(1,515 Views)

Done ! My program is totally converted and works as it did before 🙂 without any Local variable ! (oh there is only ONE!, sorry)

 

You're right Dimitrios, I learnt a lot, but not only since last week : on the 3rd of may I didn't know labview at all, and I was quite proud of my program as it was a week ago. Of course there was a lot of things to change, and I thank you all for your help and your advices.

 

I still have to add a lot of functionality, but it will be easier with this template.

 

But I can't be really happy as there is a big problem with my exe file... (http://forums.ni.com/ni/board/message?board.id=170&thread.id=504487)

 

Anyway, thank you ! I post my code (without sub VI) if you want to see it (or if you want to give me more advices :p)


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
Message 36 of 52
(1,491 Views)

AAAAIIIEEEE!!!!  Mes yieux.  Mes pauvres, pauvres petits yieux! Smiley Very Happy  JDlabview, you must really like the color orange.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 37 of 52
(1,479 Views)

LOL!!  I agree.  The color is a bit harsh.

 

The code looks much better than before.  

I could not open your link.

 

What problem are you having?

 

Message Edited by Ray.R on 06-15-2010 01:10 PM
0 Kudos
Message 38 of 52
(1,471 Views)

http://forums.ni.com/ni/board/message?board.id=170&thread.id=504487

 

this one works better 🙂

 

Sorry for orange, I promise I will change soon but it's fun at work when people come and react like you did:D


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 39 of 52
(1,464 Views)

Hi, i'm still here 😃

 

Does anyone can explain me why, whenever an error occur (in any state), my program execute "initialize" case until I force it to stop..

 

And another behavior : the errors stay when I stop the program and re-launch it. How can I avoid this ?

 

Thanks


J.D.
French Labview beginner
N'oubliez pas de complimenter les bonnes réponses - Don't forget Kudos for good answers
0 Kudos
Message 40 of 52
(1,441 Views)