12-16-2014 09:55 AM
I want to be able to programmatically clear at the beginning of running the program. Because I have a reference to the waveform chart I didnt know if there was a certain way I needed to connect the diagram or if any loops were necessary when using a history data property node. If you have any solutions on how I should do this please let me know.
Thanks for your help in advance.
Mmmhmmm
12-16-2014 10:09 AM
If all you are trying to do is clear the chart, then you just need to write an empty array to the History property for the chart.
12-16-2014 10:09 AM
I can't see your block diagram because it is password locked. But you only need to create a history property node, make sure it is set to write mode, right click on the input and click Create->Constant.
12-16-2014 11:18 AM
Here's a pic of what was mentioned previously. Note that it is a good idea to wire the error out to force it to execute before anything else. Also note that I have two plots in my chart so when I created the constant it made a two element constant. If you change the number of plots in the future your property node will update but the constant will not so it will beak the wire and you'll have to update the constant manually.
12-16-2014 01:39 PM
Don't do that!
Now what are you going to use as an example the next time you want to learn about "DAQmx Voltage - Continuous Output"?
Now go back and repair the Device Driver installation- Then make the examples and VI.lib Read- Only so you don't get tempted like that again!
12-16-2014 03:11 PM
@JÞB wrote:
Don't do that!
Now what are you going to use as an example the next time you want to learn about "DAQmx Voltage - Continuous Output"?
Now go back and repair the Device Driver installation- Then make the examples and VI.lib Read- Only so you don't get tempted like that again!
I saw that too. I'm hoping he did a File->SaveAs