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,166 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,109 Views)