11-10-2016 12:36 PM
I have a 2D treating plant graphicdisplaying pumps, valves, tanks and pipes. The pipes require control over the color, size and location during development and programmatically. I have stumbled on the simple string indicator which works fine as a pipe but I cannot get the pixel size below 5 for my small pipes. Any ideas, thanks.
Solved! Go to Solution.
11-10-2016 12:48 PM
Have you tried using decorations, instead?
11-10-2016 01:17 PM
I have and still see the same limitations.
11-10-2016 03:13 PM
Would a picture ring work?
http://zone.ni.com/reference/en-XX/help/371361N-01/lvhowto/addingpictitemstoringcntrl/
You can make the pipe image as small as you like. You can also play with matching picture background colors if the sizing is not ideal.
11-10-2016 04:04 PM
That is a path but a rough one. I would like to keep the control as simple as possible because there will be 20-100 pipes on 1 vi. The pic box will give me a small pipe but not the flexibility as I would like. I just can not see how all the decoration, indicators and controls are locked into a min of 5 pixels.
11-10-2016 04:16 PM
make your whole pipe system as ascii art, then the pipes can be quite thin
11-11-2016 03:22 AM
You could use the 2D functions to paint the systems as a big picture and in that process change tubes and similar.
/Y
11-11-2016 07:20 AM
If I had 1 graphic to build I could see that approach as a cool project but I have 100's and need something higher level.
11-11-2016 07:24 AM
That was my bail out. Big pipe network 2D Image and overlay the pumps,valves, tanks...that need to show visual changes but I was hoping to avoid that approach. It just adds another layer I was hoping to avoid.
11-11-2016 08:49 AM
I was able to make a decoration this small (compared to a standard numeric input for scale). I can't think that anything smaller would be even useful.