07-20-2011 09:37 AM
Formatting a string as binary apparently requires two FOR loops and a couple of NOOPs. 😄
(more detailed analysis) No woder some people think LabVIEW is hard. 😮
08-01-2011 01:20 PM
This is one of my latest comedy of errors. It reads lots of channels of data and fills the gaps in real-time.
Do not adjust your monitor!
08-01-2011 01:43 PM
This is a classic example of how the datatype selection has a huge impact on the code. Without getting into a big detailed code analysis in this thread, are the individual arrays in the "old data points" the same size? If so, a better datatype would have been a 2D array. Would have saved you lots of wires. You could also use Cluster To Array on the "marker coordinates" to further take advantage of loops.
08-02-2011 03:09 AM
hmm.. perhaps I could have used some 2D arrays! The software started out as a "what if" project 3 years ago, now it's too big and unwieldy to change. A lesson in planning!
08-02-2011 11:03 AM
Use of sub-vi's could have helped a little too 🙂
-AK2DM
08-08-2011 08:24 AM
Instead of 1 cluster with lots of arrays, you could have used an array of clusters with 1 array each and thus autoindexed your function. 🙂
What a horror of scalability, but grand of you to share with us.
/Y
09-02-2011 11:02 AM - edited 09-02-2011 11:03 AM
(Maybe I am completely misunderstanding the answer here, but the question was how to run a loop indefinitely).
Q: How do you loop a problem indefinitely?
A: "Compare to infinitiy. The positive infinity block is in the numeric section. The greater than comparison is in the comparison section. Compare something to infinity and wire the output to the stop icon in the while loop found in the structures section."
Let me translate this to LabVIEW for you:
Really!?
09-02-2011 11:07 AM
@altenbach wrote:
[...]
A: "Compare to infinitiy. The positive infinity block is in the numeric section. The greater than comparison is in the comparison section. Compare something to infinity and wire the output to the stop icon in the while loop found in the structures section."
No matter how firmly I planted my tongue in my cheek, I could never have come up with a better answer.
09-02-2011 04:03 PM
Doesn't get any more efficient than that. :lol3
09-02-2011 10:09 PM
@SnowMule wrote:
Doesn't get any more efficient than that. :lol3
no, it does not. write LabVIEW- post it to the forum- Christian removes all the unnecessary gyrations in your R-G code and it works. What other development enviornment has that optomizer?