10-18-2018 11:54 AM
Hi Daniel,
What do you want to happen to the values not selected inside the band cursor? Do you want to set them to NoValues in the original channels, delete them from the original channels (leaving the selected region as the only data points), or do you want to copy the selected region to multiple new channels?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-19-2018 01:10 AM
Hi Brad,
thank you for your reply!
I just want them to be deleted from all channels in the diagram. These points are noise before and after my measurement signals. The first undeleted points should be the first data point of the channels (erase novalues as well).
Thank you:
Daniel
10-19-2018 04:57 PM
Hi Daniel,
You didn't give any indication what your data channels are like (XY, vs. index, waveform), so I created a VBScript that will handle the latter two cases. If you really are plotting XY curves, then I'll need to know more about how many X channels will be used on a given graph.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
10-31-2018 05:08 AM
Hi Brad,
thank you very much for your script, it works fine. I understand that it will not work with all kinds of X-channels. As far as I can tell now index and waveform will do the job. If not, I might have to come back to you.
Thanks:
Daniel