Send USRP-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."


Today's Topics:

   1. X310 Temperature Sensor (Simon Olvhammar)
   2. Re: Compiling UHD examples (Sumit Kumar)


----------------------------------------------------------------------

Message: 1
Date: Sat, 14 May 2016 18:07:11 +0200
From: Simon Olvhammar <[email protected]>
To: [email protected]
Subject: [USRP-users] X310 Temperature Sensor
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi,

I'm searching for a way to log temperature sensor readings on the Ettus 
X310 + UBX160/SBX120 in my software.
As far as I know there is only a sensor on the FPGA?, and I can access 
it through xilinx software.
However for several reasons I need it be exposed in my Python program.
So I'm wondering if anyone know of a way to access the sensor through a 
shellscript or even directly in Python/GNURadio?

Best regards
Simon



------------------------------

Message: 2
Date: Sun, 15 May 2016 13:53:27 +0200
From: Sumit Kumar <[email protected]>
To: Martin Braun <[email protected]>
Cc: [email protected]
Subject: Re: [USRP-users] Compiling UHD examples
Message-ID:
        <caoextct00jzns+qlp8gvt8po2fvbgjhscitvvjyecjk_yz6...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

OK, this is interesting. Though I have to work with C, but this is a good
pointer to start with.
On May 13, 2016 8:45 PM, "Martin Braun via USRP-users" <
[email protected]> wrote:

> BTW, we ship a standalone example that shows how to use CMake etc. to
> link against UHD in `host/examples/init_usrp`.
>
> Cheers,
> M
>
> On 05/07/2016 02:37 PM, Marcus M?ller via USRP-users wrote:
> > Hi Sumit!
> >
> > No, "examples" can't be built as an out-of-tree Cmake project
> > you'll have to do
> >
> > cd ~/Downloads/uhd/host/
> > mkdir build
> > cd build
> > cmake ..
> > make
> >
> > to build UHD /including/ the examples.
> >
> > Best regards,
> > Marcus
> >
> > On 07.05.2016 23:00, Sumit Kumar wrote:
> >> Hello Marcus,
> >>
> >> Yes I will definitely use the build system. But my first attempt gave
> >> me this unfortunately :-/
> >>
> >> For this particular issue I am pasting the error message.
> >>
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> fourmi@fourmi:~/Downloads/uhd/host/examples$ mkdir build && cd build
> >> fourmi@fourmi:~/Downloads/uhd/host/examples/build$ cmake ..
> >> -- The C compiler identification is GNU 4.8.4
> >> -- The CXX compiler identification is GNU 4.8.4
> >> -- Check for working C compiler: /usr/bin/cc
> >> -- Check for working C compiler: /usr/bin/cc -- works
> >> -- Detecting C compiler ABI info
> >> -- Detecting C compiler ABI info - done
> >> -- Check for working CXX compiler: /usr/bin/c++
> >> -- Check for working CXX compiler: /usr/bin/c++ -- works
> >> -- Detecting CXX compiler ABI info
> >> -- Detecting CXX compiler ABI info - done
> >> CMake Error at CMakeLists.txt:50 (UHD_INSTALL):
> >>   Unknown CMake command "UHD_INSTALL".
> >>
> >>
> >> CMake Warning (dev) in CMakeLists.txt:
> >>   No cmake_minimum_required command is present.  A line of code such as
> >>
> >>     cmake_minimum_required(VERSION 2.8)
> >>
> >>   should be added at the top of the file.  The version specified may
> >> be lower
> >>   if you wish to support older CMake versions for this project.  For
> more
> >>   information run "cmake --help-policy CMP0000".
> >> This warning is for project developers.  Use -Wno-dev to suppress it.
> >>
> >> -- Configuring incomplete, errors occurred!
> >> See also
> >>
> "/home/fourmi/Downloads/uhd/host/examples/build/CMakeFiles/CMakeOutput.log".
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>
> >> On Fri, May 6, 2016 at 10:00 AM, Marcus M?ller
> >> <[email protected] <mailto:[email protected]>> wrote:
> >>
> >>     Hi Sumit,
> >>
> >>     really, discard the idea of building a large project without the
> >>     help of its build system.
> >>
> >>     Instead, get Cmake to work.
> >>     Now, I've never seen this problem you're mentioning:
> >>>       Unknown CMake command "UHD_INSTALL".
> >>     Can you give a bit more context to that line? Usually, CMake
> >>     points out the file and line where something "bad" happened.
> >>     What version of UHD are you building?
> >>     How did you get that UHD source tree?
> >>     UHD_INSTALL is in Modules/UHDComponent.cmake, so it should
> >>     definitely be found by any CMake version.
> >>
> >>     Best regards,
> >>     Marcus
> >>
> >>
> >>     On 06.05.2016 06:08, Sumit Kumar via USRP-users wrote:
> >>>     I edited some parts of rx_timed_samples.cpp and tried to compile
> >>>     it.
> >>>
> >>>     First I tried (inside /host/build)
> >>>
> >>>     cmake ..
> >>>      and this error came up
> >>>
> >>>       Unknown CMake command "UHD_INSTALL".
> >>>
> >>>     Then I tried doing other way round without cmake. I normally use
> >>>     it to compile my other files of cpp
> >>>
> >>>     g ++ uhdd.cpp -luhd -o rx
> >>>
> >>>     But it threw whole lot of linker errors.
> >>>
> >>>     Here is a snapshot
> >>>
> >>>     /tmp/ccNJGg4e.o: In function `_main(int, char**)':
> >>>     timeds.cpp:(.text+0x159): undefined reference to
> >>>
>  `boost::program_options::options_description::m_default_line_length'
> >>>     timeds.cpp:(.text+0x164): undefined reference to
> >>>
>  `boost::program_options::options_description::m_default_line_length'
> >>>     timeds.cpp:(.text+0x1a9): undefined reference to
> >>>
>  `boost::program_options::options_description::options_description(std::string
> >>>     const&, unsigned int, unsigned int)'
> >>>     timeds.cpp:(.text+0x35d): undefined reference to
> >>>     `boost::program_options::options_description::add_options()'
> >>>
> >>>     It seems, it is not able to find the boost libraries.
> >>>
> >>>     What I am missing ?
> >>>
> >>>     ** These errors dint come for my other uhd based files where I
> >>>     dint use boost libraries.
> >>>
> >>>
> >>>
> >>>     --
> >>>     --
> >>>     Sumit Kumar,
> >>>     Doctoral student, Upms
> >>>     Eurecom, BIOT
> >>>     France
> >>>
> >>>
> >>>
> >>>     _______________________________________________
> >>>     USRP-users mailing list
> >>>     [email protected] <mailto:[email protected]>
> >>>     http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> >>
> >>
> >>     _______________________________________________
> >>     USRP-users mailing list
> >>     [email protected] <mailto:[email protected]>
> >>     http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> >>
> >>
> >>
> >>
> >> --
> >> --
> >> Sumit kumar
> >> Doctoral Student, UPMC
> >> Eurecom, BIOT
> >> France
> >>
> >
> >
> >
> > _______________________________________________
> > USRP-users mailing list
> > [email protected]
> > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> >
>
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20160515/5f84ed26/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


------------------------------

End of USRP-users Digest, Vol 69, Issue 15
******************************************

Reply via email to