Search found 175 matches

by wlederer
Mon Feb 18, 2019 10:13 am
Forum: Dynamics
Topic: Data logger and scheduler
Replies: 6
Views: 10068

Re: Data logger and scheduler

At first localize the problem.
What goes wrong, recording data into database table, reading data from the database or recording into into external drive?
If You reduce period of data logging from 1 to 60 sec what happens?
Do You use the original database or created Your own?
by wlederer
Tue Jan 29, 2019 10:39 am
Forum: Dynamics
Topic: Data logger and scheduler
Replies: 6
Views: 10068

Re: Data logger and scheduler

Check the "Max Number of Logged Rows" in the Data Logger's property.
If number of record made is bigger, the oldest record will be deleted and replaced with the current data.
The default value is 500. If bigger value inserted, an appropriate warning appeared after compilation.
regards, Waldemar
by wlederer
Wed Nov 21, 2018 6:44 am
Forum: Application Development
Topic: Adding a new table in the general Database.db using script
Replies: 1
Views: 9762

Re: Adding a new table in the general Database.db using scri

Probably, yes. I will google it.
You can add a table to the Database.db with Data Logger.
And You can add an external SQLite database to USB or SD card.
The database errors are not being noticed by iX Developer. Use: try, catch (SQLiteException ).
by wlederer
Wed Nov 07, 2018 9:23 am
Forum: Application Development
Topic: Alias trend script + Alarm indicator
Replies: 1
Views: 4003

Re: Alias trend script + Alarm indicator

It looks like , You want to show on TrendViewer three curves for several signals to choose by operator. I did similar task differently. 1. In “Edit curves” set Curve1 (tag: Curve1Value), Curve2 (tag: Curve2Value) and Curve3 (tag: Curve3Value) with different colours assigned. 2. In “Trend Dynamics” s...
by wlederer
Wed Oct 17, 2018 8:55 am
Forum: Application Development
Topic: Debug Tools
Replies: 3
Views: 5138

Re: Debug Tools

Thank You Russ C. for the answer.
I read the reference manual. Not much information is there about debugging. I have Visual Studio 2013 installed. An extra manual (probably, from a third party) would be helpful to learn this option.
Regards, Waldemar
by wlederer
Fri Sep 28, 2018 4:28 am
Forum: Application Development
Topic: Debug Tools
Replies: 3
Views: 5138

Debug Tools

Dear colleagues,
Who used Debug tool in iX-Developer, a nice picture of a ladybird in the "Project" page next to "Simulate" button?
How can it be used? Is it effective and useful? Where to find a proper manual?
by wlederer
Wed Jul 18, 2018 2:40 am
Forum: Database
Topic: How to insert values to the "Time" column of Data Logger
Replies: 1
Views: 5859

Re: How to insert values to the "Time" column of Data Logger

I found solution. After backing up the internal database to USB memory, it was opened with SQLite Expert and the field "Time" type was changed from datetime to nvarchar.
But, how to insert data to fields with SQL type "datetime" is not yet clear.
by wlederer
Thu Jul 05, 2018 4:03 am
Forum: Database
Topic: How to insert values to the "Time" column of Data Logger
Replies: 1
Views: 5859

How to insert values to the "Time" column of Data Logger

My task is to move a Data Logger from internal HMI memory (X2Pro) to USB or SD. I made backup of existing database on USB and wrote a script to make records. It works, but there is a problem with the field "Time". It has format DateTime.
How to insert a value into this column?
by wlederer
Wed Jun 20, 2018 1:33 am
Forum: Application Development
Topic: How to limit the number of characters in a texbox
Replies: 3
Views: 5313

Re: How to limit the number of characters in a texbox

Hi, use script.
Globals.Tags.MyTag_rounded.Value =Math.Round((double)Globals.Tags.MyTag.Value,1);//rounds value to 1 decimal
by wlederer
Wed Nov 15, 2017 4:52 am
Forum: Scripting
Topic: Getting IP address from system
Replies: 14
Views: 25670

Re: Getting IP address from system

Thank You Adam for the link, it is very interesting information. Original task was to check, if the HMI configured as OPC server or client. But, it is not clear, how to check by script, if a controller (OPC client) active or not. Anyway, the problem is solved, because we know now what IP address is ...