LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I do to visualise my modbus registers on a chart?

Solved!
Go to solution

hello people, i have a labview project, and i'm trying to visualise the data in my registers with a chart but i can not link the chart to the modbus data out.

i will attach my project, so u can see what is my problem.Also i have to put this data that i'm reading from my Modbus instrument into some kind of report and to read it with Microsoft Excel, is that posible? can I extract and read them with excel?

Thank you in advance and a good day to you all.

 

Sylvia

0 Kudos
Message 1 of 20
(4,264 Views)

- You need to convert your array into a cluster otherwise if you feed an array to the waveform chart, it treats it as a single plot with multiple points. You just have to use the Array to Cluster node (Programming -> Cluster...).

- Yes, this is possible. Search through the forums and the Example Finder. If you are not able to find anything concrete, post back.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 20
(4,253 Views)
I have tried to convert it but no result:(
Can i change that type of value from the chart: double [64-bit real (~15 digit precision)] ?
Message Edited by BlueEyed on 06-30-2009 05:06 PM
0 Kudos
Message 3 of 20
(4,250 Views)
You need to understand what you are doing. Doesn't the cluster that's output from the VI have a Data array element? Isn't that what you want to see on the waveform chart?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 20
(4,237 Views)

well i'm learning labview for a project and i have just started a few weeks ago, so i'm trying to understand what i'm doing, but becouse it's urgent to finish the project until friday i'm a little inattentive, sorry for this:(

so if you have time, can you help me understand, and finish this?

Message Edited by BlueEyed on 06-30-2009 06:42 PM
0 Kudos
Message 5 of 20
(4,226 Views)
Solution
Accepted by topic author BlueEyed
Well, if you need the data array from the cluster, then you need to use the Unbundle function. After that, you can use the Array to Cluster node to view the data on the Waveform Chart.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 6 of 20
(4,218 Views)

ok i think this is it.Thank you verry much, now i can see the data on the chart, but how can i do to make those excel reports?

my project has to monitor some registers, and i have to put the results into some kind of reports.  so can you teach me how to do that?

0 Kudos
Message 7 of 20
(4,215 Views)
So nobody cand help me with my excel reports?:(
0 Kudos
Message 8 of 20
(4,186 Views)
Try searching through the forums and having a look in the File I/O palette. There is a Write to Spreadsheet File VI that could help you create a .csv file which can be opened in Excel.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 9 of 20
(4,174 Views)
thank you, i did that and i can create a report, the only problem is that i can not figure it out haw to do visualise all the resultz when i hit the play button. now it's working just for the firts case
0 Kudos
Message 10 of 20
(4,164 Views)