DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

ChnConcat error message

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

0 Kudos
Message 1 of 5
(4,915 Views)

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

0 Kudos
Message 2 of 5
(4,896 Views)

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

 

 

0 Kudos
Message 3 of 5
(4,876 Views)

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

0 Kudos
Message 4 of 5
(4,869 Views)

Thanks

 

It was Diadem 2011

 

We have now Updated on Version 2014, and now its no Problem.

 

Thanks

0 Kudos
Message 5 of 5
(4,771 Views)