summaryrefslogtreecommitdiff
path: root/grc/data/platforms/python/blocks
diff options
context:
space:
mode:
authorjblum2009-02-04 21:25:49 +0000
committerjblum2009-02-04 21:25:49 +0000
commitf21c7b1eeed46a2edf5b082d86d5386790e99f98 (patch)
tree84037ef88d05f7e279bf344dce20bb4823311e1a /grc/data/platforms/python/blocks
parent6f6746b88c9f2bafbbb34c4207245319a3e4fd2b (diff)
downloadgnuradio-f21c7b1eeed46a2edf5b082d86d5386790e99f98.tar.gz
gnuradio-f21c7b1eeed46a2edf5b082d86d5386790e99f98.tar.bz2
gnuradio-f21c7b1eeed46a2edf5b082d86d5386790e99f98.zip
rt sched option in grc
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10389 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/data/platforms/python/blocks')
-rw-r--r--grc/data/platforms/python/blocks/options.xml26
1 files changed, 22 insertions, 4 deletions
diff --git a/grc/data/platforms/python/blocks/options.xml b/grc/data/platforms/python/blocks/options.xml
index 3a73050ae..11e46bbe6 100644
--- a/grc/data/platforms/python/blocks/options.xml
+++ b/grc/data/platforms/python/blocks/options.xml
@@ -49,17 +49,14 @@ import wx
<option>
<name>WX GUI</name>
<key>wx_gui</key>
- <opt>hide_category:all</opt>
</option>
<option>
<name>No GUI</name>
<key>no_gui</key>
- <opt>hide_category:all</opt>
</option>
<option>
<name>Hier Block</name>
<key>hb</key>
- <opt>hide_category:</opt>
</option>
</param>
<param>
@@ -67,7 +64,28 @@ import wx
<key>category</key>
<value>Custom</value>
<type>string</type>
- <hide>$generate_options.hide_category</hide>
+ <hide>#if $generate_options.eval == 'hb' then 'none' else 'all'#</hide>
+ </param>
+ <param>
+ <name>Realtime Scheduling</name>
+ <key>realtime_scheduling</key>
+ <value></value>
+ <type>enum</type>
+ <hide>#if $generate_options.eval == 'hb'
+all#slurp
+#elif $realtime_scheduling.eval
+none#slurp
+#else
+part#slurp
+#end if</hide>
+ <option>
+ <name>Off</name>
+ <key></key>
+ </option>
+ <option>
+ <name>On</name>
+ <key>1</key>
+ </option>
</param>
<check>len($window_size) == 2</check>
<check>300 &lt;= $(window_size)[0] &lt;= 2048</check>