File: iio_math_gen.xml

package info (click to toggle)
gr-iio 0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,368 kB
  • sloc: cpp: 3,155; xml: 1,468; lex: 107; yacc: 104; python: 60; makefile: 11; ansic: 9
file content (37 lines) | stat: -rw-r--r-- 701 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
<?xml version="1.0"?>
<block>
	<name>Function Generator</name>
	<key>math_gen</key>
	<category>[Industrial IO]/Waveform Generators</category>
	<import>from gnuradio import iio</import>
	<make>iio.iio_math_gen($samp_rate, $wav_freq, $function)</make>

	<param>
		<name>samp_rate</name>
		<key>samp_rate</key>
		<value>samp_rate</value>
		<type>int</type>
	</param>

	<param>
		<name>wav_freq</name>
		<key>wav_freq</key>
		<value>1</value>
		<type>int</type>
	</param>

	<param>
		<name>f(x) =</name>
		<key>function</key>
		<value></value>
		<type>string</type>
	</param>

	<!-- Refuse empty strings -->
	<check>$function</check>

	<source>
		<name>out</name>
		<type>float</type>
	</source>
</block>