Importing from Geotech Smart24

189 views
Skip to first unread message

Claus Hetzer

unread,
Sep 29, 2015, 3:36:23 PM9/29/15
to Earthworm Community Forum
Hello all-

I'm attempting to setup a small EW installation as a testbed for a future field installation, and I'm having some probably pretty simple issues.  I'm attempting to stream data from a single Geotech Smart24-R digitizer to a PC running Linux Mint.  To that end, I have activated the native EW streaming function on the Geotech, and am attempting to ingest the data stream using import_generic.  I think I have something screwed up in the configuration, because I cannot get the connection active.

On the Geotech side, I've configured it using the command-line telnet interface (my institution bought them many moons ago and our Smart24Config license is way obsolete).  The digitizer has IP 192.168.100.11 and the PC is at 192.168.100.1.  I used the following commands:

# Set up the CD1 parameters that carry over to EW
CSN 1,I57C1
CLN 1,1P,01
CCN 1,1P,BDF
CNS 1,IS
CCP 1,16005
CDA 1,192.168.100.1
# Set up the EW-specific parameters
EWE 1,1      # turn EW mode on
EWI 1,137   # installation ID INST_NCPA
EWM 1,200   # custom module number 200
EWS 1,0     # client mode; I want the digitizer to initiate the connection


In my import_generic_s24.d, I have:
 MyModuleId     MOD_IMPORT_GENERIC_S24   # module id for this import,
 RingName       WAVE_RING            # transport ring to use for input/output,
 HeartBeatInt   180                  # Heartbeat interval in seconds
 LogFile            1
 MaxMsgSize     65000           # maximum size (bytes) for input/output msgs
 MyAliveString  ""      # heartbeat text to foreign server machine
 MyAliveInt     0       # seconds between alive msgs sent to server
SenderIpAdr     192.168.100.11  # Ip address of the machine we're to listen to
SenderPort      16005           # IP port number used by sender
SenderHeartRate 0               # Sender's heart beat interval in seconds


I know the module is starting, because I get log output:
-------------------------------------------------------
import_generic_s24: startup at UTC_20150929_19:31:23
This program is using the non-MT-Safe version of logit.
-------------------------------------------------------
import_ack(MOD_IMPORT_GENERIC_S24): Read command file <import_generic_s24.d>
import_ack: Version 2.0.1 2013.07.15
29 Apr 2005 version: I discover if I should send ACKs.
Socket timeout (0 ms) is less than incoming heartrate (0 sec)Setting socket timeout to 0 ms
import_ack(MOD_IMPORT_GENERIC_S24): Attached to public memory region WAVE_RING: 1000
20150929_UTC_19:31:23 import_ack(MOD_IMPORT_GENERIC_S24): Trying to connect to 192.168.100.11 on port 16005
20150929_UTC_19:31:23 import_ack(MOD_IMPORT_GENERIC_S24): Failed to connect. Waiting...
20150929_UTC_19:31:33 import_ack(MOD_IMPORT_GENERIC_S24): Trying to connect to 192.168.100.11 on port 16005
20150929_UTC_19:31:33 import_ack(MOD_IMPORT_GENERIC_S24): Failed to connect. Waiting...
20150929_UTC_19:31:43 import_ack(MOD_IMPORT_GENERIC_S24): Trying to connect to 192.168.100.11 on port 16005
20150929_UTC_19:31:43 import_ack(MOD_IMPORT_GENERIC_S24): Failed to connect. Waiting...
20150929_UTC_19:31:53 import_ack(MOD_IMPORT_GENERIC_S24): Trying to connect to 192.168.100.11 on port 16005
20150929_UTC_19:31:53 import_ack(MOD_IMPORT_GENERIC_S24): Failed to connect. Will try to connect every 10 seconds, but will not log repetitions.


I have a feeling that it is something very simple in the import_generic configuration, but I'm not sure where.  I haven't done much with EW since I took the training course in Saratoga Springs nigh on 4 years ago, so my knowledge is a bit rusty, but i was able to get a previous test system going that imported a SEEDLink stream and that one worked.  Anyway, any input would be greatly welcomed.

Thanks
-Claus

marcelo moreno

unread,
Sep 30, 2015, 6:02:44 PM9/30/15
to earthwo...@googlegroups.com
Hola
here we use Smart24config. To get the right version of SMART24Config, contact at sup...@geoinstr.com
I don´t know about licence issues. (I think it is free)

Smart-24 digitizer can act like an Earthworm data export, active or passive. You will need to upgrade the instrument to the latest firmware (download from http://www.geoinstr.com/firmware.htm) and use the latest Smart24Config

You can turn the Smart-24 into an active Earthworm export by leaving the server mode disabled. In that case the Consumer Properties IP address and Connection Request Port represent the IP address and Port of the Earthworm passive import.

The Smart-24 does not send nor expect heartbeats. Therefore disable the heartbeats in Earthworm import, by setting MyAliveInt and SenderHeartRate to zero.


Saludos
Marcelo Moreno

--
--
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/d/optout.

Claus Hetzer

unread,
Oct 23, 2015, 11:57:15 AM10/23/15
to Earthworm Community Forum
Hi Marcelo-

Thanks for the reply.  I had actually done all these things already, based on an earlier post from you in this forum, and wasn't getting anywhere.  After consulting with Gary at Geotech, and using a packet sniffer, we determined that the problem was actually a misconfiguration of my network interface that was blocking all incoming connections despite no firewall being active.  Once we got that corrected, I've been able to stream.  So, not really an Earthworm problem after all...

Thanks
-Claus

Dwinowo Muhammad

unread,
Feb 19, 2019, 9:06:10 PM2/19/19
to Earthworm Community Forum
Hello Claus

In your statement "using a packet sniffer", what do you mean with packet sniffer? It's a module? Because i trying to connect SMART24R with Earthworm.

Thankyou
-Dwinowo

Stefan Lisowski

unread,
Feb 19, 2019, 9:59:48 PM2/19/19
to earthwo...@googlegroups.com
One packet sniffer you can download is Wireshark:
https://www.wireshark.org/download.html

It allows one to see what packets are moving on the network cables, so
you can see if firewalls are preventing data from getting through, for
example, instead of it being a problem of module misconfiguration.

You might try using the telnet utility to telnet to the export port on
the SMART24R, and see if that works before you get involved with the
bigger learning curve of Wireshark.

Stefan
> <http://www.geoinstr.com/firmware.htm>) and use the latest
> <https://groups.google.com/d/optout>.
>
>
> --
> --
> 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
> <mailto:earthworm_for...@googlegroups.com>.

Larry Baker

unread,
Feb 19, 2019, 11:44:21 PM2/19/19
to earthwo...@googlegroups.com
I have Wireshark on my Mac.  It is a GUI app.  Most of the time, though, I use tcpdump, the old command line tool.  It is pretty easy to use and there is lots of info about it on the web.

Larry Baker
US Geological Survey
650-329-5608
ba...@usgs.gov




For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages