LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timed tasks inside loop

Solved!
Go to solution

Sounds good I will look into some of these methods and see what works best in my case.

 

Thanks for the help~!

 

Cheers.

0 Kudos
Message 11 of 21
(1,595 Views)
I'm working with something which I think is similiar, but I can't view these files due to them being in 8.6. Can you please repost in 8.5 or as image?
0 Kudos
Message 12 of 21
(1,543 Views)

Hey Tzench,

 

Attached is the vi provided by Altenbach saved in LabVIEW 8.5.

 

Hope this helps.

 

-Ben

Hope this helps.
-Ben

WaterlooLabs
0 Kudos
Message 13 of 21
(1,530 Views)
Does this work in Windows?
0 Kudos
Message 14 of 21
(1,507 Views)

Tzench wrote:
Does this work in Windows?

 

Why don't you simply try? 😄
Message 15 of 21
(1,499 Views)
I did, and it seemed to work, but someone wrote timed structures were for RT OS alone. I'm not sure what this means, perhaps you can test run a VI when you have LabVIEW running, but not create an application with them.
0 Kudos
Message 16 of 21
(1,497 Views)

Tzench wrote:
I did, and it seemed to work, but someone wrote timed structures were for RT OS alone. I'm not sure what this means, perhaps you can test run a VI when you have LabVIEW running, but not create an application with them.

I have no idea what any of this means either. 🙂 Who is "someone"? Don't listen to silly claims of random know-it-alls. 😮 Also, the LabVIEW help will tell you if something is restricted to a certain environment, so you don't have to take the word of anyone (see image). 😉

 

I have never touched any RT OS and all my code is plain vanilla LabVIEW for windows. You are safe to use any of it, even in built applications.

 

Message Edited by altenbach on 04-17-2009 08:54 AM
Message 17 of 21
(1,458 Views)

Hi people

 

I am trying to do a similar thing.

 

I need to do 4 tasks in a loop of 1000ms.

 

I need to input cycles between each task and cycles duration each task.

 

For example for task 1 i need a duration of 100  cycles (gives a true value) each 1000 cycles. and the same for the other 3 tasks.

 

I let the first code but seems complicated.....if You can help me with simplest way...I am really thank you.

 

Best 

 

CPalha

0 Kudos
Message 18 of 21
(1,029 Views)

Appending a new quetsion to a thread already marked as Solved may not get you a quick repsonse.  Many people stop watching threads which have been solved.  It is better to create a new thread and to refer to this one.

 

It is not clear exactly what you want to do.  Please give a better description of your tasks and timing requirements.  When you refer to cycles, do you mean iterations of the while loop?

 

Lynn

0 Kudos
Message 19 of 21
(1,023 Views)

Hi Lynn

 

You are right, but I look for everywhere but I didn't finde the way to create a new thread.

 

Can you please help to move it fot s new thread, or vreat a newone?

 

The task will be something that works until it is true and it will be true for a certain number of cycles (iterations loop) then waits a certain number of cycles (this will be a false value) and turns true again.

 

This tasks will be in time with cycles of loop iterations.

 

Best

CPalha

0 Kudos
Message 20 of 21
(1,015 Views)