Labview real time Visa read

70 views
Skip to first unread message

mohammad sohrabi

unread,
Dec 4, 2014, 7:51:24 PM12/4/14
to velmex-...@googlegroups.com
Hi,
I have a Velmex unit and using commands to communicate through Labview. Here is the process, I need to set the controller to Zero when hitting the limit switch, then wait for a few seconds, start scanning and at the same time acquiring signal off of my Data Acquisition system and plot this vs the length of the scan.
I use this for homing:
"F,C, S2M1000, I2M-0, I2M400, IA2M-0,R"

Then I'd like to have the motor go to another loop and does the other job for me only after making sure the first one is done, meaning how can I get the controller send me a report of where it is and what position it has so that I can direct the program to the next step according to the situation.

Thanks,

Velmex Suppt

unread,
Dec 5, 2014, 8:23:10 AM12/5/14
to moh...@gmail.com, velmex-...@googlegroups.com
The "X","Y","Z", and "T" commands are for getting position (only "X" and "Y" will respond if the motor is moving) and reading position while the motor is moving is worthless anyways because the motor is no longer where it was when it responded to the the request.

A better way would be to run your homing routine, wait for the VXM to send you a Caret "^" to indicate it has finished and then run your next routine and wait for the caret "^"  and repeat.

See the Velmex Forums for more details (particularly the "Position on-the-fly" discussion)

-------- Original Message --------
Subject: Labview real time Visa read
Date: Thu, 4 Dec 2014 16:51:24 -0800 (PST)
From: mohammad sohrabi <moh...@gmail.com>
Reply-To: velmex-...@googlegroups.com
To: velmex-...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Velmex Controls" group.
To unsubscribe from this group and stop receiving emails from it, send an email to velmex-contro...@googlegroups.com.
To post to this group, send email to velmex-...@googlegroups.com.
Visit this group at http://groups.google.com/group/velmex-controls.
For more options, visit https://groups.google.com/d/optout.



Reply all
Reply to author
Forward
0 new messages