09-12-2011 02:23 PM
Hi
need help
II used wait time function to wait 5 second before send command to my device , I put this function in while loop so I could display the waiting time until it is reach 5 seconds , it is work in the first run but when I run the VI for the second time it is give me all waiting time , I want it to start from 0 for each run
09-12-2011 02:31 PM
Are you using a Shift Register? If so, are you initializing it to 0?
Better yet, can you post your code?
09-12-2011 02:45 PM
I atttache it thanks
09-12-2011 11:13 PM
Hi,
Upload you main VI. So We can have better idea.
09-12-2011 11:31 PM
thnks you so much , I have resolved the problem
09-13-2011 08:33 AM
I'm glad you solved the problem...
However, I'm trying to figure out what it is that you are trying to accomplish.
Why do you make the buttons visible? Were they made invisible somewhere else?
Why do you use the property node to assign names to the cancel, and ok buttons? Were they renamed elsewhere?
Which VI / subvi are you opening the front panel? If it is the one I am looking at, you can set that up in the VI Properties, within the Window Appearance section, and select Custom. You can set it to "Show front panel when called" and "Close afterwards if originally closed".
You can simplify your Rube Goldberg boolean logic by wiring the Cancel and the output of both OK buttons (ORed) to the Compound Arithmetic function (OR).
To learn more about LabVIEW, I suggest you try looking at some of these tutorials.
09-13-2011 09:41 AM
I am sorry , I sent you the wrong file . my mistake