ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

nm

Solved!
Go to solution

1. Invalid channel number in "ChnIntegrate(1,"THSP0000AVYP","THORAX_ANGLE")" command in the line Call chnintegrate(1,KANALNAMEIST1_,"THORAX_ANGLE").

 

2.CH(0): Invalid vector or matrix index in the line Call formulacalc("ch('head'):=ch(cno(KANALNAMEIST1_))*4")    

 

3.  Invalid channel number in "ChnDifferentiate(1,0,"XVCOTSUP","VCOTSUP")" command in the line Call ChnDifferentiate(1, L3, "XVCOTSUP", "VCOTSUP")

 

I am stuck up with these types of errors while running the scripts. I really don't know whether these are errors or executing problems.

 

Please help me to remove these bugs..

0 Kudos
Message 1 of 3
(3,597 Views)
Solution
Accepted by topic author RSH

Hi RSH,

 

I still think that the problem is those channels don't exist in the Data Portal with exactly the channel name spellings you list in those commands.  I see that you are already aware of the CNo() function.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Message 2 of 3
(3,580 Views)

Hi,

 

Thankyou Brad.. It solved my problem. There was a mistake in channel name.

0 Kudos
Message 3 of 3
(3,551 Views)