LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vertically translate 2D sphere using force output.

Solved!
Go to solution

Hello,

I was wondering if anyone knows how to translate a 2D sphere in LabVIEW using force output from a sensor in real time. I would ideally like to have a target sphere oscillating up and down at a set frequency and amplitude with a 2nd sphere controlled by force output in real time. The goal is to test ones ability to track a visual target. I'm good doing this using waveforms, but I'm working with children and would like to simplify the task by using objects on the screen instead of waveforms.

Liddy

0 Kudos
Message 1 of 3
(2,267 Views)

Well, if all you need is to be able to "follow the bouncing ball" perhaps all you need is a slider control with the slider modified to look like your ball, and everything else turned invisible. You would have to set the range of the indicator to match your expected inputs.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 3
(2,229 Views)
Solution
Accepted by topic author Liddy

Look into the picture control (actually an indicator).

 

It's basically a canvas that you can draw to. Primitives like circles, lines, rectangles are an option, but bitmaps (.jpg, .png, .bmp) are also possible.

 

Not as easy as a slider, but more flexible.

 

For moving the sphere, you can either redraw a circle, or change the origin of the picture.

0 Kudos
Message 3 of 3
(2,220 Views)