LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

x-y plotters

Hello, sorry am new to this. I am a student doing mechatronics and i have built an x-y plotter. There are 2 axis controlled with stepper motor using a 7344 motion control card. I have managed to get the coordinates of the mouse in matlab script and fed these so that the plotter follows the position of the mouse. I would ideally like to expand on this and I have created sine wave charts in matlab script and got them into labview but I would like to output this wave so that i can get the plotter to draw them. I can read the values in 1D arrays but they all come at once with the matlab code i have so I would like to split them or delay them until the plotter can run and follow their coordinates. Sorry again about the bad description but if anyone has any suggestions on how to properly output them or even any ideas how this could be expanded I would appreciate it.

0 Kudos
Message 1 of 4
(3,261 Views)

deck wrote:

Hello, sorry am new to this. I am a student doing mechatronics and i have built an x-y plotter. There are 2 axis controlled with stepper motor using a 7344 motion control card. I have managed to get the coordinates of the mouse in matlab script and fed these so that the plotter follows the position of the mouse. I would ideally like to expand on this and I have created sine wave charts in matlab script and got them into labview but I would like to output this wave so that i can get the plotter to draw them. I can read the values in 1D arrays but they all come at once with the matlab code i have so I would like to split them or delay them until the plotter can run and follow their coordinates. Sorry again about the bad description but if anyone has any suggestions on how to properly output them or even any ideas how this could be expanded I would appreciate it.


First,  We frown on doing homework.  We enjoy helping LV users develop an understanding of LabVIEW concepts.

 

If you have looked in the examples AND started something (even if it does not work) ask a specific question about code that WE can see (go ahead and post your code-- it helps)  

 

GOMOTDx2


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 4
(3,252 Views)
If you have 1-D arrays, you will need to use Index Array to extract individual elements and do it in a loop (with your needed time delay) to send the data to the plotter.
0 Kudos
Message 3 of 4
(3,233 Views)
Thanks Raven for the help, managed to get that working the indexing array. It worked fine and i've since managed to expand it further to draw any wave from matlab
0 Kudos
Message 4 of 4
(3,169 Views)