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.
I have problem with a script. When I programmatically create some sheets in VIEW and when the script is done and I try to open the VIEW tab then I get this error:
Strange thing is that the error happens only once after opening DIAdem. When it was already opened then the script works just fine.
Please post a simple example of the VBScript code that leads to the error.
Your comment "Strange thing is that the error happens only once after opening DIAdem" suggests to me that you may have saved DIAdem desktop settings with a (somehow) invalid or no longer existing View file and DIAdem is attempting to load the file when you load DIAdem. It would be helpful to understand the exact sequence events leading to the error.
Like the other member mention, can you post an example, it would be good to try to reproduce it to see if this is bug. Or give us step by step how you received that error.
How old is your DIAdem version? A long LONG time ago you used to have to Call Wndshow("VIEW", "OPEN") if that panel had not yet been opened during the current DIAdem session.