From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can sliders control points on a XY Graph - Please help.

Good morning LabView Forum,

 

The aim here is to have eight sliders (Vertical Fill Slide) to control the positions of 4 points on a graph. I want the graph to control a stepper motor's Ramp Up, Move and ramp Down.

 

screenshot_2016.jpg

 

It is very easy to see I'm just starting out with LabView, so my ideas could be a bit off and could point in the wrong direction. I'm trying. I'm an artist so it makes sense.

 

Currently, I'm changing a working system where a simple Knob is used to control a Graph and the motor. This works well and the Slew control does its stuff! An image of the .VI is below.

 

As always I will attach the files.

 

Please help.

 

M

 

screenshot_2013.jpg

 

screenshot_2012.jpg

 

 

screenshot_2015.jpg

Download All
0 Kudos
Message 1 of 7
(3,809 Views)

I worked it out eventually. Lots of YouTube watching. I'm learning.

 

screenshot_2019.jpg

0 Kudos
Message 2 of 7
(3,773 Views)

Hey there,

I see you seemed to have worked it out. I'm unsure how you went about it, but I thought I'd put up an example of how I would have done it from your initial image. If you build the slider values in to the two arrays for X and Y values that will allow you to control each point individually.

 

Hope this helps!

 

Nic

--------
Nico
Systems Engineer

Certified TestStand Architect Certified LabVIEW Architect

0 Kudos
Message 3 of 7
(3,732 Views)

Hello Nic,

 

Thanks for the help!  

 

I am learning slowly. It is hard when you don't know something and 20 helpers come along and they tell you 10 other things you don't know or understand. ;o). It takes time to piece everything together.

 

I would like to see your VI file, but it's for a later version. I'm on 2014 home student.

 

I am making good progress and want to learn more.

 

I got this working by taking bits from other topics and stitching them together.

 

Please keep helping! I am 54 now and learning is slower.

 

Mscreenshot_2081.jpg

0 Kudos
Message 4 of 7
(3,730 Views)

Apologies!

 

I took a stab and saved it for 2015, wasn't quite enough. Here it is for 2014.

 

Nic

--------
Nico
Systems Engineer

Certified TestStand Architect Certified LabVIEW Architect

0 Kudos
Message 5 of 7
(3,728 Views)

Yes! That is what I was trying to do.

 

I will work with that and play!

 

Many thanks again!

 

M

0 Kudos
Message 6 of 7
(3,725 Views)

Happy to help.

 

Always come back if you have further questions.

 

Nic

 

If a response answers your question, it's good to mark it as a Solution, it helps others find the answers faster as well 🙂

--------
Nico
Systems Engineer

Certified TestStand Architect Certified LabVIEW Architect

0 Kudos
Message 7 of 7
(3,722 Views)