11-30-2009 09:00 AM
I have managed to build a VI that identifies the index values of any over/undershoot values. I am now trying to create two indicators to hold the total number of over/undershoot values. When I attempt to attach an indicator to the for loop an error wire appears. any advice would be appreciated!
Regards,
Kadeel
PS I tried to attache the VI as a word Doc. but the download went on forever - is there a quicker way?
Solved! Go to Solution.
11-30-2009 09:05 AM
Right-click on your output tunnels coming out of the For loop and un-select Auto-indexing.
For loops will by dfault use aut-indexed tunnels so you get one result for each iteration. In your case it sounds like you wnat a single value for all iterations.
Ben
11-30-2009 10:27 AM
Hi Kadeel,
"PS I tried to attache the VI as a word Doc. but the download went on forever"
Well, usually VIs are attached just like they are - as vi.
If you want to attach a picture of the block diagram you can either
- attach a "VI Snippet" (feature of LV2009) (snippets are "just simple" PNGs)
- make a screenshot of the block diagram (ALT-PrtScr to "print" just the active window [on Windows]), save the result using Paint as PNG (!) and attach it/inline it in the message
- use the CCT (CodeCaptureTool) for LV-versions prior to 2009
Whatever you choose: NEVER attach BMPs renamed to JPG
11-30-2009 01:31 PM
Thanks for that advice! I am trying to connect two numeric indicators to the attached VI. I keep getting errors - can you help?
Regards,
Kadeel
11-30-2009 01:36 PM