FreeCalypso > hg > fc-rfcal-tools
comparison cmu200/signalgen.c @ 39:34c6fbe38daa
fc-cmu200d: implemented RF1/RF2 port selection
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 27 May 2017 02:17:00 +0000 |
parents | 8877634feba5 |
children | 4e263849b064 |
comparison
equal
deleted
inserted
replaced
38:8877634feba5 | 39:34c6fbe38daa |
---|---|
43 send_socket_response("-Invalid band argument\n"); | 43 send_socket_response("-Invalid band argument\n"); |
44 return(0); | 44 return(0); |
45 } | 45 } |
46 sprintf(cmdstr, "*SEC %d\n", SECADDR_RF_NSIG); | 46 sprintf(cmdstr, "*SEC %d\n", SECADDR_RF_NSIG); |
47 send_scpi_cmd(cmdstr); | 47 send_scpi_cmd(cmdstr); |
48 sprintf(cmdstr, "OUTP:%s RF%d\n", cmu200_tx_name, cmu200_rf_port); | |
49 send_scpi_cmd(cmdstr); | |
48 current_mode = OP_MODE_SIGNAL_GEN; | 50 current_mode = OP_MODE_SIGNAL_GEN; |
49 send_socket_response("+OK\n"); | 51 send_socket_response("+OK\n"); |
50 return(0); | 52 return(0); |
51 } | 53 } |
52 | 54 |