Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Two Pointer CWKnob

How can I get the values of pointers in a 2 pointer CWKnob without using CWKnob1_PointerValueChanged event. When ever I use CWKnob1.Value, it defaults to Pointer #1 value. How can I read the value for Pointer#2? I have attached a PDF to help explain.
0 Kudos
Message 1 of 4
(3,190 Views)
You can index into the Pointers collection and get the Value property for a particular pointer index, like so:

CWKnob1.Pointers(2).Value

Abhishek Ghuwalewala
National Instruments
Abhishek Ghuwalewala | Measurement Studio | National Instruments
0 Kudos
Message 2 of 4
(3,190 Views)
I have found the solution using
CWKnob.Pointers.Item(1).Value
0 Kudos
Message 3 of 4
(3,190 Views)
Thank you for your prompt reply.
I found the solution before looking for your response.
Thanks again,
0 Kudos
Message 4 of 4
(3,190 Views)