01-15-2015 01:52 PM
Hello,
I get the following error when running my script in Diadem 2014. The same script does not cause any errors when it is executed in Diadem 11. Any ideas?
Error while executing "ChnTimeAreaCopy" command
Error type: ACCESS VIOLATION
Error address: 6E00655D
Module name:DIAdem.exe
01-16-2015 05:38 PM
Hi,
I have a couple questions about this problem you are seeing:
Could you describe what your script is doing overall?
Is this script being used on the same data set in both DIAdem 2014 and DIAdem 2011?
01-20-2015 08:03 AM
HI Kevin
Overall, the script is looping through about 30 channels in a group and chopping the data between -.1 and .5 seconds using ChnTimeAreaCopy. Yes the script is being used on the same data set in both DIAdem 2014 and DIAdem 2011.
01-21-2015 05:01 PM - edited 01-21-2015 05:02 PM
Could you post the full line of code for ChnTimeAreaCopy? There may be a parameter that could be slightly different between 2011 and 2014.
01-23-2015 07:46 AM
For i = 2 to data.Root.ChannelGroups(1).Channels.Count
Call ChnTimeAreaCopy("",i,"",i,-0.1,0.5) '... XW,Y,E,E,TimeAreaCopyBeg,TimeAreaCopyEnd
Next
Each Channel is a waveform except for the first which is the time channel.
01-27-2015 12:18 PM
Thanks for the code snippett. So far we haven't been able to reproduce the error so could you post the dataset you are performing this function on?