From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-03-2006 05:32 AM - edited 06-03-2006 05:32 AM
Message Edited by mr_nice on 06-03-2006 05:33 AM
Message Edited by mr_nice on 06-03-2006 05:34 AM
06-05-2006 06:46 AM
06-05-2006 06:48 AM
As a note, there is probably a method that can be invoked on the chart indicator to clear your data. I will take a quick look at this and post some example code if I find a way to do this. Cheers,
Rob
06-05-2006 06:58 AM
Hi again,
I have found a knowledge base (KB) that describes a solution to what you are looking for. There is no 'clear chart' method available, but you can push an empty array of data to the chart in order to clear it. Please have a read of the KB (link below), it should help clarify things for you.
I have also generated a small piece of code to help you see what you would need to implement. I hope this helps. Thanks,
Rob
06-05-2006 08:09 AM
Thanks RobS,
I have included the clear history in my code I have also found a method of continous acquisiton (vi included) by not using the DAQ Assistant (that express vi is more trouble than its worth)
How I getting around storing the data is by creating a file and appending it during the acquire. This is a horrid method and would be nice to get around this by using an array. The problem I am facing is that it is in waveform format and I can't manipulate it like I can a normal array, anybody any clues how I can strip the timing and actual waveforms of the 16AI's in to a couple of arrays so that when I stop acquiring I have a couple of arrays with all the data from the 16 channels and all the timing info
The other issues I have remaining which again have stumped me is that I use the express vi read from measurment file and what it seems to do is load the file, flash the data up over a split second and then dump it again. How can I load it in to a waveform and keep the data there?
Another puzzler is that sometimes when I press record data the dialog box pops up a couple of times and the sends an error out of the move.vi
I suppose it does mean with all your help we are starting to come up with a nice generic continuous acquisiton data recorder, with file save and file display functionality
nice
06-07-2006 09:07 AM - edited 06-07-2006 09:07 AM
Message Edited by mr_nice on 06-07-2006 09:07 AM
Message Edited by mr_nice on 06-07-2006 09:08 AM