Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Sun Nov 19, 2017 5:36 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Writing to the log
PostPosted: Wed May 25, 2011 10:52 am 
Offline

Joined: Wed May 25, 2011 10:49 am
Posts: 8
Is there a way that I can add my own entries to the IX Log?


Top
 Profile  
 
 Post subject: Re: Writing to the log
PostPosted: Wed May 25, 2011 12:33 pm 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
I'm not sure which log you are referring to? Are you talking about the Data Logger, Audit Trail or Alarm Server logs?

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
 Post subject: Re: Writing to the log
PostPosted: Thu May 26, 2011 9:48 am 
Offline

Joined: Wed May 25, 2011 10:49 am
Posts: 8
I am assume the data logger. I have written some C# code and I would like to log its actions when running. If the application fails I would like to be able to look at the log and see what it was doing at the time.


Top
 Profile  
 
 Post subject: Re: Writing to the log
PostPosted: Thu May 26, 2011 10:01 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
You should be able to use the DataLogger.

Create a DataLogger, "Add" a LogItem row. Select a "Tag" in the Tag column. Go to settings and select "Log on Tag event" and specify the same tag. When you want to log a row, you change the value of that tag.

Code:
Globals.Tags.Tag1.Value = "abcdefg";


Attachment:
datalogger_pic.JPG
datalogger_pic.JPG [ 82.47 KiB | Viewed 2752 times ]

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
 Post subject: Re: Writing to the log
PostPosted: Fri May 27, 2011 7:23 am 
Offline

Joined: Wed May 25, 2011 10:49 am
Posts: 8
Thank you very much!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group