Hello,
I developed an application in ix-Developer using data logger and scheduler.
Data logger extract data every seconds and scheduler create once a day a csv file with extracted data.
I need assistance because there are some issue that I can't solve on my own.
These are:
1. I'm able to launch data logger through a dedicated pushbutton on the screen. How can I run the application whitout clicking on the pushbutton?
2. Same for the scheduler. I need scheduler to run once a day whitout clicking on the pushbutton.
3. Data logger extract data every seconds, but on the csv file timing do not correspond.
-------------------------------
Id,Time,LogItem1,LogItem2,LogItem3,LogItem4
1,"02/06/2018 15.26.45",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
2,"02/06/2018 15.28.09",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
3,"02/06/2018 15.28.12",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
4,"02/06/2018 15.42.21",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
----------------------------------------
Thank you very much.
Kind regards,
Alessandro Podestà
Data logger and scheduler
Re: Data logger and scheduler
You can preform actions on tags using the "Action" column on the tags page. Select the Other check box and click on the ellipsis on the action column. Set your condition and select your action. See below:
Best regards,
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Re: Data logger and scheduler
Thank you for your reply.
Data logger worked for 6 month.
Every our data logger downloaded .csv file on one SSD and on a pendrive.
When we tried to recover data from both, we found out only last 20 days.
No instruction to delete data from SSD and pendrive were provided.
Space on hardware was enough to store all data.
It seems that someone deleted it voluntary. Our customer swear he did not deleted data form SSD and pendrive.
Does something similar happen to someoneelse?
Thank you very much.
Kind regards,
Alessandro Podestà
Data logger worked for 6 month.
Every our data logger downloaded .csv file on one SSD and on a pendrive.
When we tried to recover data from both, we found out only last 20 days.
No instruction to delete data from SSD and pendrive were provided.
Space on hardware was enough to store all data.
It seems that someone deleted it voluntary. Our customer swear he did not deleted data form SSD and pendrive.
Does something similar happen to someoneelse?
Thank you very much.
Kind regards,
Alessandro Podestà
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
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
Re: Data logger and scheduler
Dear Waldemar,
thank you for your reply.
Max Number of Logged Rows is bigger (1600000) but a script has been added.
It iss the following:
public partial class Tags
{
bool UsbPresent=false;
void efa_scheduler_on_ValueOn(System.Object sender, System.EventArgs e)
{
Globals.Tags.efa_appoggio.Value=1; // do not delete data logger at first start
UsbPresent = Directory.Exists("\\Hard Disk"); // check usb presence
}
void efa_scheduler_on_ValueOff(System.Object sender, System.EventArgs e)
{
if (Globals.Tags.efa_appoggio.Value==1) // after first start
// and with usb inserted
{
if (UsbPresent) // if usb present
{
Globals.DataLogger1.Clear(false);
}….
The script should delete data logger only if data has been trasferred on usb.
Do you think that this could cause the issue?
thank you for your reply.
Max Number of Logged Rows is bigger (1600000) but a script has been added.
It iss the following:
public partial class Tags
{
bool UsbPresent=false;
void efa_scheduler_on_ValueOn(System.Object sender, System.EventArgs e)
{
Globals.Tags.efa_appoggio.Value=1; // do not delete data logger at first start
UsbPresent = Directory.Exists("\\Hard Disk"); // check usb presence
}
void efa_scheduler_on_ValueOff(System.Object sender, System.EventArgs e)
{
if (Globals.Tags.efa_appoggio.Value==1) // after first start
// and with usb inserted
{
if (UsbPresent) // if usb present
{
Globals.DataLogger1.Clear(false);
}….
The script should delete data logger only if data has been trasferred on usb.
Do you think that this could cause the issue?
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?
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?
Re: Data logger and scheduler
Dear Wlederer,
everything worked fine. It seems only that someone deleted manually recordered data from SSD card, or in your opinion could be the IX program that deleted (for a bug for exemple) this data.
Thank you very much.
Kind regards,
Alessandro Podestà
everything worked fine. It seems only that someone deleted manually recordered data from SSD card, or in your opinion could be the IX program that deleted (for a bug for exemple) this data.
Thank you very much.
Kind regards,
Alessandro Podestà