VBA Code for a Pop-Up Screen In FactoryTalk View Studio Site Edition

  Рет қаралды 17,688

Shane Welcher

Shane Welcher

Күн бұрын

Пікірлер: 39
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Subscribe: mmini.me/Subscribe-4-Updates Other socials: Facebook: facebook.com/OnlinePLCSupport LinkedIn: www.linkedin.com/in/shane-welcher-sr/
@NateMayo-rv5co
@NateMayo-rv5co 2 жыл бұрын
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.
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
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
@natemayo4002
@natemayo4002 2 жыл бұрын
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.
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
@@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.
@natemayo4002
@natemayo4002 2 жыл бұрын
Alright I’ll try this for the upcoming week. Thank you for the help!
@natemayo4002
@natemayo4002 2 жыл бұрын
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.hmehidi548
@m.o.hmehidi548 11 ай бұрын
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
@ShaneWelcher
@ShaneWelcher 11 ай бұрын
Make sure the tags on the HMI are attached to the PLC, meaning update the tag database
@m.o.hmehidi548
@m.o.hmehidi548 11 ай бұрын
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-lt5oc
@HelloWorld-lt5oc 2 жыл бұрын
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 ***
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
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.
@ViKisu
@ViKisu 9 ай бұрын
Hi Sir, I forgot the password of the VBA code in HMI *.gfx file. Could you please advise some help on this issue.
@ShaneWelcher
@ShaneWelcher 9 ай бұрын
Just edit the user on the server. Make a new password
@ViKisu
@ViKisu 9 ай бұрын
@@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
@eeng7968
@eeng7968 3 жыл бұрын
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!
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Correct, VBA code can only be used for Site Edition or Machine Edition if using the CE model panelview but it works different
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Good question
@rohitmehar5047
@rohitmehar5047 2 жыл бұрын
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?
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
Or a single macro that calls a popup if the condition allows. However, yes...easier to make a single macro for each
@prabum5962
@prabum5962 3 жыл бұрын
thank you shane it was very useful.helped
@SCADAExperts
@SCADAExperts 2 жыл бұрын
Hi shane will you make a video on MSSQL data read and write using VBA.
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
That is custom to what SQL database is being built. Meaning, every instance is different
@SCADAExperts
@SCADAExperts 2 жыл бұрын
@@ShaneWelcher To Read and write value in SQL from SCADA
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
@@SCADAExperts reading and writing to an SQL is dependent on the application. Each is very different.
@lanthonyperdum6430
@lanthonyperdum6430 3 жыл бұрын
Thanks for the information Shane !!!
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Glad to help
@msh828vabch
@msh828vabch 2 жыл бұрын
Hi Shane, Thanks for this. I knew it was possible but couldn't figure out how.
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
Always glad to help, let me know if I can add more content to help spread knowledge
@chrisjones9110
@chrisjones9110 3 жыл бұрын
How can I restrict this to a single client action?
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Simply add security rights then disable the feature unless user code equals whatever you want.
@scottkinney8669
@scottkinney8669 2 жыл бұрын
I cannot get this to work. Any Tips on trouble shooting this?
@ShaneWelcher
@ShaneWelcher 2 жыл бұрын
Did you follow exactly what I show in the video?
@scottkinney8669
@scottkinney8669 2 жыл бұрын
@@ShaneWelcher I did.
@scottkinney8669
@scottkinney8669 2 жыл бұрын
I'm trouble shooting it now
@dungnguyenhuu2438
@dungnguyenhuu2438 6 ай бұрын
Thank you.❤ From Viet Nam.
@celsoferraz2033
@celsoferraz2033 3 жыл бұрын
Thanks! It was very helpful!
@ShaneWelcher
@ShaneWelcher 3 жыл бұрын
Anytime, here to help
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
FactoryTalk View Machine Edition Global Object For a HMI Header
23:35
Real-time Data Logging Using RSLinx OPC and Excel
13:56
PLCGurus.NET
Рет қаралды 51 М.
Read and Write Data in MS Excel, using RSLinx to and from ControlLogix
15:27
Robotics & Automation - Electro-Mechanical
Рет қаралды 39 М.
FactoryTalk View Studios Security Basics
11:40
James Cash
Рет қаралды 15 М.
Create your first reusable pop-up display in FactoryTalk View SE
5:56
Rockwell Automation
Рет қаралды 55 М.