11-12-2018 07:04 AM
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
11-27-2018 03:49 PM
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