Search found 17 matches

Search

by EER
Tue Jul 18, 2023 3:28 pm
Forum: HowTos
Topic: InfluxDB reset value
Replies: 10
Views: 8428

Re: InfluxDB reset value

Anyone found a easy "delete all history" option?

I agree manually deleting files would be a nice option. But the residue information Leopold mentions is an issue.. Tmost reliable path I found is just manually deleting the segments using the "runtime engineering".
by EER
Fri Dec 16, 2022 2:13 pm
Forum: Bugs / Problems
Topic: OS Auth (Windows domain): old password valid after password change (for a while)
Replies: 1
Views: 3398

OS Auth (Windows domain): old password valid after password change (for a while)

I have a Windows domain which WinCCOA uses for user login. When a user changes it's password it is possible to login with both the old and the new password. After a while (maybe 10 minutes?) this is fixed and only the new password works. Is it considered normal or does is indicate some misconfigurat...
by EER
Mon Nov 14, 2022 2:24 pm
Forum: HowTos
Topic: CTRL script listing on TCP port
Replies: 3
Views: 4272

CTRL script listing on TCP port

Hi,

Is it possible to listen on a TCP port?

I imagine it would be a simple function like:

Code: Select all

int socket = TcpBind(127.0.0.1, 4567);
while (true)
{
  anytype data;
  int readResult = TcpSocketRead(socket, any);
  DebugTN(data);
}
But I have not found something equivalent.
by EER
Fri Mar 04, 2022 10:28 am
Forum: HowTos
Topic: HTTP Server, Content type: application/json
Replies: 6
Views: 8349

Re: HTTP Server, Content type: application/json

I'm having the same problem, without solution so far. If I send the following JSON data (application/json): { "test": 1 } It following WinCCOA server: #uses "CtrlHTTP" main() { httpServer(false, 8440); httpConnect("cbFunction", "/", "application/json"...
by EER
Tue Sep 21, 2021 11:00 am
Forum: Bugs / Problems
Topic: Database has not been repaired - shutdown initiated
Replies: 1
Views: 3685

Database has not been repaired - shutdown initiated

Hi, I encouter some problems with the database after the database manager is killed (forced reboot or powerloss). The project is created using PVSS 3.6-SP2 and has been upgraded to WinCCOA 3.18. When the data manager is killed and restarted with the -repair on argument it fails as shown in the logs:...
by EER
Mon Jan 27, 2020 12:52 pm
Forum: HowTos
Topic: How to address a variable name by combining strings
Replies: 5
Views: 6363

Re: How to address a variable name by combining strings

I think its not possible. Something that looks like your example: dyn_float dfValues; int i =1; dfValues[i] = 123.4; But this does not compose a variable name using strings. In most cases you don't need to do this anyway. I don't know what problem you try to solve but try to use lists or maps to str...
by EER
Wed Jul 20, 2016 1:41 pm
Forum: HowTos
Topic: Using a Object, and making all the properties visible
Replies: 8
Views: 6608

Re: Using a Object, and making all the properties visible

<r><B><s>[b]</s>Rudi Kreiner wrote:<e>[/b]</e></B> <QUOTE><s>[quote]</s>I had always thought that setValue did not work for a whole reference but if Martin says it does, then it was time for me to try it again.<br/> Of course he is right, but what does not work is getValue, which I noticed when I tr...
by EER
Wed Jul 20, 2016 1:11 pm
Forum: HowTos
Topic: Using a Object, and making all the properties visible
Replies: 8
Views: 6608

Re: Using a Object, and making all the properties visible

<r><B><s>[b]</s>Martin Koller wrote:<e>[/b]</e></B> <QUOTE><s>[quote]</s>The object you created in a separate panel is inserted into any other panel as a Panel Reference.<br/> The reference has a name. Simply use this name to address this instance and use<br/> setValue("theName", "visible", false);<...
by EER
Wed Jul 20, 2016 10:29 am
Forum: HowTos
Topic: Using a Object, and making all the properties visible
Replies: 8
Views: 6608

Re: Using a Object, and making all the properties visible

I would guess there is no elegant way to do this.

But is this function really necessary? How many visibility properties does your object have?


Edit:
I am not sure it applies to your problem but maybe the use of visibility layers can help.
by EER
Wed Jun 22, 2016 6:09 pm
Forum: Bugs / Problems
Topic: WinCC OA 3.14 install OpenSuse
Replies: 8
Views: 8827

Re: WinCC OA 3.14 install OpenSuse

<t>During the installation I ignored the warnings about the missing dependencies. Afterwards I installed the 'community' package mentioned above and the demo applications seems to start fine now (at first sight).<br/> The document/help files do not work at the moment.<br/> <br/> Ill continue to do s...