Norm Kirchner Posted September 29, 2009 Report Share Posted September 29, 2009 Perhaps I missed this in this thread, but has anyone at least proposed making some scripting code to script puttting the timing pattern around a chunk of selected code? It's far from what was originally being requested as a no data wire, but in the 'thread' of timing it makes sense. Quote Link to comment
Yair Posted September 29, 2009 Report Share Posted September 29, 2009 Perhaps I missed this in the thread, but has anyone at least proposed making some scripting code to script puttting the timing pattern around a chunk of selected code? Yes, although not here - http://decibel.ni.com/content/thread/3481?tstart=0. In that thread I posted an initial version I did which does the work but has two disadvantages - It's very messy. It doesn't clean up the code, so it really doesn't look nice. I'm attaching a more recent version of that VI, but it still has these two basic issues (although less). Add Timing Code.zip Quote Link to comment
Yair Posted October 6, 2009 Report Share Posted October 6, 2009 I realized today that you can do this with a timed sequence, as one of its outputs is the time the frame took to execute. This alleviates the need for scripting completely at the price of having to load the sequence and the space its nodes take on the BD. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.