Changeset 9907 for fact/tools/FAD


Ignore:
Timestamp:
08/30/10 11:51:27 (14 years ago)
Author:
neise
Message:
fad_init() doesn't work propoerly without some sleep(1)s.
I have to work it out, but it works now ... 
I hope.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/FAD/simple_daq/simple_daq.cpp

    r9906 r9907  
    194194
    195195int init_fad(){
    196        
     196        cmd_send ("ds\n", SocketDescriptor[0]);                 
     197        cmd_send ("dd\n", SocketDescriptor[0]);                         
     198sleep (1);
    197199        cmd_send ("sra 10\n", SocketDescriptor[0]);
    198200        cmd_send ("sa 44 29\n", SocketDescriptor[0]);                   
     201sleep (1);
    199202        cmd_send ("t\n", SocketDescriptor[0]);                 
     203sleep (1);
    200204        cmd_send ("sa 44 30\n", SocketDescriptor[0]);                   
     205sleep (1);
    201206        cmd_send ("t\n", SocketDescriptor[0]);                 
     207sleep (1);
    202208        cmd_send ("sa 44 0\n", SocketDescriptor[0]);                   
     209sleep (1);
    203210        cmd_send ("t\n", SocketDescriptor[0]);
    204211//      cmd_send ("sclkoff\n", SocketDescriptor[0]);                   
Note: See TracChangeset for help on using the changeset viewer.