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: 

Object "2DObj1_Curve1" unknown or not open Error

In 8.1, I used:

Call GRAPHObjOpen("2DAxis1")
Call GRAPHObjOpen("2DObj1_Curve1")
D2CCHNX ="Time"
D2CCHNY ="A010"
D2CAXISPAIRNO =1
D2CCURVETYPE ="Line"
D2CURVECOLOR ="black"
D2CURVECOLORRGB =33554432
Call GRAPHObjClose("2DObj1_Curve1")
Call GRAPHObjClose("2DAxis1")

To modify curves within a report object From a VBS script.

In 9.0, when I try this, I get an error that reads
(Object �2DObj1_Curve1� Unknown or not open�)
Has the 2DObj naming convention changed and if so
What are the new rules?

Is there a �What�s different between DIAdem 8.1 and 9.0� download I can read to get up to speed?
0 Kudos
Message 1 of 2
(3,196 Views)
Hi,

I've done some tests. I've created a Layout in 8.1 and used a script to add the channel pairs to the axis system but, on my PC this works fine in DIAdem 9 too.

Please send me a small example so that I can reproduce the problem. My email address is: walter.rick@ni.com

Greetings

Walter
0 Kudos
Message 2 of 2
(3,196 Views)