Search found 44 matches

Search

by Smiffy
Wed Jul 07, 2021 4:36 pm
Forum: Bugs / Problems
Topic: Ok to use _ArchivDisk_2 in my project?
Replies: 1
Views: 794

Ok to use _ArchivDisk_2 in my project?

I am wanting to perform an action (remove archive backup files) when disk space gets below a certain limit. I have discovered a DiskSpaceCheck datatype in the dp. I have looked into this and fond that if I populate the .Device entry, the system will update entries regarding disk parameters (free spa...
by Smiffy
Tue Jun 15, 2021 1:02 pm
Forum: Bugs / Problems
Topic: Archiver does not overwrite stale files on low disk space
Replies: 1
Views: 829

Archiver does not overwrite stale files on low disk space

I have an issue where by when the disk becomes full, the archive does not overwrite / remove the older backup files as it should do. I am running V3.16 patch 23. The backup tab is of the archive setup is configured as follows: Archive file change: 4x daily Compression: Level 1 & 2 selected Stora...
by Smiffy
Thu May 20, 2021 7:23 pm
Forum: Bugs / Problems
Topic: getDomainOSUser slow execution & crash
Replies: 1
Views: 1155

getDomainOSUser slow execution & crash

OA V3.16 patch 23. I have a panel push button script that has the following line. int i = getDomainOSUser(username, fullname, description, groups, domain, password); The parameter strings are defined in the script and are uninitialized. This function call does return the username of the logged in us...
by Smiffy
Thu Apr 08, 2021 11:48 am
Forum: HowTos
Topic: Possible to detect if panel is running in webserver?
Replies: 1
Views: 1633

Possible to detect if panel is running in webserver?

I would like to have a button perform different actions depending on if the application is running on the host machine or being run over the webserver interface. Is that possible? I have looked through the help and cannot find anything. Is there a call I can make to detect if the panel is being acce...
by Smiffy
Fri Sep 11, 2020 6:07 pm
Forum: Bugs / Problems
Topic: HMI Autoboot - OA as a service
Replies: 5
Views: 4160

Re: HMI Autoboot - OA as a service

Ok I have fixed the boot up by starting the UI from the windows task scheduler as per dbindernagel instructions. The next problem is how to shutdown cleanly from a button on the HMI. After much experimentation, I have ascertained the following. When the pmon process (wincc oa as a service) is termin...
by Smiffy
Mon Aug 17, 2020 1:24 pm
Forum: Bugs / Problems
Topic: Splashscreen
Replies: 1
Views: 1722

Splashscreen

I have configured OA to run as a service as per the official documentation. The UI is then started from the windows task scheduler (...WCCOAui.exe -proj Project_Name -num 2 -p vision/startup.pnl -iconBar -menuBar -touch). What I would like to achieve is to display a boot up screen saver, that displa...
by Smiffy
Tue Jun 30, 2020 5:08 pm
Forum: Bugs / Problems
Topic: HMI Autoboot - OA as a service
Replies: 5
Views: 4160

HMI Autoboot - OA as a service

I am trying to get OA UI to start automatically when logging into the PC. I am using V3.16 patch 16. I have followed the help regarding getting OA to run as a service. However, despite following the help to the letter and repeating the exercise many times, I cannot get it to work. The process monito...
by Smiffy
Thu Mar 12, 2020 10:56 am
Forum: Bugs / Problems
Topic: Acessing user name from standard login panel
Replies: 4
Views: 3587

Re: Acessing user name from standard login panel

Thank you, Leopold that works great. I am a happy programmer now. :-)
by Smiffy
Wed Mar 11, 2020 4:20 pm
Forum: Bugs / Problems
Topic: Acessing user name from standard login panel
Replies: 4
Views: 3587

Re: Acessing user name from standard login panel

Following on from this. I would like to have the option of selecting a username for login from a list of known users. I can easily do this by putting a combo box on the login panel and populating it from the _Users.UserName dp entry. However the issue are:- 1) Getting the username for the rest of th...
by Smiffy
Fri Mar 06, 2020 5:14 pm
Forum: Bugs / Problems
Topic: Acessing user name from standard login panel
Replies: 4
Views: 3587

Re: Acessing user name from standard login panel

Aha! Done it!
shared_ptr<OaAuthUI> ui = m_loginFrameworkController.getUI();
DebugN(ui.getUsername());