07-17-2010 01:38 PM
like this ,but how to adjust how fast points change
and thats what i want to know
07-17-2010 01:38 PM
like this ,but how to adjust how fast points change
and thats what i want to know
07-17-2010 03:21 PM
No. The y array should be what you have gotten from the serial read. You are only passing a single read, not the contents of the chart, and the dt would either be the inverse of the sampling rate of the DAQ or inverse of the delay time in your LabVIEW loop (which I don't that you have).
Post your VI with some actual data in the chart. Run then go to the edit menu and select Make Current Values Default. Save. Attach.
07-17-2010 05:22 PM
i take samples every 0.5 s so i put dt =0.5 s but i noticed that the frequency of the wave after read from serial
is changing not constant as i put it
it supposed now that the wave form has constant frequency but it is also changing exactly like wave after read from serial this vi cotain data i stored it
07-17-2010 05:23 PM
this is modified vi
07-17-2010 06:22 PM - edited 07-17-2010 06:25 PM
You were told quite a while ago to put a loop aound the read. You've ignored that. You really have an unknown acquisition rate. You also appear to get large amounts of data at once and update the chart with multiple points. You'll have cheat and use the dt from the a/d in the micro.
Wiring the raw binary data to the filter is wrong. It also needs the timing data.
p.s. Putting the write function outside the loop is just wrong.