Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jsu0234m

Pages: [1]
1
Open Discussion / SQL Timeout Error Popup
« on: February 14, 2020, 01:16:15 PM »
I created a line monitoring advanced hmi project last year that displays information to operators in our break rooms and it works great except for every so often i get a SQL timeout popup that happens and it blocks some of the screen, it continues to update the data on screen and pull from SQL as normal even with the timeout error on the screen. So it still works, it just has a error saying it timed out reading from SQL one time. It updates and re-pulls the data every 30 seconds so if it misses a couple times I'm not worried about it.


Is there a way to turn off the error popups? I know its probably better to figure out why SQL is timing out and fix that but its not really worth my time in tracking that down if i don't have too.

Any ideas on how to stop this error from popping up?


2
We are in the process of upgrading from windows 7 to windows 10 Ent and I'm having trouble getting the AdvancedHMI programs to run on these new windows 10 machines. I have the source files saved on our file server so all we have to do is give users a shortcut to the .exe file and it worked on windows 7.

On windows 10 this doesn't work anymore and the only way I've found to get it to work is to copy the entire debug folder to the windows 10 machine which is a problem because if i need to update the project ill need to go around to every ones PC and copy the new debug folder to their PC's.

Is there anyway around copying the entire debug folder over to the users PC to get it to work with windows 10?

3
Open Discussion / Swapping screens every 45 seconds
« on: August 10, 2018, 06:11:45 AM »
I'm working on a project that has two screens and i want them to swap back and forth between each other after a certain amount of time. I have the two screens working and can swap back and forth as needed with form change buttons but i would like to add a button to enable the screens to swap back and forth on there own after a certain time has passed.

Process:
Main screen opens when project opens, press a button to enable screen swapping, wait 45 seconds and then swap to the 2nd screen, wait 45 seconds and swap back to the first screen. Repeat until screen swapping is turned off.

I have a timer on the screen and set to 45 seconds but i can't figure out how to actually call the screen change when the timer is done.

Any help would be appreciated, i've googled my heart out and i don't think i know enough about visual studio to search for the right help because i have found about everything else besides calling a form change button.

4
I have a weird problem where some of the information on my screens gets cut off on some computers and not on others? See screenshot below. The top display is from one computer and is cutting off most of the values and the bottom one is from my computer showing everything.

I've tried different scaling options but i can't seem to find the right combination to fix my problem.

5
Application Showcase / First AdvancedHMI Project
« on: April 05, 2018, 12:06:04 PM »
Our GM wanted a Line Stats screen so he and the operators could see how they were doing at any point throughout the day. We already had all the data in PLC's and SQL DB's we just needed it all put together on one screen for easy viewing.

Up to this point FactoryTalk View Studio is the only HMI program i had ever used, so i did a lot of head scratching trying to figure out how to make different things work but it was kind of fun to try something different.

Overall, it works great and they love it.

6
I have quite a few AnalogValueDisplay and BasicLabel boxes that are populated from vb code instead of PLC tags and i can't get the prefix or suffix values from the properties to update on the screen at runtime. It looks like they are going to work while in design time but as soon as the screen loads the prefix and suffix's are gone and just the data shows up. I don't know enough about visual basic to know what I'm doing wrong. Can someone help me out?

Here's the code behind the label. It works i just can't get the prefix or suffix from the properties page to show up at run time.
AnalogValueDisplay13.Text = row("Sum_Lbl_Weight") / row("Avg_Lbl_Weight")

Pages: [1]