import_generic and Basalt

316 views
Skip to first unread message

Danny

unread,
Feb 3, 2012, 6:03:08 PM2/3/12
to Earthworm Community Forum
Dear All,

We would like to integrate seismic acquisition network consisting a
couple of instrument types. One instrument, Kinemetrics Basalt
digitizers, were just newly installed. We are able to setup
import_generic module in our Earthworm setup (v7.4 in Linux) to
receive data from Basalt (as it has export setup running). However,
the import_generic module went dead after several minutes (please see
example of the error message below). We are wondering if there is any
solution that can eliminate the drop of this module going Dead.
Please find the enclose import_generic.d. We checked with the setting
in Basalt and we thought all setting is consistent with
import_generic.d. Perhaps there is (are something else that we missed
to change).

Thank you.

...
import_ack(MOD_IMPORT_GENERIC): Read command file
<import_generic_vmsm.d>
29 Apr 2005 version: I discover if I should send ACKs.
Socket timeout (0 ms) is less than incoming heartrate (30 sec)Setting
socket timeout to 30000 ms
import_ack(MOD_IMPORT_GENERIC): Attached to public memory region
WAVE_RING: 1000
20120203_UTC_16:45:10 import_ack(MOD_IMPORT_GENERIC): Trying to
connect to 172.16.1.201 on port 16005
20120203_UTC_16:45:10 import_ack(MOD_IMPORT_GENERIC): Connected after
0 seconds (on try 1)
20120203_UTC_16:45:10 import_ack(MOD_IMPORT_GENERIC): I will NOT send
ACKs to export.
[nmx@eos-phivolcs1 logs]$ tail -n 20 import_generic_vmsm_20120203.log
29 Apr 2005 version: I discover if I should send ACKs.
Socket timeout (0 ms) is less than incoming heartrate (30 sec)Setting
socket timeout to 30000 ms
import_ack(MOD_IMPORT_GENERIC): Attached to public memory region
WAVE_RING: 1000
20120203_UTC_16:37:09 import_ack(MOD_IMPORT_GENERIC): Trying to
connect to 172.16.1.201 on port 16005
20120203_UTC_16:37:09 import_ack(MOD_IMPORT_GENERIC): Connected after
0 seconds (on try 1)
20120203_UTC_16:37:09 import_ack(MOD_IMPORT_GENERIC): I will NOT send
ACKs to export.
20120203_UTC_16:44:39 import_ack(MOD_IMPORT_GENERIC): Bad socket read:
0
20120203_UTC_16:44:39 import_ack(MOD_IMPORT_GENERIC): Error in socket
communication; stopping MessageReceiver thread
...

Regards,

Dannie Hidayat

import_generic.d
------------------------
MyModuleId MOD_IMPORT_GENERIC # module id for this import,
RingName WAVE_RING # transport ring to use for input/
output,
HeartBeatInt 30 # Heartbeat interval in seconds
# Should be >= SenderHeartRate
LogFile 1 # If 0, don't write logfile at
all,

MaxMsgSize 65000 # maximum size (bytes) for input/output
msgs
# Note: If an oversized message is received, it will be discarded, the
# socket will be closed, log an error, and it will connect and
try
# again.

MyAliveString "alive" # heartbeat text to foreign server machine
MyAliveInt 150 # seconds between alive msgs sent to server
# 0 => no alive messages to sending machine

# Sender description follows:
SenderIpAdr 172.16.1.201 # Ip address of the machine we're to listen
to
SenderPort 16005 # IP port number used by sender
SenderHeartRate 30 # Sender's heart beat interval in seconds
# 0 => no heartbeat expected
SenderHeartText "alive" # Sender's heartbeat text

# Optional commands:

#SocketTimeout 30 #Timeout for Socket_ew calls in milliseconds

#SocketTimeout 60000 #Timeout for Socket_ew calls in milliseconds
#Should be atleast the SenderHeartRate
# Will default to SenderHeartRate
#HeartbeatDebug 0 #Change this to 1 to get heartbeat debug
messages.
#SocketDebug 1 #Change this to 1 to get socket debug messagese.

Paul Friberg

unread,
Feb 3, 2012, 6:10:53 PM2/3/12
to earthwo...@googlegroups.com
Hi Danny,

As with all import/export, make sure you have the heartbeat strings correctly specified on both ends and also have the heartbeat interval 1/2 the listening interval in both cases. Ususally when you strange drop outs, and it is  not communications failure related, it is due to misconfigured heartbeat rates.

Cheers,

Paul

PS Good to see you at AGU!


--
You received this message because you are subscribed to the Google
Groups "Earthworm Community Forum" group.

To post to this group, send an email to earthwo...@googlegroups.com

To unsubscribe from this group, send an email to
earthworm_for...@googlegroups.com

For more options, visit this group at
http://groups.google.com/group/earthworm_forum?hl=en



--
===================================
Paul Friberg   p.fr...@isti.com
ISTI==Instrumental Software Technologies, Inc.
Phone 845.256.9290 FAX 845.256.9299

Danny

unread,
Feb 3, 2012, 6:29:52 PM2/3/12
to Earthworm Community Forum
Hi Paul,

Thank you for the quick reply and recommendation.
I'll see and open the heart beat strings and interval change in the
instrument and server later today.

Regards,

Dannie
> Paul Friberg   p.frib...@isti.com

jwx_iem

unread,
Feb 9, 2012, 3:18:39 AM2/9/12
to earthworm_forum
Hi,
I need a GUI interface to manage the RINGs and MODULEs in earthworm. So, I can reboot or startup any modules by GUI instead of by 'startstop'. Any ready-made program? 

Billy Edson Burgoa Rosso

unread,
Feb 9, 2012, 8:52:41 AM2/9/12
to earthwo...@googlegroups.com
Hello,

There is an Earthworm Front End program that was developed by ISTI. According the information in the site http://www.isti.com/products/ewfe/ewfe the basic version is free and you can monitor a single Earthworm installation.

I didn't have the opportunity to use it but it seems an useful tool.

Regards,

Billy Burgoa R.

2012/2/9 jwx_iem <jwx...@163.com>
Hi,
I need a GUI interface to manage the RINGs and MODULEs in earthworm. So, I can reboot or startup any modules by GUI instead of by 'startstop'. Any ready-made program? 

--

Steve Shufflebotham

unread,
Feb 11, 2012, 12:23:01 PM2/11/12
to earthwo...@googlegroups.com
Hi,
Did you have any luck with the earthworm front end ?
I was thinking of giving it a try myself but there does not seem to be much info as to how you set it up.
 
Regards.
--

Stefan Lisowski

unread,
Feb 14, 2012, 10:40:46 AM2/14/12
to earthwo...@googlegroups.com

The Earthworm Front End is compatible with newer versions of Earthworm,
and may work with some older ones as well.

On the server: set the earthworm environment so EW_PARAMs, etc. are all
correct. Once that's the case, launch the server software. The software
will tell you what port it uses on boot up.

Then from any machine (a different operating system is OK, running on
the server machine itself is OK too) run the client software, and point
to the IP and port of your machine running the server software.

You'll need to make sure the firewalls are open to allow an incoming TCP
port on the server machine if you don't run the Front End locally.

If you run into trouble, let us know.

- Stefan

On 2/11/2012 12:23 PM, Steve Shufflebotham wrote:
> Hi,
> Did you have any luck with the earthworm front end ?
> I was thinking of giving it a try myself but there does not seem to be
> much info as to how you set it up.
> Regards.
>
> ----- Original Message -----

> *From:* jwx_iem <mailto:jwx...@163.com>
> *To:* earthworm_forum <mailto:earthwo...@googlegroups.com>
> *Sent:* Thursday, February 09, 2012 8:18 AM
> *Subject:* [Earthworm Forum] which GUI do you use to monitor earthorm


>
> Hi,
> I need a GUI interface to manage the RINGs and MODULEs in earthworm.
> So, I can reboot or startup any modules by GUI instead of by
> 'startstop'. Any ready-made program?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to
> earthwo...@googlegroups.com

> <mailto:earthwo...@googlegroups.com>

Steve Shufflebotham

unread,
Feb 17, 2012, 1:00:51 PM2/17/12
to earthwo...@googlegroups.com
Hi
Thanks for the info.
My EW enviroment is set as C:\Earthworm\7.3\run_local\params
I assume this is incorrect as the server software informs me so.
Could you specify what it should be ?
many thanks.

Stefan Lisowski

unread,
Feb 17, 2012, 1:04:50 PM2/17/12
to earthwo...@googlegroups.com
In a shell window run
C:\Earthworm\7.3\run_local\params\ew_nt.cmd

Running that file sets your Earthworm environment variables.

After that from the same shell window run the server binary.

ie:
c:\Earthworm\EWFE\server.exe

El Berto

unread,
Aug 28, 2013, 9:07:19 AM8/28/13
to earthwo...@googlegroups.com
Hi, I've just received a Kinemetrics Basalt instrument: how can I use it on earthworm?
I can't find seedlink server settings on Basalt web interface, so how can I acquire Basalt data (rock2ew is not present on my ew v7.6)?
Thanks.

Paul Friberg

unread,
Aug 28, 2013, 9:10:26 AM8/28/13
to earthwo...@googlegroups.com
Hi El Berto,

You can get the latest version of Earthworm from SVN where there is a rock2ew latest version in the src/data_source dir or you can go here:

http://www.isti2.com/RockToEW/ - for export to earthworm using tracebuf2

We will have this same version in EW 7.7 when release it soon.

Alternatively you can set up the seedlink server on the Basalt using:

http://www.isti2.com/RockToSLink/

and get data into earthworm with the slink2ew module included with Earthworm.

Cheers,

Paul
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Earthworm Community Forum" group.
>
> To post to this group, send an email to earthwo...@googlegroups.com
>
> To unsubscribe from this group, send an email to
> earthworm_for...@googlegroups.com
>
> For more options, visit this group at
> http://groups.google.com/group/earthworm_forum?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "Earthworm Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to earthworm_for...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

mwit...@memphis.edu

unread,
Aug 28, 2013, 9:13:21 AM8/28/13
to earthwo...@googlegroups.com

We've had success with rocktoslink on the basalt (and granite) then slink2ew
in earthworm.

Mitch

Center for Earthquake Research and Information (CERI)
University of Memphis Ph: 901-678-4940
Memphis, TN 38152 Fax: 901-678-4734

jwx_iem

unread,
Aug 28, 2013, 9:16:32 AM8/28/13
to earthworm_forum
install rock2ew to Basalt and you can receive messages using import_generic in earthworm. Feel free to send me email if have any questiongs.

jwx_iem

marcelo moreno

unread,
Aug 29, 2013, 8:47:41 AM8/29/13
to earthwo...@googlegroups.com
Hola

As Mitch, I use RockToSeedlink from isti, and it works ok



2013/8/28 jwx_iem <jwx...@163.com>
Reply all
Reply to author
Forward
0 new messages