09-02-2005 08:30 AM
Putting your original VI in a new location doesn't make any difference. Did you not understand what I said about creating the LLB with all files and posting it here?
Try an experiment with just the analog and digital acquisition in a loop. Delete everything else except for the digital indicator and see if the acquisition timing is adequate. Add things back in one at a time to see what is causing the bottleneck.
09-13-2005 04:50 PM
I think that I have made some progress, but I am stuck with two problems now.
1. The Labview Measurment file properly records the analog values but not the digital values. It puts all the digital values into one col. with a incorrect value.
2. The LVM only records 100 data points then stops.
Thanks for your help
09-14-2005 10:00 PM
Good evening Scott,
Forgive me for coming into this conversation a little late. I was unable
to run your VI because you did not include the Sub-VI in the attachment (see
previous posts on how to do this), but I did take look at your VI -- it looks
like the reason you are getting unexpected values in your LVM file is because
you do not have indexing enabled on your timed loop. Your loop will run
the specified number of times and only write the latest value to the outside
terminal of the loop. To remedy this, you should either consider using a
Build Array and/or Append Signals with Shift Registers inside of your loop to
build up your signal to write to the LVM file, or enable indexing on the wire
terminals on the right side of the loop (right click the data coming to the
right side of the loop and select "enable indexing". This is
the same operation as using a build array with a shift register inside of the
loop -- i.e. each iteration of the loop will add to the existing data, and in
the end dump the resulting array to the Write LVM File VI.
Hope this helps, please let us know if you have any other questions!
Regards,
Travis M
Applications Engineer
National Instruments
09-14-2005 10:52 PM
09-15-2005 02:17 PM
09-15-2005 03:13 PM
09-15-2005 03:47 PM
I inserted the shifft registers, but now I keep getting error 20315, sying that
Possible reason(s):
Analysis: The waveform dt parameter is <= 0.
Complete call chain:
ma_Check Waveform Timing.vi
ma_check Time History Signal Continuity.vi
ma_Basic Averaged DC-RMS no state.vi
Basic Averaged DC-RMS for 1 Chan.vi
Analog-SubVI.vi
Multi-Function-Synch AI-Read Dig Chan4.vi
09-15-2005 05:47 PM
Please Help
I would like to be able to save all data to one file, in the way that the digital data is saved. So I need to be able to save the analog data the same way I save the digital data, with the same time stamp for each, thus synchronized.
Also, when I use multiple samples per loop iteration, the digital data time stamp goes to zero after a certain amount of samples have been taken. It still takes digital data, but the time stamp after a certain point remains zero.
I have tried and tried to get this vi to work, (like a month), and I can not. Can you please edit it with the proper corrections, because nothing I try works and I can not afford to spend any more time on it.
Thanks for your help
Scott
I could not get the attachment to work so I just provided a link.
https://netfiles.uiuc.edu/xythoswfs/webui/_xy-11759284_2-t_1NA8BhvD
09-16-2005 04:54 PM