From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Analyse Pannel : Importing calculations in Script pannel nad executing

Hi , 

I am new to Diadem. I am using Analyse Panel and calculating Arithmetic Mean using Descriptive Statistics. Iwant to get the results in Script Panel . I used ctrl+shift+C to copy the script but when i am running the script there is an error." Object requried" . Ihave uploaded the script. please convey where i am wrong

0 Kudos
Message 1 of 2
(2,175 Views)

Hi himanshu25,

 

If you have the StatsResultChn parameter set to 1 or TRUE, then you will get new result channels in the Data Portal.  If you have the StatsResultChn parameter set to 0 or FALSE, then you will NOT get new result channels in the Data Portal.

 

The "Set ChnResult = " prefix to the ChnStatisticsChannelCalc() command only works if you're creating new result channels.  Either set the 6th parameter in the command to 1 or simply use "Call ChnStatisticsChannelCalc()".

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 2
(2,118 Views)