12-08-2016 03:21 AM
Could you help me check the below code to me , this code have just been worked for 2D file (X ,Y axis) , but I want to change it can be worked for 3D file . This file have already been read the text file and move the motor follow that position . I have already checked this file with 2D file , It is also working but when i add more than 1 axis and use the 3d text file data . It can't be work. Can you explain to me for that ?
12-08-2016 03:58 AM
The above file belong to it file
12-08-2016 04:58 PM
Are you encountering any kinds of errors when you try to use a 3D file instead? If you just need the code to read from a file and perform the associated motion, you can generate a VI from motion assistant to do that. There might be more changes that have to be made to the code to handle 3 dimensions instead of two, but they aren't immediately obvious.
12-09-2016 12:26 AM
Hi Eden K
I have already tried it , The first one , the machine also working but after 3 -4 second , Two motor ran too fast and hit to the limit position . and I want to make a application for my machine like 3d printer than use the NI motion assistant.
04-24-2017 09:35 AM
This is my link video , I had already explained all of my program .
Thank you in advance , I hope someone can help me to fix that , this is my important problem . I searched some ways to fix that . And According to me , I heard we can use PID to control the ON - OFF relay , because I thought my problem was related to the time running of the loop so that can't be catch the exactly the specific position (that's overwhelmed the point ), but I never tried that before.
Thank you in advance.
04-25-2017 02:29 AM
This is my link video , I had already explained all of my program .
https://www.youtube.com/watch?v=jnMkTM8xRr0&t=90s
I hope someone can help me to fix that , this is my important problem . I searched some ways to fix that . because I want to change the ON-OFF value of relay but it's not change the ON-OFF relay when the program have already run. And according to me , I heard we can use PID to control the ON - OFF relay , because I thought my problem was related to the time running of the loop so that can't be catch the exactly the specific position (that's overwhelmed the point ), but I never tried that before.
Thank you in advance.
04-25-2017 05:09 PM - edited 04-25-2017 05:14 PM
Hi,
I'm sorry, I really don't know what your question is. Is your question about the error that you got at the end of the video? Or something about the code not changing the relay?
It would really help if you could narrow down the code to a small example to show the issue that you are encountering.
EDIT: Actually, I just realized that this forum post is in the general LabVIEW forum. Please create a new forum post in the motion control forums, as you'll receive more attention from people who may actually work with motion hardware & software.
Regards,
04-26-2017 01:44 AM
Thanks for your support , I will create a new topic in motion control forum , But Do you have any solution in my program . It's mean I want to compare 2 of value position each other to change the boolean value .