contact
support
Download
order
news
AGG Software Forums
December 03, 2024, 08:24:10 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome on our forum!
Home
Help
Search
Login
Register
AGG Software Forums
>
Online Help Center
>
Data loggers and plug-ins
>
Help with serial printer logger
Pages: [
1
]
« previous
next »
Print
Author
Topic: Help with serial printer logger (Read 44531 times)
duats
Jr. Member
Karma: +0/-0
Posts: 6
Help with serial printer logger
«
on:
March 24, 2009, 11:23:43 AM »
I am using the trial serial printer logger.
I am successfully logging printer data.
I am successfully displaying printer data.
I need to activate a sound on detection of various text strings in the printer data.
I have tried to set the filter for the events.dll to play sound on detection, but without success.
Can you give me the steps to configure this functionality?
Thanks for your help.
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Help with serial printer logger
«
Reply #1 on:
March 24, 2009, 12:11:51 PM »
I'm sorry, but serial printer logger can't notify on data detection. Please, try Advanced Serial Data Logger instead. You need to activate and configure the ASCII data parser (I suppose that you are capturing text data). In this case you can use events.dll as you want.
Logged
duats
Jr. Member
Karma: +0/-0
Posts: 6
Re: Help with serial printer logger
«
Reply #2 on:
March 24, 2009, 12:24:12 PM »
Thanks,
I will install ASDL and see what I can do with that.
Logged
duats
Jr. Member
Karma: +0/-0
Posts: 6
Re: Help with serial printer logger
«
Reply #3 on:
March 24, 2009, 04:22:39 PM »
OK, now I have installed ASDL.
I don't see any success in my objective, which is to play a particular sound when a particular text string is discovered in the received data.
I want to play different sound files on the occurrence of "text type 1" or "text type 2" when the received data is in the form:
Date/Time dddddddddddddd text type 1<CR><LF>
Date/Time dddddddddddddd text type 2<CR><LF>
How is the query/parse filter used to identify the desired text?
I am not using any process to work with the parsed data; I just want the sound.
Once the data is isolated and the trigger is produced, how is the Events handling module used to execute the playing of the sound? What is the form of the trigger for the Events handling module?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Help with serial printer logger
«
Reply #4 on:
March 24, 2009, 04:57:34 PM »
1. You need to activate the ASCII parser in any case. The parser will split your data by rows (fig.1).
2. You need to activate the "Events handling" plug-in (fig.2)
3. Withing the the "Events handling" plug-in you should add a handler (fig.3)
4. Specify handler name and event type (fig.4).
s1.JPG
(43.76 KB, 436x415 - viewed 9 times.)
s2.JPG
(31.29 KB, 467x456 - viewed 9 times.)
s3.JPG
(42.5 KB, 551x420 - viewed 8 times.)
s4.JPG
(12.27 KB, 342x168 - viewed 9 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Help with serial printer logger
«
Reply #5 on:
March 24, 2009, 04:59:36 PM »
5. Configure the filter for this handler (fig.5) (small correction in the "Place" column select "Any event context item");
6. Specify your sound (fig.6);
7. Repeat steps 3-6 for second text entry.
s5.JPG
(46.39 KB, 635x474 - viewed 5 times.)
s6.JPG
(41.63 KB, 635x474 - viewed 5 times.)
«
Last Edit: March 24, 2009, 05:07:41 PM by Arthur Grasin
»
Logged
duats
Jr. Member
Karma: +0/-0
Posts: 6
Re: Help with serial printer logger
«
Reply #6 on:
March 24, 2009, 05:54:57 PM »
There is still no response. The test button on the sound file definition works, so the speaker, etc. is working.
What about the page "Query Parse Filter" ?
I set Data Query mode: none
Parser module: ASCII data query & parser (default.dll)
Parse & Export for sent: no
Parse & Export for received: yes
Is there any way to see what the intermediate steps produce? How do you step-wise debug this thing?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: Help with serial printer logger
«
Reply #7 on:
March 24, 2009, 06:27:46 PM »
Additional screenshots are attached. I've tested this solution on my PC and it works well. Did you type your text instead of "type1" on fig.5?
How to debug:
Try to activate the DDE server data export plug-in. If you'll receive data and the "Active items" window will contain any items, then the parser works ok. Otherwise you should verify parser settings.
s7.JPG
(45.86 KB, 467x456 - viewed 4 times.)
s8.JPG
(44.79 KB, 635x474 - viewed 4 times.)
«
Last Edit: March 24, 2009, 06:30:23 PM by Arthur Grasin
»
Logged
duats
Jr. Member
Karma: +0/-0
Posts: 6
Re: Help with serial printer logger
«
Reply #8 on:
March 24, 2009, 07:00:17 PM »
Thanks,
I did put my data strings in there.
I will return at 0630 GMT when my next shift starts and I will try the DDE.
I'll report the result. Hoping you are there that early.
Logged
duats
Jr. Member
Karma: +0/-0
Posts: 6
Re: Help with serial printer logger
«
Reply #9 on:
March 25, 2009, 10:47:50 AM »
Thanks Arthur,
Your reply #5 solved the problem. My misunderstanding was mainly in the parser. Now I see how that goes together.
I had trouble after the changes because I did not restart the service. Evidently, the configuration changes stored in the registry are picked up on starting the ASDL service.
We have success. I will expand on this myself and thanks again for your assistance.
We have now purchased the pro version of ASDL.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
News & Feedbacks
-----------------------------
=> News and Updates
=> Site Comments
-----------------------------
Online Help Center
-----------------------------
=> Advanced Serial Port Monitor
=> Data loggers and plug-ins
=> Data loggers ActiveX
=> Advanced USB Port Monitor
=> Virtual Null Modem
=> Software for DNC and CNC
=> Other questions
-----------------------------
Development
-----------------------------
=> Feature Requests
Loading...