Velmex stepping motor with Labview

855 views
Skip to first unread message

Laia Torregrosa

unread,
Jan 18, 2013, 5:19:56 PM1/18/13
to
Dear All,

We are trying to controll with Labview a stepping motor controller which is moving a Velmex Bislide. We want to have a screen where we can change the number of steps, velocity, etc. Finally, we want to implement a thermocouple in one of the arms.

We had the Velmex drivers but they are connecting with COSMOS program and we don't want to use it.

Can someone help us? Do you know any example?

Moderator Edit: (Code not shown)

Minimum Code to Run.pruebas.zip

VelmexControls

unread,
Jan 18, 2013, 5:22:39 PM1/18/13
to velmex-...@googlegroups.com

Laia,
You did not attach any code to work with, however I did happen to see your post at the Labview Forums and added the code to test

Charles Emrick

unread,
Jan 18, 2013, 5:59:13 PM1/18/13
to velmex-...@googlegroups.com
I do not know much about Labview, but working with Velmex on my own problems I have discovered a trick or 2

1.) You should make the VI more readable, I discovered that if you right-click on the icon and uncheck the "Show as icon" option then you can see all the connection points in an order that is less likely to miswire the VI

I will look at the code again once I readjust it to be more readable (At the moment I see what may be mistakes or just not understanding)

I will post again soon

Charles Emrick

unread,
Jan 19, 2013, 10:05:13 AM1/19/13
to velmex-...@googlegroups.com
Attached should be the "Minimal Code to Run.zip"
Re-Written to more easily see which inputs are wired by not showing the VI as icon
Minimum Code to Run.zip

Laia Torregrosa

unread,
Jan 22, 2013, 12:51:07 PM1/22/13
to velmex-...@googlegroups.com
First of all, thank you very much Charles for all your help. But, I have a problem I have Labview 8, How can I open the file?

Thank you very much,

Laia

VelmexControls

unread,
Jan 22, 2013, 3:10:31 PM1/22/13
to velmex-...@googlegroups.com
Laia,
I looked at Charlies code and saved it for version 8 so that might help somewhat.
I am also looking at what it would take to use VISA but finding conflicts between 32bit and 64 bit and the idea that I would have to save 7 copies (one for each version) for 32bit and another 7 copies for 64bit

When its the exact same code????

Anyways, give the attached code a shot (should work in version 8 if I got it right

Labview Select Distance Speed.zip

Charles Emrick

unread,
Jan 23, 2013, 2:06:41 PM1/23/13
to velmex-...@googlegroups.com
Laia,
I saw your post about "Do you think that it is possible to use LabJack instead of VISA?"???

I have never heard of Labjack, but taking a quick look it would appear to add more complexity to a user that does not understand the basics of serial communication.

From the Labview forums I found a post (names removed to protect the innocent)
"A quick sanity check would be to run this with your controller on: Find All COM VISA Resource Names at http://zone.ni.com/devzone/cda/epd/p/id/2757"

I gave this a shot and thought it would work, but it did nothing? (I wonder what I missed?)

Laia, can you post what you have working? and did you check out the code that Velmexcontrols posted? That may simplify things?

Laia Torregrosa

unread,
Jan 23, 2013, 2:13:38 PM1/23/13
to velmex-...@googlegroups.com
My question was wrong, sorry about that. I am trying to use VISA and a LabJack U3 for connect a Thermocouple.
The file of the post is working but it is not the solution for me.

Now I have some little new subVI for make the things better but I willl not use Velemex code.

Thank's,
Laia

2013/1/23 Charles Emrick <NY.R...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Velmex Controls" group.
To post to this group, send email to velmex-...@googlegroups.com.
To unsubscribe from this group, send email to velmex-contro...@googlegroups.com.
Visit this group at http://groups.google.com/group/velmex-controls?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.



adag...@gmail.com

unread,
Sep 30, 2016, 12:54:56 PM9/30/16
to Velmex Controls, laiatorr...@gmail.com
Hi Everyone,

I am trying to use LabView to control my VXM Stepping Motor Controller. I am very new to LabView and was wondering how all the code attached to this group works. I've downloaded the code and tried to run it but came across a bunch of errors that I'm not sure how to fix. If anyone could give me a quick rundown on how all the code works or if I'm missing any sub VI that would be much appreciated.

Thanks!

Velmex Support

unread,
Sep 30, 2016, 1:53:36 PM9/30/16
to velmex-...@googlegroups.com, laiatorr...@gmail.com
Unfortunately, you did not attach any code or screenshots of the code to determine where the problem might be?
What errors are you getting (codes etc)???
Best guess is that you are likely trying to communicate with the incorrect port


Reply all
Reply to author
Forward
0 new messages