08-05-2011 05:41 PM
The attached JPG shows two circled instances of a VI labeled "AO ONE PT" which is AO Update Channel.vi. In total there are known to be 11 instances in this VI. The bottom half of the picture shows the "Find" window.
If I select the left instance and run Find, I find only that one instance - none of the others. If I select the right instance and run Find, it finds 10 instances but not the left one.
Personally, I think this is rather strange. I have confirmed this behavior in both LabVIEW 2010 and LabVIEW 2011 on a computer running WinXP SP3. I have even rebooted between trials.
The primary difference between the two instances is that the left one is outside the main loop.
This is a very complex VI (from my point of view) and belongs to a third-party. I have not explored whether other objects exhibit this same problem.
Can someone explain this to me? I rely heavily on the Find tool.
Solved! Go to Solution.
08-05-2011 06:41 PM
The two VIs you circled are not the same - note that they have different icons. It's been a long time since I used traditional NI-DAQ so I can't tell you what the difference is between them, but it appears to me that the search is working properly.
08-05-2011 10:37 PM
08-06-2011 01:10 AM
I really hope that isn't what your actual block diagram looks like with that horrible black backgrouind color.
08-06-2011 12:42 PM
@Ravens Fan wrote:
I really hope that isn't what your actual block diagram looks like with that horrible black backgrouind color.
The image is obviously a negative. Maybe the OP skipped a step when developing it? 😉
I didn't bother inverting it back, but I'm assuming it has the default LV colors. Certainly the blue and orange/yellow/red seem to match what I'd expect.
08-08-2011 11:03 AM
It did come to me in a dream this weekend that they might not be the same VI. Unfortunately, they are both labeled (in the icon) as "AO One PT" and the only difference in one squiqqle which is nearly impossible to notice (still no ZOOM in LabVIEW [I know why and the answer is still not good enough]).
Thank you for bringing this to my attention and restoring my faith in FIND. I have no idea how the background color got reversed. It was certainly not my intention.
Apparently AO Update Channel.vi update one channel with one value and AO Update Channels.vi update multiple channels with values from an array.
This was not so easy to figure out because LabVIEW 2010 shows Detailed Help for these VIs - LabVIEW 2011 shows the context help but without the "Detailed Help" link.