Search found 95 matches

Search

by gschijndel
Fri Nov 15, 2019 3:28 pm
Forum: Bugs / Problems
Topic: Double lines with redundancy network connections aren't showed properly in the System Overview
Replies: 4
Views: 50

Re: Double lines with redundancy network connections aren't showed properly in the System Overview

If the network connections are in the same network segment you cannot be sure that both network connections are used, because the OS decides over which connection it sends the data and the WinCC OA will close the second connection from the same source IP address. Check your logs to see if this is th...
by gschijndel
Fri Nov 15, 2019 3:11 pm
Forum: Bugs / Problems
Topic: Unsupported data type 589824
Replies: 5
Views: 260

Re: Unsupported data type 589824

sblancha wrote:
Tue Oct 15, 2019 7:11 am
I have the warning "Unsupported data type 589824" in the log. but how to know what is this data type XXXXXX ?

Convert the value to hex (0x00090000), search for this value in '<API_ROOT>/Libs/Basics/Variables/Variable.hxx' and find 'BIT32_VAR'.
by gschijndel
Fri Nov 15, 2019 2:52 pm
Forum: Bugs / Problems
Topic: Bug - Driver workProc strange behavior
Replies: 6
Views: 41

Re: Bug - Driver workProc strange behavior

Values sent by 'DrvManager::getSelfPtr()->toDp(...)' are not affected by 'forwardDp(Type)' config entries. They are simply discarded from the passive driver.
For a driver (watchdog) status use 'dpSet(...)' to set an internal driver (watchdog) datapoint element.
by gschijndel
Fri Nov 15, 2019 2:39 pm
Forum: HowTos
Topic: getCatStr in C++ API
Replies: 1
Views: 8

Re: getCatStr in C++ API

Use 'StrUtil::catgets'.
by gschijndel
Fri Nov 15, 2019 2:28 pm
Forum: HowTos
Topic: OPC UA methods
Replies: 1
Views: 44

Re: OPC UA methods

Driver: Asked and answered in topic OPC UA method call.
by gschijndel
Fri Oct 18, 2019 6:22 am
Forum: HowTos
Topic: Read out a struct with S7+/OPC UA Siemens 1500 CPU
Replies: 4
Views: 791

Re: Read out a struct with S7+/OPC UA Siemens 1500 CPU

The (classic) S7 driver could also be used to connect to a S7-1500 in compatibility mode.
by gschijndel
Wed Oct 09, 2019 2:49 pm
Forum: Bugs / Problems
Topic: [3.14] Retrieve current Panel (Window) Size
Replies: 4
Views: 337

Re: [3.14] Retrieve current Panel (Window) Size

In case the contents are scaled you could get the 'window size' by multiplying the width and height (as returned by panelSize) with the zoom factor.
by gschijndel
Wed Oct 02, 2019 3:04 pm
Forum: HowTos
Topic: Event Curve with add. Infos (text and icon)
Replies: 2
Views: 448

Re: Event Curve with add. Infos (text and icon)

The additional texts could also be set with the 'curveValuesTexts'. For a trend curve no dpe is needed, you could for example put the state information in a trend curve. Read the values from the trend, make the json strings event values from this data and put these in the event curve. A control mana...
by gschijndel
Tue Oct 01, 2019 6:22 am
Forum: HowTos
Topic: execute script clicked
Replies: 4
Views: 659

Re: execute script clicked

Another option would be to:
  • define an event
  • connect to this event
  • trigger this event
The benefit of using an event is that the script context is the same regardless of from where the event is triggered.
by gschijndel
Tue Oct 01, 2019 6:11 am
Forum: Bugs / Problems
Topic: Read single character from uni-string
Replies: 4
Views: 598

Re: Read single character from uni-string

Also the 'strwalk' function should be able to read a single Unicode character.