07-02-2014 10:20 AM
Are you seeing correct data on your numeric indicator in Serial Comm.vi?
If you are reading data as expected, wire your data directly to a 'Waveform Chart' inside of the loop, which will update every iteration of the while loop. If you would like to plot your data all at once after reading, build your data into in an array using an 'Auto-Indexing Tunnel' on the border of the loop, then plot using a waveform graph outside of the while loop. http://digital.ni.com/public.nsf/allkb/95FEE9F5B252507E862562BA00007657
07-03-2014 03:56 AM
Thank you sir,I tried to modify the Code but error is there.As values 1 to 10 is stored in string ,I used "scan from string" to get numeric values but error is coming. so how can I plot them in waveform graph.
serial com VI
When I am executing its showing error, may be I am not able to give the proper fomat.Plz help me to resolve this.
07-03-2014 08:41 AM
Please help us help you by more completely describing your problem, as well as offering detailed information about the error(s) you are receiving.
Thanks! 🙂
07-03-2014 02:27 PM
hi,
I connected MSP430 from Texas Instrument to PC , and in Hyperterminal I seen its printing values from 1 to 10 like this --
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
its printing continously.Now I made a serial commuincation VI which takes COM Port then reading values from serial PORT.In Result box its blinking 1 to 10 numbers.
Now I want to plot these values in waveform Graph.Hope I am able to explain.I checked using probes that I am geting correct values from serial Port but I am not able to plot them in graph.I send the screenshot also of the error.
Thank you
Rita
07-03-2014 02:36 PM
07-03-2014 02:45 PM
Hi,
Sorry I attached errror message in my previous post but it was not attached , I will send that error code from office.I dont have hardware to run the VI right now.But about the front pannel , its just showing values 1 2 3 4 5 6 7 8 9 10 in the Result
07-03-2014 02:58 PM
07-03-2014 03:06 PM
Thank you sir , I tell try to use that also.In the morning I will post error and front panel from office.
07-03-2014 11:48 PM
Hello sir,
I modify my VI , I used the spreadsheet string to array function,Now this time its showing the graph values.
this result is coming.Its correct ?
07-04-2014 12:31 AM