06-11-2010 06:22 AM
Hi,
I'm trying to add an NI SOFTMOTION TABLE in my project using a text file containg the data of the points that I want to use to perform a contour move and, Labview opens it but returns an error message to me ''ERROR READING FILE''. Actually, I can see all my points in the table in Labview but it creates one more row at each column where a message ''unreadable'' comes written.
Any idea of how to solve it?
Thanks in advance!
Solved! Go to Solution.
06-11-2010 06:31 AM
06-11-2010 06:36 AM
Hi srikrishnaNF,
Thanks for your reply. Attached you can find the printscreen of the situation (the error message that I get) and also the file that I'm trying to read.
Regards,
Massalamano.
06-11-2010 09:03 AM
06-11-2010 09:10 AM
Just shooting in the dark:
from the picture it seems that there is a problem with the last line of the file,
that incidentally is an "empty " one (only an end of line).
What happens if you remove this empty line?
Marco
06-11-2010 12:49 PM
Hi everyone,
I'm trying to control from Labview the motion of a mechanism that I've designed in Solidworks. Actually I've done it. The problem is that I'm now trying to perform a contour move. In the project manager window I have to add an ''NI SOFTMOTION'' table. As NI says in a tutorial, I have to write the values for the table in a text file. I did it... Then I just have to go to the Labview project manager, right click on my ''computer'' and select ''new'' and choose ''NI SoftMotion Table''. That's how that window comes up! Then I have to upload the file... That's when I get that error message.
I really don't know how I could eliminate a free space...
I hope I've explained it better and you all could understand it and help me to find a solution.
Thanks to all of you!
06-11-2010 12:56 PM
06-11-2010 01:30 PM
Thank you everyone for your help. It's ok now. The problem was exactly with the two empty lines at the bottom of the table.
Once again thank you!