Thursday, 14 November 2013

Converting Random Data to Json File in LabVIEW

I have created a small program to implement Highcharts in LabVIEW. Highcharts is javascript based charts for which data needs to be passed in Json file format.  There may be alternate when I am writing this post this is the method I know.

In this simple LabVIEW program,

First, I am going to generate a random data and store in a JSON file format.
Second, I am going to implement a Highcharts with .net labview component.
Third, in the Highcharts json file called back to pass the data to series.


JSON file creation in LabVIEW

There is no inbuilt vis available for Json file in labview. So, I have installed "Json toolkit for LabVIEW"


I got lot errors implementing it in my code. There is no good examples programs are available for this toolkit. So I tried for an alternate and I found the following JamesMcN Json vis


http://james.newtonking.com/json/help/index.html

No comments:

Post a Comment