Jump to content

Recommended Posts

Hey all,

 

I am a bit confused right now. I did some exercise with hyperview tcl. I set up a real simple script:

# Hyperview Exercise1
hwi OpenStack
hwi GetSessionHandle session1
session1 GetProjectHandle project1
project GetPageHandle page1 1
page1 GetWindowHandle win1 1
win1 SetClientType animation
hwi CloseStack

When running the script multiple times it says several times:

session1: object with this name already exists.

 

I thought, wit hhwi CloseStack all handles would get released which is not the case? Someone seeing the same behaviour with those lines running 2 times?

Thanks in advance and best regards,

 

Merula

Share this post


Link to post
Share on other sites

Hi,

actually i save your code in a tcl file <sample.tcl> and type in commandwindow:

for {set i 0} {$i<100} {incr i} {source sample.tcl}

 

but there is no bug reported

 

Anyway, try installing newest HW updates and hotfix...

 

Good luck!

Share this post


Link to post
Share on other sites

I checked again also with your method but still I get the same error: 

(Desktop) 5 % for {set i 0} {$i<100} {incr i} {source test.tcl}
session1: object with this name already exists.

 

I tested it both with 14 and 13. strange....

Share this post


Link to post
Share on other sites
On Montag, 18. April 2016 at 7:36 PM, Merula said:

@Merula try it with releaseMyHandles

 


# Hyperview Exercise1
hwi OpenStack
hwi GetSessionHandle session1
session1 GetProjectHandle project1
project GetPageHandle page1 1
page1 GetWindowHandle win1 1
win1 SetClientType animation
releaseMyHandles
hwi CloseStack

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...