|
From: | William Pretty Security Inc |
Subject: | [Discuss-gnuradio] Increment / Decrement Button |
Date: | Sun, 30 May 2010 17:20:00 -0700 |
Hi All; I’m trying to implement an “Increment” button
that when pressed, increments a variable. This will be used to increment the tuned frequency by say 1 MHz
every time it is pressed. I tried a Variable Chooser, configured it as a button and gave
it only one choice. The variable name was tune_inc. For the default value I used “tune_inc”. For the only choice I used “tune_inc+1e6”,
hoping that every time I pressed the button the variable “tune_inc”
would increment itself … What I got was an error stating that the name “tune_inc”
was not defined. Am I going about his the wrong way ?? I have no clue how to write my own processing block to do
this L Thanks … Bill |
[Prev in Thread] | Current Thread | [Next in Thread] |