blob: 6b309cba0e7a465cb4a9a7e64783873af3c35278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
========================================================================
UHD - General Application Notes
========================================================================
.. contents:: Table of Contents
------------------------------------------------------------------------
Finding devices
------------------------------------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Device addressing
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Deviced are addressed through key/value string pairs.
These string pairs can be used to narrow down the search for a specific device or group of devices.
Most UHD utility applications and examples have a --args parameter that takes a device address;
where the device address is expressed as a delimited string.
* See the documentation in types/device_addr.hpp for reference.
* See device-specific application notes for usage.
**Example:**
::
serial=0x1234, type=usrpx
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Device discovery
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Devices attached to your system can be discovered using the "uhd_find_devices" program.
The find devices program scans your system for supported devices and prints
out an enumerated list of discovered devices and their addresses.
The list of discovered devices can be narrowed down by specifying device address args.
**Usage:**
::
uhd_find_devices
-- OR --
uhd_find_devices --args <device-specific-address-args>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Device properties
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Properties of devices attached to your system can be probed with the "uhd_usrp_probe" program.
The usrp probe program contructs an instance of the device and prints out its properties;
properties such as detected daughter-boards, frequency range, gain ranges, etc...
**Usage:**
::
uhd_usrp_probe --args <device-specific-address-args>
------------------------------------------------------------------------
Misc notes
------------------------------------------------------------------------
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Thread priority scheduling
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
When the UHD spawns a new thread it may try to boost the thread's scheduling priority.
When setting the priority fails, the UHD prints out an error.
This error is harmless, it simply means that the thread will have a normal scheduling priority.
**Linux Notes:**
Non-privileged users need special permission to change the scheduling priority.
Add the following line to */etc/security/limits.conf*:
::
@<my_group> - rtprio 99
Replace <my_group> with a group to which your user belongs.
Settings will not take effect until the user has logged in and out.
|