From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use XML file as a input data model for 3 axis motion controller?

Hi i am new in Lab view so can any one help me regarding to my question.....please.

 

Can XML file be used as an input data model for 3 axis motion controller operated by lab view.?

 

And rether than .txt what type of files can be used as an input tin labview????

 

Regardssssss...........

0 Kudos
Message 1 of 4
(2,314 Views)

Hi Kami,

 

you can use all types of files - as long as you know their structure...

 

When you know, how the data is formatted you can parse the file accordingly. That's all you need to know!

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,305 Views)

Hi tq.

 

Can u guide me regrding to configuration of file...how can i configurate the file ....for example i have sample file as shown below. at the end in (()) are the values of movement in X,Y and Z direction ........how can i use that type offormat in labview for operating my robot system ??????

that one is in txt format similary i want to use for XML ???

DATA;
#1 = DIRECTION ( 'NONE',  ( 0.0000000000000000000, 0.0000000000000000000, 1.000000000000000000 ) ) ;
#2 = CARTESIAN_POINT ( 'NONE',  ( 20.00000000000001100, 11.00000000000000400, 17.50000000000000000 ) ) ;
#3 = CARTESIAN_POINT ( 'NONE',  ( 6.938893903907228400E-015, 10.00000000000000200, -15.00000000000000200 ) ) ;
#4 = DIRECTION ( 'NONE',  ( 0.0000000000000000000, 1.000000000000000000, 0.0000000000000000000 ) ) ;
#5 = DIRECTION ( 'NONE',  ( 0.0000000000000000000, 0.0000000000000000000, 1.000000000000000000 ) ) ;
#6 = CARTESIAN_POINT ( 'NONE',  ( -9.999999999999991100, 11.00000000000000400, -1.499999999999999600 ) ) ;

0 Kudos
Message 3 of 4
(2,267 Views)

Hi how can I convert .txt data into other .txt arrangement.

In attached firgure, There is data at right hand side in text format , i want to convert that into the arrangement like at right hand side text format......

Can anyone plz guide me how to do that????

 

regards

 

0 Kudos
Message 4 of 4
(2,237 Views)