LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I do to make an interactive user interface?

I have to make a virtual laboratory, with a oscilloscope, multimeter, function generator and power supply, i don´t know how can interconnect the different outputs of the devices, How can I draw for example a probe and put it in the function generator output if i want to show the output signal of the function generator?
THANKSSSSSSSSSS
0 Kudos
Message 1 of 2
(2,967 Views)
Well, dynamically drawing objects on the screen isn't one of LabVIEW's strong suits, imho. I suppose you could put a picture control on the front panel and draw the connections but I would assume you also want the front panel to display the controls and indicators of the instruments as well. With the picture control on top, you can't directly click on the controls so you'd have to do a lot of work detecting mouse clicks, determining coordinates, and programtically activating controls. If you're willing to forgo the graphical look of wires connecting inputs and outputs, a table representation would be a lot easier to implement. One column could represent an instrument's output and another column would be an instrument's input. Have something like a "Create Connection" button that pops up a list of possibilities and let the user add and delete them. I have done graphical representation of matrix switches using lines from the decorations palette. The program changed the color of the lines as the user made desired connections. The instruments were represented as Booleans that the user had to click to configure and view results. If that sounds like it might work, let me know and I'll try and find the code I did. It was pretty tedious to do as well.
0 Kudos
Message 2 of 2
(2,907 Views)