08-11-2014 04:58 AM
Hi everyone,
I am doing my final year project.Now I got the Vi which is display waveform using text file data(attached below).But now my job is showing same graph with same table data value but without inserting text file.So how can I do that.Thanks.
08-11-2014 05:57 AM
08-11-2014 08:29 PM
Thank you very much.Very appreciate for you answer.
And I have one more question: I already can connect the Mysql to labview and showing the mysql data in labview table. My question is how to plot the waveform using the table data value. The left Y-axis (0~360) is about Wind direction and the right Y-axis (0~10m/s) is about Wind speed. My table first colum is timing,second is wind direction value,third is wind speed value.So how can I plot the graph according to the table data value,and X-axis showing the whole day timing like 00:00:00~~24:00:00. Thank you ver much.
08-11-2014 08:33 PM
sorry I forgot to attach my Vi. This My Vi I did,but my graph got some error which not according to timing.
08-12-2014 01:58 AM
Hi Tiramisu,
your VI works for me…
I made small adjustments:
Hints:
- You should get rid of that dreaded AM/PM time format. Use a proper 24H format, it is much easier to handle in the code…
- Use ScanFromString to directly scan for timestamps…
- Your database should provide "full" timestamps for each datapoint, having timestamps without time (just date) will always force you into errors…
08-12-2014 02:34 AM
Thank you for your answer.Hi can you attach the Vi for me,because I cannot get the correctly answer.Thanks
08-12-2014 02:35 AM
08-12-2014 02:55 AM
I mean can you send me the Vi which You already adjest one,Because I want to learn how does it works
08-12-2014 03:56 AM
08-12-2014 06:55 AM
@Tiramisu001 wrote:
I mean can you send me the Vi which You already adjest one,Because I want to learn how does it works
GerdW posted a snippet. What you can do is save that image (png file) to your desktop. You can then drag that file onto a VI's block diagram and you will automagically have the code.