Changes between Initial Version and Version 1 of windsr2ew

03/19/12 18:22:31 (9 years ago)



  • windsr2ew

    v1 v1  
     3= [wiki:Earthworm Earthworm] Module: windsr2ew = 
     4'''Contributed by: ''' 
     6== Function == 
     7Receives data packets from a windsr digitizer (webtronics) using TCP/IP. (new in EW v7.1) 
     9== Details == 
     10WinSDR to Earthworm (ws2ew.exe) is a way of receiving digitized data in real-time using TCP/IP from the Webtronics [ WinSDR] datalogger to  Earthworm. This module runs under Windows 2000 or XP and produces demultiplexed data to one of the transport data rings. WinSDR must be setup to act as a TCP/IP data server. Ws2Ew acts as a client to receive, demultiplexe  and send data to one of the Earthworm transport rings. This module is similar to the LISS2EW client that comes with the Earthworm release package. WinSDR is the Windows based datalogger for the 16-Bit 8-Channel [ PSN-ADC-SERIAL] Analog to Digital board.  
     12This module was built using Microsoft Visual C++ 6.0. The program (ws2ew.exe) has been tested using Earthworm version 7.0. 
     14To use this module you first need to enable the WinSDR server feature. See the WinSDR [ documentation] for more information. You will also need to set the TCP/IP port number (default=16064) and note the IP address of the server, the sample rate and the number of channels being recorded. All of this information is needed in the ws2ew.d configuration file. If the sample rate or number of channels are incorrect, the program will write an error message in the log file and exit. 
     16=== Data Time Stamping === 
     18All data is time stamped at the WinSDR server side. WinSDR can use various methods to time stamp the data including GPS, WWV or the computer's system time.  
     20=== Example Configuration File === 
     23#                    CONFIGURATION FILE FOR WS2EW 
     24#                    ----------------------------- 
     25ModuleId         MOD_WS2EW_A    # Module id of this instance of Ws2Ew 
     26OutRing          WAVE_RING      # Transport ring to write waveforms to 
     27Host         # Host name or IP address of the system running WinSDR 
     28Port             16064          # Port number to use when connecting to WinSDR  
     29HeartbeatInt     15             # Heartbeat interval in seconds 
     30AdcDataSize      2              # ADC trace buffer data size in bytes. Can be 2 or 4 bytes 
     32#                        OPTION PARAMETERS 
     33SocketTimeout   60              # Socket timeout in seconds (default = 60) 
     34RestartWaitTime 60              # Seconds to wait between reconnects (default = 60) 
     35NoDataWaitTime  45              # Seconds to wait before resetting connection 
     36NoHostMessages  1               # If 1 log messages from the host will not be processed (default = 0)  
     38#                        CHANNEL CONFIGURATION 
     39Nchan            8              # Number of channels running on the host WinSDR system 
     40ChanRate         100            # Sampling rate of the WinSDR system 
     43#     SCNL (Station/Component/Network/Location) VALUES FOR EACH DAQ CHANNEL 
     44# Chan lines must follow the Channel Configuration lines in this file. 
     46#     DAQ      Station/ 
     47#   Channel    Comp/Net/Loc    Send to Earthworm 
     48#   -------   --------------   ----------- 
     49Chan    0     PSN1 BHZ PN NC       YES 
     50Chan    1     PSN1 BHN PN NC       NO 
     51Chan    2     PSN1 BHE PN NC       YES 
     52Chan    3     PSN1 LHZ PN NC       YES 
     53Chan    4     PSN1 LHN PN NC       NO 
     54Chan    5     PSN1 LHE PN NC       NO 
     55Chan    6     PSN1 SHZ PN NC       NO 
     56Chan    7     PSN1 SHN PN NC       YES 
     60== Helpful Hints ==