06-19-2008 05:45 AM
06-19-2008 05:46 AM
06-19-2008 08:47 AM - edited 06-19-2008 08:48 AM
You need more than a slight change. You need a completely new VI. Whoever wrote the original, apparently use direct memory access to control the DAQ board. This is a bit 'strange'. The whole file write is completely wrong. After converting to a floating point number for display, this is then converted to an integer for the file write.
You VIs are in version 6 and I cannot save to that. A very basic acquire and save VI is shown in the attached picture. If you have access to a recent version of LabVIEW, I could post the actual VI but I hope the picture is enough.
06-19-2008 02:39 PM
06-19-2008 03:04 PM
Sure.
06-20-2008 08:01 AM
Thanks for that Dennis,
When running that vi, and others that I've tried to make, I've found that it doesn't record the changes, it just gives a graph at the end with a downwards slope regardless of what's gone on while it's been running? Any ideas? Also do you know how to add the offset and calibration feature from the old vi I posted?
thanks very much for your help,
Jamie
06-20-2008 08:40 AM
I don't know what you mean by 'record the changes'. Do you mean that you are not getting any data written to a file?
As far as what is being plotted, you should check the DAQ connections and configuration with the test panel in the DAQ Assistant. I have no idea what type of signal you are trying to capture or how the DAQ board should be setup (i.e. RSE, Diff, etc). The old code was of absolutely no help in trying to determine that.You might want to post an image of the chart with some data being displayed.
You just have to insert numeric operators into the dynamic datatype wire where you want to. It seemed some of the operations in the old program were needed because it was getting raw, unscaled data from the DAQ board. The DAQ Assistant is normally set to return scaled and calibrated data.
06-23-2008 07:35 AM
06-23-2008 07:35 AM
06-23-2008 09:31 AM