07-06-2015 02:13 PM
Hi all,
Im developing a LabVIEW built cutomer application.
What I want to accomplish is a GUI showing a signal path (picture of processing blocks and connecting wires) that can be dynamically modified an also be clickable.
In my mind I was picturing a solution involving an ActiveX-container holding a HTML object. The HTML object is a local .html file with svg shapes forming the processing blocks and wires. Unfortunately the Microsoft Web Browser ActiveX container implemented in LabVIEW does not support svg and that's why I'm looking for another solution..
Solved! Go to Solution.
07-08-2015 12:14 AM
07-08-2015 03:11 AM
Most likely, the best option for you is using the picture control VIs. You can use them to draw arbitrary shapes (boxes, lines, etc) programmatically and you can use Mouse Down events to know where the user clicked on the picture and to implement things like click and drag.
Be aware that the picture control essentially defines a picture as a series of commands (opcodes and data) and it's not super efficient, so you should probably make sure not endlessly modify the same picture, but rather use a base picture and then add to that.
Another alternative implementation for something like this is something like the .NET picturebox, but that might be more complicated.
07-08-2015 03:43 AM
tst,
I think picture controls will do the trick. Thanks!
/Jon