From 6672185fbc40956e8e5e9e044da9294c9f04dbb5 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Tue, 8 Apr 2014 10:31:57 -0700 Subject: nirio: Added fifo channel to start and stop RIO syncop params. --- host/include/uhd/transport/nirio/nirio_fifo.ipp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/host/include/uhd/transport/nirio/nirio_fifo.ipp b/host/include/uhd/transport/nirio/nirio_fifo.ipp index 80a0c2a89..48800f75b 100644 --- a/host/include/uhd/transport/nirio/nirio_fifo.ipp +++ b/host/include/uhd/transport/nirio/nirio_fifo.ipp @@ -110,6 +110,8 @@ nirio_status nirio_fifo::start() in.function = nirio_driver_iface::NIRIO_FUNC::FIFO; in.subfunction = nirio_driver_iface::NIRIO_FIFO::START; + in.params.fifo.channel = _fifo_channel; + status = _riok_proxy_ptr->sync_operation(&in, sizeof(in), &out, sizeof(out)); if (nirio_status_not_fatal(status)) { _acquired_pending = 0; @@ -133,6 +135,8 @@ nirio_status nirio_fifo::stop() in.function = nirio_driver_iface::NIRIO_FUNC::FIFO; in.subfunction = nirio_driver_iface::NIRIO_FIFO::STOP; + in.params.fifo.channel = _fifo_channel; + status = _riok_proxy_ptr->sync_operation(&in, sizeof(in), &out, sizeof(out)); return status; -- cgit v1.2.3