03-05-2011 12:37 PM
A nicer way of saying what i did in my first. 🙂
/Y
03-06-2011 11:11 PM
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
03-06-2011 11:22 PM
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?
03-06-2011 11:25 PM
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
03-06-2011 11:26 PM
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.
03-07-2011 11:08 AM
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.
03-07-2011 11:03 PM
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!!
03-08-2011 08:24 AM
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.