LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

applying delay in formula node in labview

Solved!
Go to solution

A nicer way of saying what i did in my first. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 11 of 18
(4,155 Views)

actually this could give me what i wanted but i wanted to know how to apply delay in formulla node

i want to be able to use either graphic or c programming language

0 Kudos
Message 12 of 18
(4,136 Views)

You have already been told that you cannot place a delay in a formula node. It simply makes no sense to even want to in your case. You have also been shown how to turn a Boolean on and off with LabVIEW. What are you confused about the code?

Message 13 of 18
(4,128 Views)

im not confused

i got what i wanted to know

but i wanted know if there is any way to use the delay

ok so there is no way to apply a delay there

also its nonsense

thanks for reply buddy

0 Kudos
Message 14 of 18
(4,126 Views)

The only way to do it is to create some long running while or for loop.  But there is really no way to control how long that lasts as it is going to vary from PC to PC based on execution speed.

 

There are no timing or wait statements that you can use for a formula node.

 

So basically forget trying to do a delay in a formula node, for all practical purposes it can't be done.

 

"I want to be able to use either graphic or c programming language"

 

If want to use LabVIEW, then you should be using the graphical programming elements.  Only use "C" (I quoted that because the formula node is not C, but just a collection of some basic text language commands) for those times where there is a complicated formula that can be more efficiently typed in a text based language in the formula node than created graphically.

 

If you want to use C, then close LabVIEW and open up Microsoft Visual Studio.

 

Message 15 of 18
(4,125 Views)

Hello to0raj

 

I just wanted to verify that you are content with the responses that you received.  Let me know if you'd like any further clarification or assistance with this issue.  Thank you very much for choosing LabVIEW and National Instruments.

 

Greg S.

Sincerely,

Greg S.
0 Kudos
Message 16 of 18
(4,098 Views)

thanks for support greg

as i said befor i just started labview and there are some blur points in programming with graphical methot

i still sometimes drift away and like to use c or any basic text language

i have to change my view i think

buy the way thank ya all for replying!!

 

0 Kudos
Message 17 of 18
(4,070 Views)

 Hello to0raj

 

It's no problem that you are new!  We're thrilled you're taking an interest and we're here to support your concerns as you develop your skills.  I have provided a link with some free online training for your interest.

 

http://decibel.ni.com/content/docs/DOC-13978

 

Please go to the above link and spend some time exploring those teaching resources and hopefully that can shed some light on your approach.

 

Thank you again for supporting National Instruments!

 

Greg S.

Sincerely,

Greg S.
Message 18 of 18
(4,046 Views)