Changeset 271 for tools


Ignore:
Timestamp:
07/29/10 17:04:36 (14 years ago)
Author:
dneise
Message:
added sclkon & sclkoff command to 'fad'
Location:
tools/FAD
Files:
8 added
3 edited

Legend:

Unmodified
Added
Removed
  • tools/FAD/ddd_for_fad/Functions.cpp

    r248 r271  
    117117          printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0]));
    118118  }
     119
     120        else if (strncmp (Buffer, "sclkon\n", 6) == 0)
     121        {
     122                CMD_Buffer[0] = htons (CMD_SCLK_ON);
     123                printf ("# SCLK ENABLED ->\n");
     124                printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0]));
     125        }
     126        else if (strncmp (Buffer, "sclkoff\n", 7) == 0)
     127        {
     128                CMD_Buffer[0] = htons (CMD_SCLK_OFF);
     129                printf ("# SCLK DISABLED ->\n");
     130                printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0]));
     131        }
     132       
    119133
    120134  // Set ROI value
  • tools/FAD/ddd_for_fad/SocketClient.h

    r248 r271  
    2323#define CMD_DWRITE_RUN 0x0800   // DWRITE possibly HIGH
    2424#define CMD_DWRITE_STOP 0x0900  // DWRITE always LOW
     25
     26#define CMD_SCLK_ON 0x1000 
     27#define CMD_SCLK_OFF 0x1100
     28
    2529#define CMD_Trigger_C 0xB000    // continous trigger
    2630#define CMD_Trigger_S 0x2000    // stop continous trigger
  • tools/FAD/simple_daq/config.txt

    r257 r271  
    11129.217.160.119
    2 /media/daten_platte/FACT/FAD/measurements
     2/home/dneise/FACT/FAD/measurements
    33socket
    44dat
Note: See TracChangeset for help on using the changeset viewer.