drakhri
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by drakhri
-
-
-
Another possible solution would be to use the Eval Formula Node vi. It's functionally similar as a formula node, but would also have the formula already in string format as an input.
-
You are correct. Could set the image default after displaying it. Perhaps a duplicate constant is the simplest & cleanest way.
Using the code above, you could save each image in a key-value arrangement using Variant Attributes or other data structure. Setting the key as [VI nameformula-name] and the attribute value as the image itself. Have this sub-vi load it's previous value on execution. Then a simple get function would allow you to see the images in the RTE.
A lot of complexity for a simple multi-line string, but it would work.
-
Can use the invoke function on the VI reference to get an image of the block diagram. This could be made into a reusable sub-vi that works off it's parent reference.
Not sure of a good way to automatically determine the size/location of the formula node, however, so it's not ideal.
Display images in sequence
in LabVIEW General
Posted
It looks like you already have all the pieces... I'm not exactly sure what you're having a problem with. If the directory matches whats in the DB, you could just do an index on the path column in the DB data, do 1d array search on the path, then select the entire row out of the 2D DB data for display.