frentzen
-
Posts
18 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by frentzen
-
-
Hi,
is there a way, to convert a string into a timestamp? The string contains dd.mm.yyyy hh:mm:ss
Thanks for any help, Thomas
-
Hi Justin,
my fault, i forgot to add the other two files. Here comes the xml-file, the java file i could not upload.
The vi shows as a result, the data from the xml-file. I need to tell people what's going on in that vi, like
first it loads the java file, then it opens the xml-file and so on. So i have to go through step by step.
If you could help a little bit, would be great.
Thanks, Thomas
-
Hi folks,
i need a pretty good discription of the added vi. It would help me a lot with my study work.
If anybody could help, would be great.
Thanks, Thomas
-
Hi,
thanks a lot for your support. The file is a .csv format (is not possible to uppload).
I really could not find the icon where you set the parameter 0 and 1. I looked through the menue and the help function.
I also did not find an icon equal to that.
Thanks again.
-
Hi,
this vi puts the data from an exel file to a table. how can i display the data in a graph?
it would be great, if somebody can help.
thanks for your support.
Thomas
-
Hi,
i need to read data from a .xls file (i can not attach the file) and i want to show the data as a graph.
If somebody can help, would be great.
Thanx for your support.
-
ZITAT(JFM @ Mar 14 2007, 01:39 PM)
I tried your VI, and it gave an error (you should really check the error outputs) stating that temproot was NULL.To make your [wiki]VI[/wiki] run without this error, I had to fix the file name from "Mean[1].20061013_123043.xml" to "Mean.20061013_123043.xml".
Hope this helps.
/J
That really helps. Thanks a lot.
-
ZITAT(Mikkel @ Mar 5 2007, 03:56 PM)
Well, then it would be natural to use a 'While Loop' around your code. If you want the path to be constant, you can use a 'Path Constant' on your diagram. Once a second (use 'Wait (ms)') you could check if the datafile's time/date has changed, and reread the file if it has. More information about loops, delays, and file operations can be found in the examples installed along with LabVIEW (Help/Find Examples...).-Mikkel
Hi,
i put the path now into the vi, but i still got the same failure notice. the german ni support told me, it runs without problems.
has anybody a solution?
Thanks a lot.
Thomas
-
ZITAT(Mikkel @ Mar 5 2007, 02:08 PM)
In stead of using a script to parse your XML file, you could try to parse the XML data (after reading it as a text file) by using the LabVIEW VIs "ParseXMLFragments.vi", "FindFirstTag.vi", "FindMatchingCloseTag.vi", all located in \vi.lib\Utility\xml.llb.This would solve the variant related problems, as well as being more clean code.
-Mikkel
Hi,
Thanks for your answears. i just forgot a little thing to mention. I want to run the vi continously with file path integrated in the vi.
the xml-file gets new data every minute and the vi should always get the new data.
thank you so far,
thomas
-
Hi,
i want to run this vi continuously , but i get the following mistake "The data type of the Variant is not compatible with the data type, which is connected with the entrance". has anybody a sollution?
i attached the vi and the xml-file i want to read.
Thanks, Thomas
-
Hi Randy,
is it possible to modify your vi in the way, that the xml file path is included in the vi?
the xml file i finally use, gets new datas every 30 secs, so the vi must update constantly.
thanks for your support,
thomas
-
Yep, ran with no problems on my PC. Do you have IE5 or above installed on your computer (the activeX object that I'm using in installed with IE5+)? What is the error message you are receiving? Also, make sure that the xml.js file is located in the same directory as the AccessingXMLData.vi, otherwise you can try the attached vi which has the javascript code embedded in the vi.
Randy
Hi Randy,
the vi now runs also on my pc. great! do you have a description for your vi?
thanks a lot man, this was a big help.
Thomas
-
Try this vi, make sure the javascript file (.js) is in the same directory as the vi. This vi will ask you to locate the xml file and then will import the data from the xml into a couple of arrays. Should demonstrate what you need to do.Download File:post-3040-1164225481.zip
Randy
Hi Randy,
thanks for your help. If I select the file, i atteched above, i get a lot of errors.
Did you try your vi with "my" file?
-
Yep - that file structure isn't going to work with the LabVIEW read primative. Have a look at the LabXML toolkit, as justin.goeres suggested.
Hi,
thanks for your reply. I have some problems with these vi's. I started the demo vi, but i could not run it. It is always searching for some files during start. Is it possible to convert the file i atteched with these vi's.
Thanks a lot.
-
Are you reading an XML file that was created using LabVIEW? The XML components of LabVIEW are only really good for reading/writing the LabVIEW XML schema, so trying to read files written using a different schema probably won't work. Can you attach a copy of the XML file you're trying to read?
Hi,
it is not a file created by LabVIEW. i attached the file.
-
hi folks,
please help me with my vi. it always say, that string entrance is not connected. any ideas?
regards, thomas
-
Hi,
i am new to LabView and i want to read data from a xml file and visualize it in a graph.
has anybody a clou how this is possible?
thanks a lot.
regards, thomas
How to convert a string into timestamp
in LabVIEW General
Posted
ZITAT(tcplomp @ Feb 7 2008, 05:37 PM)
Hi Ton,
thanks for your support. That really helps!
Thomas