10-14-2007 07:55 AM
10-14-2007 08:07 AM
10-14-2007 09:56 AM
10-14-2007 01:39 PM
10-14-2007 03:39 PM
10-14-2007 03:54 PM
10-14-2007 06:22 PM - edited 10-14-2007 06:22 PM
메시지가 10-14-2007 06:25 PM에 labmaster에 의해 편집되었음
10-14-2007 08:26 PM - edited 10-14-2007 08:26 PM
Here's one possibility.
If you know the loop time and the desired time target, it does not make sense to constantly check the timer in a while loop. You can use a FOR loop and just count iterations.
(Notes: NI recommends the FP: Open method instead of the property with the same name. Also setting the tranparency only works if the panel is set to run transparently so set this via option or property node. Check the online help!)
Message Edited by altenbach on 10-14-2007 06:28 PM
10-14-2007 11:11 PM
Dear altenbach,
Excellent answer~!.
I have an one more curious question in using VI server in the diagram.
How do I transfer a variable from a.vi (logo dialog) to b.vi (main program), which could be realized by connector pane?
10-14-2007 11:58 PM - edited 10-14-2007 11:58 PM
@labmaster wrote:
How do I transfer a variable from a.vi (logo dialog) to b.vi (main program), which could be realized by connector pane?
Just create another invoke node and select method "Control Value: set (variant)" for example.
For example if your b.vi had a DBL control labeled zzz, you could set its value to 1234 using the following code:

Message Edited by altenbach on 10-14-2007 09:58 PM