I know Labview offers a method of dragging data from one control/indicator and dropping it in another, but is there a way to drag external data (say, a .png from your desktop) into a Labview control? Does it allow dragging of multiple files?
well, pictures are a little odd. There isn’t an easy way (that I know of) by just dragging and dropping like that. believe me, I’ve tried. One way you CAN get an image in Labview is by copying all the image data (like in paint), and inserting from clipboard (or some other wording). There may be another way with image controls, but I haven’t really cared too much to look into doing that.
Is there a way to just get the name or filepath of the image?
Drag and drop from OS clipboard works well to the path control. Drop a path control and hook it to the picture control VI for loading PNGs or JPGs, then to the Draw Flattened Pixmap.
Ah, that would make sense, wouldn’t it?
Is there a way to do the multiple-item drop?
I don’t know of a simple way to do the multi-item drop. There are more complex events and stuff for drag-n-drop, but I haven’t used them. You might look at the examples for drag drop and see if it is one of the things shown.
Is there a way to get the file paths of a folder’s contents?
Yes. It is in the Advanced File palette. One is called List Folder. There is another for recursive file listing.
I don’t know if you have ever used the palette search. It isn’t great at keywords, but if you click on the search and try a few alternate names for the operation, it usually shows you where it is.