Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a value to a slide randomly and continuously using measurement visual c++?

i would like to generate a signal to a slide randomly and continuosly when start and stop function is pressed. How to do this part of coding and what type of datatype in this software should be used?
0 Kudos
Message 1 of 2
(2,878 Views)
You can use a timer and generate a random value and set it to the slide in the WM_TIMER message handler. I think the Control Metrics example that ships with Measurement Studio for Visual C++ behaves similar to what you describe and that's what it does. Check it out under the Examples\UI\Common\Control Metrics subdirectory of your Measurement Studio for Visual C++ installation directory.

- Elton
0 Kudos
Message 2 of 2
(2,878 Views)