LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for Better User Interface Controls

I'm working on an Labwindows CVI application where a tachometer meter with a
programmable "red-line" affect to define safe running conditions is desired.
The controls available in the Labwindows palate provide a meter control,
however, no capability exists for customizing it. A conversation with NI
Tech support resulted in confirmation that my desire could not be realized.
Is anyone aware of additional user interface libraries (internal to NI or
available comerically) that may help me?

Thanks in advance,

Bob
0 Kudos
Message 1 of 2
(3,211 Views)
I'm not sure if this helps, or how you would drop it onto a CVI interface,
but I found something in National Instruments ComponentWorks which might
work. I did this in Visual Basic and ComponentWorks, and don't know if there
is a similar object in ComponentWorks++. What I did was open up a form and
add a CWKnob component to it. The CWKnob has several pages of properties
which you can use to customize it at design time, and you shuold be able
to access them and change them programmatically at run time also (like changing
the red line position). Instead of the default view of the CWKnob, I went
to the Style sheet and selected 'Dial', which makes it look like a meter.
Then I went to the Pointer sheet and added another pointer, Pointer-2.
I selected the Fill Style to
be 'Fill to Maximum', and the color red. This
puts a second point on the meter, where everything above the pointer to the
max value is a red band. To hide the pointer and only have the red band,
I set its Style to 'None'. You can set its value (red line) on the property
page, and I expect you can do this programmatically, too, although I didn't
take the time to try it out.

Hope this helps,
Dave

"Bob Weiss" wrote:
>I'm working on an Labwindows CVI application where a tachometer meter with
a>programmable "red-line" affect to define safe running conditions is desired.>The
controls available in the Labwindows palate provide a meter control,>however,
no capability exists for customizing it. A conversation with NI>Tech support
resulted in confirmation that my desire could not be realized.>Is anyone
aware of additional user interface libraries (internal to NI or>available
comerically) that may help me?>>Thanks in advance,>>Bob>>
0 Kudos
Message 2 of 2
(3,211 Views)