DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: No common range of values in channels "7,1"

Hello,
 
I have an error in Diadem v10 ( "No common range of values in channels "7,1"." ) with my script (It works properlly in v8.1) when the command  ChnMapLinCalc(CNo('Channel 1'),CNo('Channel 5'), CNo('Time'), 'DISPLACEMENT', 1, 'const. value', 0, 'analogue') works.
 
How can I configure correctly my v10 to avoid this error?
 
THanks in advance,
 
José
0 Kudos
Message 1 of 3
(3,493 Views)
Hi José,
I tried to evoke that error on my computer but I did not succeed.
Are you calling that line inside a AUT script (in that case the semicolon ; is missing in the end) or are you using a VBS script (then you should use standard quotes " " to mark strings).
Anyway, after changing the channel names to match the file I am using, the command is running well. Possibly the error has something to do with your datafile. So, if you want to attatch a sample of the file to the thread I could check with this data as well. It is possible that the algorithm performing the linear mapping changed between the versions 8.1 and 10 - but are you sure that this command works on the old version if you are using exactly the same data?
The error sounds as if the curve (Channel1 / Channel 5) does not match to the configured timechannel. If the new timechannel is exceeding the original x-range, DIAdem can extrapolate, but if the two x-rnages have no values in common, I would expect an error like that.

So I would recommend to doublecheck the content of the x channels.
Hope thius helps,




Ingo Schumacher
Systems Engineering Manager CEERNational Instruments Germany
0 Kudos
Message 2 of 3
(3,444 Views)
Hello again,
 
I've solved the error, it was caused due to an incorrect configuration in the xxx.stp "ASCIIConfigLoad" file, that loads a cutted time channel. I've solved it associating as default the extension of the imported file in the "ASCII-Import" dialog and increasing the number of rows to import in the xxx.stp file.
 
Thanks for your support.
Regards.
0 Kudos
Message 3 of 3
(3,386 Views)