07-13-2009 12:10 PM
Hi guys,
I'm current programming a DAS in LabVIEW and am having problems with how often the graphs in front panel are updating. For some reason, no matter what I set the input "Collection Rate" to, it always updates every 10 seconds (regardless of what value is in the DAQmx Write timeout input). I noticed that if I removed the DAQmx Wait Until Done, then the graphs will update properly based on the collection rate. Also, I got an error out of the DAQmx Wait Until Done (200560).
However, in a watered down version of the original code, I can leave the Wait Until Done in the code and the graphs will update properly. Of note, the Wait Until Done still outputs the exact same error as the non watered down version.
So where exactly in the code is my program hanging in? I can't really find any glaring differences between the two sets of code that would make me think there's a huge problem. I don't want to have to take out the Wait Until Done VI, but if you guys think there really isn't a problem taking that out of the code then perhaps I will do that for now.
Thanks.
07-13-2009 05:18 PM
I ran across this page - http://digital.ni.com/public.nsf/allkb/D872A0938C86BCC68625727D00730815
And used the Configure Input Buffer and replaced that with the Wait Until Done. Can anyone confirm if this is a good working solution? Thanks.
Jeremy
07-14-2009 11:19 PM
Hi jchsu,
Could you please be a bit more descriptive when you say that the graphs on the front panel have trouble updating? Which graphs in particular are you referring to?
Thank you for choosing National Instruments.
Aaron Pena
National Instruments
Applications Engineer
07-15-2009 09:06 AM
07-16-2009 11:46 AM
Hi Jeremy,
I would say that the suggestion in the article that you linked should be a valid solution. Is it working correctly when you make this change?
Regards,
Stephen S.