DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Upgradation of Diadem8.1 to Diadem9.0 chnalloc and array indexing issues

I found two problems with DIAdem 9 compatibility:

1.ChnAlloc(�SomeName�, �, N): This routine of DIAdem is supposed to create n new channels. DD 8.1 seems to name them them as SomeName1, SomeName2, and so on up to SomeNameN. DD 9 seems to name these channels SomeName, �, SomeNameN-1.

2.Array User Variables: In global.vas, we define a few array variables. DD 8.1 indexes the first element with 0, just as for other VBS variables. However, DD 9 indexes the first element with 1!

Could anyone please help me out with this issue its very important and urgent!!
Thanks in Advance
0 Kudos
Message 1 of 3
(3,214 Views)
Dear DIAdem user,

here is a solution for your first problem:
Change the variable ChnNamingMode from "GroupUnique" to "Free" for compatibility with DIAdem 8.1. See online help for more information.
0 Kudos
Message 2 of 3
(3,214 Views)
Hi,

To address your other question, I tried using array user variable in both DIAdem 8.1 and 9.01 and I see that they are both indexed from (1). I've include the .vas and .vbs files below.

Matt P.
Applications Engineer
National Instruments
Download All
0 Kudos
Message 3 of 3
(3,214 Views)