From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Read the data from txt file and move the motor to that data

Solved!
Go to solution

Right now ,  I got the table and i already read that from txt file and I want to read the data from table and split up the element by 3 parts corresponding (3 axis : X , Y , Z ) and I could carry out the data transmission to move the motor in that position. and the processing will be repeated after finishing the first point

0 Kudos
Message 1 of 3
(2,791 Views)
Solution
Accepted by topic author tihai1992

Hey, the Index Array funciton might be what you are looking for. Here's the link to documentation for that function. 

 

Index Array Function

https://zone.ni.com/reference/en-XX/help/371361L-01/glang/index_array/

Saki K.
Applications Engineer
0 Kudos
Message 2 of 3
(2,761 Views)

I appreciate your help. I already handle that 😄

0 Kudos
Message 3 of 3
(2,750 Views)