LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview and amcharts

Solved!
Go to solution
i'm not have a VI. the problem is that i don't know how  use the xml file that  make labview

and the other problem is that xml  file that make labview isn't the form that recognized amchart  and i don't know why

i suposed  that xml is a standar

i think that the problem is amchart
0 Kudos
Message 11 of 30
(1,749 Views)

Are you referring to this: http://www.amcharts.com/ ? If so, that's a Flash chart, intended to be used on web sites. This means you need to be able to host a Flash player. To do this you need to place a Flash player inside of an ActiveX control. Search the NI site, as this has been discussed before. However, the details on using this particular control are not covered since nobody has ever brought this up. You would need to look at the documentation for the control to see how to use it.

 

What kind of chart are you trying to make? Have you looked at the chart examples that ship with LabVIEW? Are you sure you can't get what you want from those?

0 Kudos
Message 12 of 30
(1,744 Views)
Yes, I'm trying to do
The idea is to make graphics on a website which show the behavior of our process, indeed are our variables.

we generate a table with labview and that the tables are defended with amchart.

I looked in a document if they do, but i dont know how make it......
only mention that create an xml file, using amchart, but he did not say how
0 Kudos
Message 13 of 30
(1,734 Views)
The web site contains several examples of formats for the data files. For example, there is the data for a column and bar chart. The CSV file is quite straightforward and you can generate that using the Write to Spreadsheet File VI, as already mentioned. If you want to generate the data in XML format then you will need to use the XML VIs that LabVIEW has to create the XML file. The CSV file is far easier to create, so I would suggest starting with that first.
0 Kudos
Message 14 of 30
(1,728 Views)

Interesting thing about that link you just posted.  It says CSV files (meaning comma separated values), but the values are separated with semicolons.

 

So would that be an SSV file?  Or SCSV file?

0 Kudos
Message 15 of 30
(1,717 Views)
I suspect they're probably using semicolons so there's no issue with the decimal separator being a comma in some countries. Technically, though, it's not strictly a CSV file. They're obviously being a little "loose" with the terminology.
0 Kudos
Message 16 of 30
(1,690 Views)
well, I'm working with a LabVIEW example that generates an xml file, I tried to upload to amCharts, but this tells me that "error data".

What happens is that I have problems to generate the code in amCharts, I think it would be easier if you generate a csv file.

What I need is a complete example of how to create from the program in labview to generate the graph in macharts
0 Kudos
Message 17 of 30
(1,688 Views)
i don't think that is the  comma, because  xml is a standard
maybe you have the reason, so is the labview that not generated good xml file standard
0 Kudos
Message 18 of 30
(1,682 Views)
I think you misunderstood what we're saying. You would use LabVIEW to create the data file, not manipulate amCharts. One of the script variables in the code that's in the web page is the name of the data file file to load. That's the file that you need to generate. amCharts should do the rest. At least, that's the way I understand it. Where is your data coming from? What is your difficulty in generating the "CSV" file? You said you generated an XML file. What does this look like? Is it in the same format as what amCharts expects? Can you show us the LabVIEW code and the XML file you generated?
0 Kudos
Message 19 of 30
(1,681 Views)
xml is as expected amCharts
labview file is generated

I attached the file I am using
0 Kudos
Message 20 of 30
(1,679 Views)