06-04-2012 03:04 PM - edited 06-04-2012 03:05 PM
I still don't understand why you don't simply load the example yourself. I dragged the snippet to a block diagram and had no problem. You can simply delete the reference and wires, right click on the property nodes, and select Link To>Pane>Strip Chart.
So the 200 bytes is arbitrary. Does that mean you are getting a single sample every time you do a VISA Read? I've asked you that 3 times now.
Below is an XY graph that shows absolute time on the x axis.
06-04-2012 03:37 PM
Thanks a lot for sending me the program. I am sorry for not replying you this. Indeed each time a sample is read when the visa read is done. I am encountering another problem. I merged my initial program with the one you just gave me. The visa stopped reading and there is no output displayed on my XY plot also.
What can be the possible cause please?
Kind regards
Kunal
06-04-2012 03:39 PM
You were not supposed to merge the two. It was a simple example to show you how to get the timestamp for each sample. You should have just added the time functions and changed your chart to an xy graph.
06-04-2012 03:45 PM
I have attached what I have actually done. Can you please include your proposed modifications? I will be really grateful to you.
Kind regards
Kunal
06-04-2012 03:54 PM
Please pay attention to what I said. Simply make the few changes to your main loop.
I cannot edit or modify an image.
06-04-2012 04:07 PM
I modified the main loop as follows. I am getting an output on on the decimal value indicators and voltage read indicators on my front panel but there is no display on the XY plot. Can you please suggest a solution?
Kind regards
Kunal
06-04-2012 04:20 PM - edited 06-04-2012 04:21 PM
Go into the Build XY Table Express VI and uncheck the box "clear data each call".
06-04-2012 04:33 PM
Sorry, I also gave you some confusing information. The start time must actually be outside the loop.
06-04-2012 04:51 PM
Thanks a lot for your help and patience. I appreciated it very much.
Kind regards
Kunal
06-10-2012 08:51 AM
Hi
I have been noticing that when labview is reading data from my microcontroller it does not display the data instantaenously. It displays the data after some delay despite I did not put any delay. When reading the same data in another software, there is no delay in displaying the data.
Can anyone enlighten me on this issue, please?
Thanks.
Kind regards
Kunal