There are two applications:

ram2eth

file:///misc/hadaq/cvsroot/rpctrbetrax/eth2file

--response for sending triggers & reading RAM1, RAM2 & sending this data via ethernet. This application takes three arguments:
  1. IP number of server,
  2. number of triggers,
  3. boolean value -> write(=1) or not(=0) to local file on etrax

Example(server is running on DEPC152.gsi.de): /mnt/flash/ram2eth 140.181.66.120 10000 0 Etrax is sending in this case 10000 triggers to the FPGA, next sending the data to server, which is localized on 140.181.66.120 and not saving this data on the local disk (/var/testOutput).

eth2file

file:///misc/hadaq/cvsroot/rpctrbetrax/ram2eth

-- response for receiving data from ram2eth and save it to the file 'TDC_data.dat'.

Except these files there exists the script:

Ram2Eth.sh

-- set up the port B && start the ram2eth application with 2 parameters:
  1. number IP of the server,
  2. 1 or 0 - save(=1) or not(=0) the data to the local file on etrax. This script takes one argument: number of triggers

Example: /mnt/flash/Ram2Eth.sh 10000

RECAPITULATION: One should start:
  1. ./eth2file on the machine where the TDC_data should be saved;
  2. /mnt/flash/Ram2Eth.sh _num_of_triggers_ on the Etrax

-- RadekTrebacz - 12 Jul 2005

Topic revision: r7 - 2005-07-14, RadekTrebacz
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki Send feedback | Imprint | Privacy Policy (in German)