diff 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
line wrap: on
line diff
--- a/cmu200/signalgen.c	Sat May 27 02:10:29 2017 +0000
+++ b/cmu200/signalgen.c	Sat May 27 02:17:00 2017 +0000
@@ -45,6 +45,8 @@
 	}
 	sprintf(cmdstr, "*SEC %d\n", SECADDR_RF_NSIG);
 	send_scpi_cmd(cmdstr);
+	sprintf(cmdstr, "OUTP:%s RF%d\n", cmu200_tx_name, cmu200_rf_port);
+	send_scpi_cmd(cmdstr);
 	current_mode = OP_MODE_SIGNAL_GEN;
 	send_socket_response("+OK\n");
 	return(0);