05-22-2009 05:26 AM
Hi,
I am using LabVIEW 8.5. i have done 1 project so far in which i have used Excel for performing complex arithmetics and then reading result
through labview. I am just curious about Xml. For what purpose it can be used? is it a good alternative for excel? because i read on internet
that xml execution is faster than .doc and .xls files? Can we use it as database for labview application?
Please help
Thank you
Gaurav
Solved! Go to Solution.
05-22-2009 10:11 AM
That's not quite what XML is. XML isn't Excel. It doesn't perform calculations. It's used to share and transport data. See XML.
I'm curious as to what these "complex arithmetics" are, and why they can't be done in LabVIEW.
05-22-2009 05:43 PM
Do you mean 'complex' as the technical definition, meaning it involves imaginary numbers?
Or do you mean 'complex' as in 'complicated'.
Either way, I'm almost positive it can be done in LabVIEW.
05-22-2009 10:25 PM
Hi,
Thank you for replying. by'complex' i mean complicated. i know it can be done in LabVIEW but to reduce the code i did it in Excel because it comprises of lots of conditions, equations and interlocking. What do u mean by transport data? Where it can be transported? and according to you i can not use xml file same as that of Excel file, right?
Thank you
Gaurav
05-22-2009 11:17 PM
Transport as in a format to pass data from one PC to another or one application to another.
Excel is a spreadsheet application. It stores its data in a strictly binary file format with an extension .xls. The latest MS Office applications can also store their data in a text based file format of XML and have extensions like .xlsx.
XML is just a format for storing data, it has nothing to do with calculations. LabVIEW can do calculations as complicated as Excel can. I would say it even has more complicated functions built in that the MS Excel application does not have.
Why are you concerned about an XML file? Instead of comparing apples to oranges (i.e. file formats to applications), please tell us what kind of calculations you are trying to do. The calculations have absolutely nothing to do with file formats.
05-24-2009 01:45 PM - edited 05-24-2009 01:46 PM
Take a look at the functions in the Mathematics menu of the function pallette.
You can run full mathscript and matlab scripts to do calculations, you can even run Python code using functions from OpenG.
There are also functions for curve fitting, linear algebra, differentiation/integration, differential equations.... you name it.
Can you tell us specifically what math you are trying to do, so we can give you better advice?
05-25-2009 11:40 AM
hi,
thanks for replying. I have just 8 monts experience in labview so i have not explored all functions of labview.
As you said, we can do more coplex calculations in labview. so i will try n find the way.
newaz thanks a lot
Gaurav k