07-18-2013 08:23 PM - edited 07-18-2013 08:35 PM
I have noticed a minor issue that I think is a bug. It is illustrated below in the snippet:
When using the function in "Compare Elements" mode, the Min output is changed to a non-typedef. When in Compare Aggregates mode, it remains a typedef. I can't think of any reason this would be intentional. It is only a minor issue since the coercion would not be a big performance loss. The output values are correct - which is the important thing!
I am using LabVIEW 2011 SP1
07-18-2013 10:09 PM
Is this actually a snippet? Or just a screenshot?
I tried to drag it to a block diagram and it just wouldn't drop there.
07-18-2013 10:28 PM
It is meant to be a snippet. I created it using the "Create Snippet" menu option. I think now with IE you have to drag it to your desktop first and then onto the block diagram - did you try this? It works for me.
07-18-2013 10:33 PM
07-18-2013 10:38 PM - edited 07-18-2013 11:00 PM
Okay. That does sort of help.
I know what the deal is. I'm on a PC with Win7 newly installed. When I drag the snippet to the desktop, it gives me Windows security dialog asking if I want to allow the file to be copied. I say yes and it copies. When I drag the snippet directly to the block diagram, it doesn't ask me anything. Just gives a red X.
So it is tight security that I never had to deal with under WinXP. That or I managed to free it up and don't remember how. I don't know if it is because it is Win7, or if it is because of IE8 being on a freshly installed PC. Now I'll go hunt down how to free up the security.
I found it. And it seemed vaguely familiar, so I may have used it in the past. I add to uncheck Enable Protected Mode in the IE8 options menu. I also found another setting
I used the registry tip in this website. http://superuser.com/questions/52735/drag-and-drop-images-from-a-webpage-into-a-local-folder
I also found this site that was interesting, but I didn't try to use this tip. http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/dragging-dropping-pictures-text-no-mor... to see if it works or if it works better.
07-18-2013 11:27 PM
Ah true. Ok attached is a zip of the three files. It can be any typedef.
07-23-2013 10:35 PM
Now that the snippets issues are sorted - does anyone have input on this issue? Can you reproduce it? Is it a bug?
07-24-2013 03:09 AM
I see the same issue.
In addition: If the y (lower) input is a typedef'd control instead of a constant the min output will be a typedef'd indicator. Right-click > Create > Indicator still creates a non-typedef'd indicator but shows a coercion dot.
This definitely doesn't look like expected behavior.