[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r5994 - gnuradio/branches/developers/gnychis/inband/us
From: |
gnychis |
Subject: |
[Commit-gnuradio] r5994 - gnuradio/branches/developers/gnychis/inband/usrp/host/apps |
Date: |
Tue, 17 Jul 2007 11:17:55 -0600 (MDT) |
Author: gnychis
Date: 2007-07-17 11:17:54 -0600 (Tue, 17 Jul 2007)
New Revision: 5994
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_cs.cc
Log:
Working to synchronize the USRP clock with the host
Modified:
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_cs.cc
===================================================================
---
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_cs.cc
2007-07-16 22:55:36 UTC (rev 5993)
+++
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_cs.cc
2007-07-17 17:17:54 UTC (rev 5994)
@@ -144,7 +144,7 @@
// Specify the RBF to use
pmt_dict_set(usrp_dict,
pmt_intern("rbf"),
- pmt_intern("last3.rbf"));
+ pmt_intern("fixed1.rbf"));
define_component("server", "usrp_server", usrp_dict);
@@ -325,6 +325,9 @@
{
d_cs->send(s_cmd_close, pmt_list1(PMT_NIL));
d_state = CLOSING_USRP;
+
+ if(verbose)
+ std::cout << "[TEST_USRP_INBAND_CS] Closing USRP\n";
}
void
@@ -355,14 +358,21 @@
sleep(1);
-// build_and_send_next_frame(); // fire off 4 to start pipeline
-// build_and_send_next_frame();
-// build_and_send_next_frame();
-// build_and_send_next_frame();
+ build_and_send_next_frame(); // fire off 4 to start pipeline
+ build_and_send_next_frame();
+ build_and_send_next_frame();
+ build_and_send_next_frame();
build_and_send_ping();
build_and_send_ping();
build_and_send_ping();
build_and_send_ping();
+ build_and_send_ping();
+ build_and_send_ping();
+// build_and_send_ping();
+// build_and_send_ping();
+// build_and_send_ping();
+// build_and_send_ping();
+// build_and_send_ping();
// struct timezone tz;
@@ -387,7 +397,7 @@
pmt_list2(pmt_from_long(0),
pmt_from_long(0))))));
- std::cout << "ping sent" << std::endl;
+ std::cout << "[TEST_USRP_INBAND_CS] Ping sent" << std::endl;
}
void
@@ -468,6 +478,9 @@
d_state = CLOSING_CHANNEL;
d_tx->send(s_cmd_deallocate_channel, pmt_list2(PMT_NIL, d_tx_chan));
+
+ if(verbose)
+ std::cout << "[TEST_USRP_INBAND_CS] Closing channel\n";
}
REGISTER_MBLOCK_CLASS(test_usrp_cs);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r5994 - gnuradio/branches/developers/gnychis/inband/usrp/host/apps,
gnychis <=