AnsweredAssumed Answered

close processbook's userform1 VBA with PIActiveview Control,the main pdi can't operate?

Question asked by bain on Jun 12, 2018

close processbook's userform1 VBA with PIActiveview Control,the main pdi can't operate?

create a pdi and add a commandbutton to open a vba userform1,the userform1 add the  PIActiveview Control(displayurl="D:\test\trend.pdi").

trend.pdi include a tag trend (tagname is sinusoid).

so i clicke the commandbutton,the userfrom1 is show and the PIActiveview Control is ok,then i close userform1,i find i can't operate the main pdi.

processbook can't edit,it looks dead.

how to solve it?

 

PI ProcessBook 2015

Version 3.5.0.284

Outcomes