04-30-2015 03:50 AM
I have a Problem with the function ChnCocat
i have folow answer:
Error in <append.VBS> (Line: 14, Column: 1):
The target channel (channel/max. length/required: ) is too small.
what can i do ?
i would like merge 2 chanels with 1024 values.
Thomas
04-30-2015 07:50 AM
Hi Thomas,
Depending on how the "target channel" got created, it may not be a dynamic channel. In that case you should be able to preset the desired length of that channel like this:
ChnLength("target channel") = ChnLength("target channel") + 1024
... where "target channel" is either the channel name or the channel path ("[1]/target channel") or better still, a channel object variable.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
05-01-2015 03:28 AM
I have modyfi my script as test
Following Code
'-------------------------------------------------------------------------------
'-- VBS script file
'-- Created on 04/30/2015 13:18:41
'-- Author:
'-- Comment:
'-------------------------------------------------------------------------------
Option Explicit 'Forces the explicit declaration of all the variables in a script.
CL("Referenz/Test2")=CL("Referenz/Test2")+1024
call chnconcat ("Referenz/Test1","Referenz/Test2")
the Lenght is after 2048 thats correct but the answer of Diadem is the same--
Error in <concat.VBS> (Line: 14, Column: 1):
The target channel (channel/max. length/required: ) is too small.
what is my failure?
thanks
05-01-2015 07:16 AM
Hi Thomas,
Can you send me that data set? If you don't want to post it, you can email it to me at brad.turpin@ni.com? What DIAdem version are you using?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
05-18-2015 11:27 PM
Thanks
It was Diadem 2011
We have now Updated on Version 2014, and now its no Problem.
Thanks