LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

timed loop

Solved!
Go to solution

In the timed loop the input node had an ...input..thats labeled "Source Name" and states that I can specify the name of the timing source.  What does that mean and how do I do it??  How come when I put a constant witht he same name as the default Source Name (create>constant>"1khz")  the loop only runs x times then stops on its own.  Yet when I leave the default as is the loop runs until I hit the stop button???

0 Kudos
Message 1 of 4
(2,770 Views)

Hi Clint,

 

To change the source type of the timed loop simply double click the stopwatch icon at the top of the input node.

This allows you to change the source type and alter various attributes linked to the timing.

 

Also, if you want to specify the Source Name via a constant, you must first create the timing source using the Create Timing Source VI; it is here that you create the name of the source.

 

If you have any other questions please do not hesitate to ask.

 

 

Thank you,

Eden S
Applications Engineer
National Instruments UK & Ireland
Message 2 of 4
(2,767 Views)

So is the Create Timing Source.vi used in the same vi as the timed loop?  It doesn't look like the Create timing source vi gives you many more different options than the timed loop itself.

 

Just out of curiosity...how come what you had to tell wasn't in the help??  I would have never gotten that ( double click the stop watch) w/o posting a question.

 

Thanks!

0 Kudos
Message 3 of 4
(2,756 Views)
Solution
Accepted by clint100

Hi Clint,

 

Yes, the Create Timing Source.vi will be used in the same vi. There is effectively no difference between this vi and the options on the loop's input node. However the create timing source.vi would be used if you want to programmatically select the timing source.

 

You will find the information on configuring the timing source in Detailed Help, a link to which can be found at the bottom of the context help window:

 

"Double-click the Input Node or right-click the structure and select Configure Timed Loop to display the Configure Timed Loop dialog box, where you can configure the Timed Loop. The values you enter in the Configure Timed Loop dialog box appear next to the input terminals on the Input Node."

 

Thank you,

Eden S
Applications Engineer
National Instruments UK & Ireland
Message 4 of 4
(2,752 Views)