01-10-2019 08:56 AM
Hi,
I'm trying to run the "Getting Started with Labview" tutorial project (http://www.ni.com/pdf/manuals/373427j.pdf). I am running Labview 2016. When I place a knob or slider control on the block diagram instead of getting any sort of graphic I just get a small orange text box. After I hook up the wire to the input of the Simulate Signal box the amplitude is stuck at whatever value is in the box when I run the program. I am unable to adjust the amplitude of the sawtooth wave in real time. I have to stop the program, update the value in the orange box, then run it again. I am unable to add any graphical control to the block diagram including: sliders, knobs, or switches.
Am I missing some sort of dependency? Is it possible that the installation of LabView is not correct? Any suggestions would be greatly appreciated.
Thanks,
Greg
Solved! Go to Solution.
01-10-2019 09:02 AM
Hi Greg,
When I place a knob or slider control on the block diagram instead of getting any sort of graphic I just get a small orange text box.
Two notes:
1. Front panel elements (like knobs and sliders) should be placed on front panels, but NOT on block diagrams!
2. You get a numeric constant in the block diagram, which is - ehh - constant…
01-10-2019 09:05 AM
The graphic part of control objects live on the Front Panel. What you see is the Block Diagram counterpart of the control, named Terminal.
Usually you place controls directly on the Front Panel, then switch to the Block Diagram (ctrl+E is a convenient accelerator to go forthh and back between FP and BD) to add more code.
01-10-2019 09:06 AM
Ha! Thanks for pointing out this newbie mistake. I appreciate the quick reply.
01-10-2019 09:07 AM
There is a setting to place Controls and Indicators as Icons (or not) on the Block Diagram. It is usually "On" (Icons) by default -- the first thing I do when I install LabVIEW for myself is to turn it off, as I like the little symbols, know the "color code", and choose meaningful names so I'll "know" what they are.
But to turn them back on as Icons:
New Controls/Indicators will show up as Icons. Turn turn existing "non-icons" into icons, right-click them and select "View as Icon".
Bob Schor