Subscribe: mmini.me/Subscribe-4-Updates Other socials: Facebook: facebook.com/OnlinePLCSupport LinkedIn: www.linkedin.com/in/shane-welcher-sr/
@NateMayo-rv5co2 жыл бұрын
How do you make it so that it only pops up on a certain screen? I got it to work but my display pops up regardless of what screen I put the numeric display on.
@ShaneWelcher2 жыл бұрын
Not sure you followed the video 100%, the VBA code is custom to only the screen you put it on. Unless you accidentally duplicated the screen to make another one. Remove it from the header & only add the VBA code to the screens you want to have the popup for
@natemayo40022 жыл бұрын
I originally put it on other screens as well but then the client wanted it to be on a certain screen only. I deleted the numeric display on the other screens but maybe there is something additionally I have to do to remove the vba code from that screen? Thanks for the reply.
@ShaneWelcher2 жыл бұрын
@@natemayo4002 after you edit this to make sure you have it per the theory of operation then close the client & launch it again. If that doesn't clear it up then you still need to verify the VBA code is in the correct place.
@natemayo40022 жыл бұрын
Alright I’ll try this for the upcoming week. Thank you for the help!
@natemayo40022 жыл бұрын
Hey! So I got it working. I think the issue was that either named the macro and numeric display the same thing or I just needed to restart my computer. Just thought I’d put that out here for anyone in the future.
@m.o.hmehidi54811 ай бұрын
hello thank you for this video, for me it worked but the text that i put in the display of the pop up is 'question mark' can you help me please
@ShaneWelcher11 ай бұрын
Make sure the tags on the HMI are attached to the PLC, meaning update the tag database
@m.o.hmehidi54811 ай бұрын
thank you , have another question please, I added the num display in the main page on the line supervision like you said and I put it in non-visible but after that I had a problem on the line supervision, I could no longer press the elements in top of my supervision it's like there was an invisible page which blocked this even though I set my num display to non-visible, I don't know if it's due to that or not, I had to reinstall the backup app to resolve the problem @@ShaneWelcher
@HelloWorld-lt5oc2 жыл бұрын
Hi Shane, is this possible in machine edition? Dealing with the remote screen display logic and macros in machine edition is a real pain in the ***
@ShaneWelcher2 жыл бұрын
Pop ups are much easier on Machine Edition, just use the global connections & use remote display number in the display tab then link that to a tag. Or you can do this from a macro if only one screen is needed to be controlled.
@ViKisu9 ай бұрын
Hi Sir, I forgot the password of the VBA code in HMI *.gfx file. Could you please advise some help on this issue.
@ShaneWelcher9 ай бұрын
Just edit the user on the server. Make a new password
@ViKisu9 ай бұрын
@@ShaneWelcher thank you for your reply. Could you please give me some more detail. I do edit the user, but it doesn't work. It still shows displaycode password message box
@eeng79683 жыл бұрын
Hi Shane, Just making sure...VBA code can only be used with FactoryTalk View Studio SE not ME, correct? Not seeing any way to do this with ME at the moment, although it would be very useful if I could. Great video!
@ShaneWelcher3 жыл бұрын
Correct, VBA code can only be used for Site Edition or Machine Edition if using the CE model panelview but it works different
@ShaneWelcher3 жыл бұрын
Good question
@rohitmehar50472 жыл бұрын
Great Video again Shane. I want to know, if I am having 100 pop-ups screen in my project then it is a good way if I create 100 Macros for that?
@ShaneWelcher2 жыл бұрын
Or a single macro that calls a popup if the condition allows. However, yes...easier to make a single macro for each
@prabum59623 жыл бұрын
thank you shane it was very useful.helped
@SCADAExperts2 жыл бұрын
Hi shane will you make a video on MSSQL data read and write using VBA.
@ShaneWelcher2 жыл бұрын
That is custom to what SQL database is being built. Meaning, every instance is different
@SCADAExperts2 жыл бұрын
@@ShaneWelcher To Read and write value in SQL from SCADA
@ShaneWelcher2 жыл бұрын
@@SCADAExperts reading and writing to an SQL is dependent on the application. Each is very different.
@lanthonyperdum64303 жыл бұрын
Thanks for the information Shane !!!
@ShaneWelcher3 жыл бұрын
Glad to help
@msh828vabch2 жыл бұрын
Hi Shane, Thanks for this. I knew it was possible but couldn't figure out how.
@ShaneWelcher2 жыл бұрын
Always glad to help, let me know if I can add more content to help spread knowledge
@chrisjones91103 жыл бұрын
How can I restrict this to a single client action?
@ShaneWelcher3 жыл бұрын
Simply add security rights then disable the feature unless user code equals whatever you want.
@scottkinney86692 жыл бұрын
I cannot get this to work. Any Tips on trouble shooting this?