Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

PlotStripChart and Timer issue

$
0
0

Hi everyone,

I am having an issue trying to plot a signal on the stripchart. I will explain it... I am communicating a LabWindows/CVI application with an FPGA from Altera through an FTDI. I communicate with the FTDI through a COM port. The goal is to obtain some values from the FPGA and plot them in a real time stripchart graph through a timer with an interval of 1ms. I can read the data quite well without any problem but I am having issues ploting it on the stripchart, the problem is that acording to the x-label of the stripchart (time) the ploting does not occur every 1 ms. For example, for make things easier I obtain 2 values from the FPGA (170 and 240) that would be a triangular signal and in the stripchart the period of the signal is very far from 1kHz (I acquire a different value every 1ms).

What is the problem here? Any help will be appreciated. Thanks.

P.S. Here is a picture of what is happening

untitled.png


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>