Search found 211 matches

Search

by adaneau
Fri Jun 12, 2020 6:46 am
Forum: Features / Solutions
Topic: Alert delay base on time
Replies: 2
Views: 457

Re: Alert delay base on time

Hi, This is not standard feature of WinCC OA. But I guess it can be done with a ctrl script and additional DP: - Create an additional DP for only the alarm. Not linked to your actual value but to some summary state integer (e.g. an enumeration matching your ranges) - Inactive alarm from the value to...
by adaneau
Mon Apr 27, 2020 8:52 am
Forum: Features / Solutions
Topic: How change backcolor of pushbutton with text
Replies: 1
Views: 1170

Re: How change backcolor of pushbutton with text

Hi,

You can use stylesheet for this (see Style Sheets, basics in help).

Example:

Code: Select all

QPushButton[type = "myButtonTypeName"]
{
  border-radius: 5px;
  background-color: red;
  border-style: solid;
  border-width: 2px;
  border-color: black;
}
BR
Alexandre Daneau
by adaneau
Thu Apr 23, 2020 4:06 pm
Forum: Features / Solutions
Topic: appendLines ,or updateLines with new rows, autoscrolls the table to end of table
Replies: 2
Views: 1270

Re: appendLines ,or updateLines with new rows, autoscrolls the table to end of table

Hi,

You can use

table.lineVisible(1);

So it stays always on beginning.

BR
Alexandre Daneau
by adaneau
Wed Apr 22, 2020 11:16 am
Forum: Features / Solutions
Topic: dpConnect on CTRL++
Replies: 2
Views: 1317

Re: dpConnect on CTRL++

Hi, Seeing some mistakes in your code so far: - if you use a callback from inside your class, you should have this.OnTest in your dpConnect - you should have dpConnect(this, this.OnTestStruct ... - I wouldnt recommend to have a callback function out of the struct (OnTestStruct), especially if you us...
by adaneau
Thu Apr 16, 2020 3:36 pm
Forum: HowTos
Topic: Driver setting status bits only
Replies: 2
Views: 1610

Re: Driver setting status bits only

Hi,

I think this is normal because a change of bits should also trigger dpConnect functions (e.g. in case of connection loss), thus you need to use setData (and yes unfortunately I think it also change timestamp and value).

BR
Alex
by adaneau
Thu Apr 16, 2020 3:35 pm
Forum: HowTos
Topic: Does Wincc OA support Qt Charts in EWO?
Replies: 1
Views: 1074

Re: Does Wincc OA support Qt Charts in EWO?

Hi,

What do you mean? Since some patch from 3,16 (and of course in 3,17) there is a chart.ewo which is basically Qt chart.

BR
Alex
by adaneau
Tue Apr 07, 2020 9:32 am
Forum: Bugs / Problems
Topic: login panel for SSA
Replies: 1
Views: 891

Re: login panel for SSA

Hi Todd,

If you use SSA, this is a qt generated window. You can only change picture but not customize it. It is because it runs before even UI starts, so it cannot rely on pnl/xml files.

BR
Alex
by adaneau
Tue Apr 07, 2020 9:29 am
Forum: Features / Solutions
Topic: VLC player in WinCC OA
Replies: 3
Views: 1973

Re: VLC player in WinCC OA

Hi, What do you mean by control? Is there a remote instance of VLC that you want to control from WinCC OA? If you want to integrate VLC directly as UI component you have ways: - if Windows based, you can use Active X component from VLC - as VLC is built in Qt, you can create a EWO to use it - you ca...
by adaneau
Thu Apr 02, 2020 10:29 am
Forum: HowTos
Topic: WEBCLIENT HOST NAME
Replies: 2
Views: 1540

Re: WEBCLIENT HOST NAME

Hi,

Check the function myDisplayName().

BR
Alexandre
by adaneau
Thu Apr 02, 2020 9:21 am
Forum: Bugs / Problems
Topic: ask/change passwort from ctrl
Replies: 7
Views: 2089

Re: ask/change passwort from ctrl

Hi, Just my few cents on this. Transferring password in clear text via network is a big security thread. You will need a good encryption between WinCC OA and your third party system. Moreover this is also an exposure to MoM attacks. I wouldnt use such mechanism in sensible environment. If you wanna ...