File: iio_attr_sink.xml

package info (click to toggle)
gr-iio 0.3-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,144 kB
  • sloc: cpp: 3,151; sh: 230; lex: 107; yacc: 104; python: 61; makefile: 11; ansic: 9
file content (93 lines) | stat: -rw-r--r-- 1,983 bytes parent folder | download | duplicates (2)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0"?>
<block>
  <name>IIO Attribute Sink</name>
  <key>iio_attr_sink</key>
  <category>[Industrial IO]</category>
  <import>from gnuradio import iio</import>
  <make>iio.attr_sink($uri, $device, $channel, $attr_type, $output, $required_enable)</make>
  <param>
		<name>uri</name>
		<key>uri</key>
		<value>""</value>
		<type>string</type>
  </param>
  <param>
    <name>Device</name>
    <key>device</key>
    <value>""</value>
    <type>string</type>
  </param>

  <param>
    <name>Attribute Type</name>
    <key>attr_type</key>
    <type>enum</type>
    <option>
      <name>Channel</name>
      <key>0</key>
    </option>
    <option>
      <name>Device</name>
      <key>1</key>
    </option>
    <option>
      <name>Device Buffer</name>
      <key>2</key>
    </option>
    <option>
      <name>Device Debug</name>
      <key>3</key>
    </option>
    <option>
      <name>Register</name>
      <key>4</key>
    </option>
  </param>

  <param>
    <name>Required Enable</name>
    <key>required_enable</key>
    <type>enum</type>
    <hide>#if int($attr_type()) == 4 then 'none' else 'all'#</hide>
    <option>
      <name>Not Required</name>
      <key>False</key>
    </option>
    <option>
      <name>Enable</name>
      <key>True</key>
    </option>
  </param>

  <param>
    <name>Input/Output</name>
    <key>output</key>
    <type>enum</type>
    <hide>#if int($attr_type()) == 0 then 'none' else 'all'#</hide>
    <option>
      <name>Input</name>
      <key>False</key>
    </option>
    <option>
      <name>Output</name>
      <key>True</key>
    </option>
  </param>

  <param>
    <name>Channel Name</name>
    <key>channel</key>
    <value>""</value>
    <type>string</type>
    <hide>#if int($attr_type()) == 0 then 'none' else 'all'#</hide>
  </param>

  <sink>
		<name>attr</name>
		<type>message</type>
		<optional>1</optional>
  </sink>
  <doc>
    https://wiki.analog.com/resources/tools-software/linux-software/gnuradio
  </doc>
</block>