Page 2 of 2
Posted: Fri Jan 11, 2013 11:11 am
by pcs
There's also Linux source floating around in this forum, maybe that's easier for you?
Although VB is pretty easy.
Posted: Sat Jan 12, 2013 4:00 am
by ray law
I got my system running good enough for my purposes.... Still cannot compile the whole project... but for now I am ok. I am able to control the frequency an power .
Just Curious.... Why the +4 in: temp = Chr$((Int(TXPower / 100 * 21)) + 4) when sending frequency or power???
-ray
Posted: Sun Jan 13, 2013 4:16 pm
by pcs
Because binary values 0-3 are used for special purposes so they can't be used for other stuff.
So each binary value needs to have 4 added.
Posted: Sun Jan 13, 2013 9:02 pm
by ray law
Is there a unique identifier that can be read from the transmitter ??
There are many serial ports active on most computers. So if I query the serial ports i can automatically detect and connect to the transmitter......
-ray
Posted: Mon Jan 14, 2013 1:48 am
by pcs
Yep, check the code under the button that reads the data from the transmitter.
Posted: Thu Jan 17, 2013 12:18 am
by ray law
It is not clear to me what to sent to the transmitter for frequency as I still cannot compile and run the source code.
I am however able to compile and run the code I have created. Thus far it is working nicely.
It appears that two numbers are cantenated then sent :
temp = Chr$((Int(TXFrequency / 5) - Int(Int(TXFrequency / 5) / 128) * 128) + 4) 'low part of freq
temp = temp & Chr$((Int(Int(TXFrequency / 5) / 128)) + 4) 'high part of freq
For example what is "TXFrqeuency" for 101.7mHz (101,700,000Hz)
Thank you for the help,
-ray
Posted: Thu Jan 17, 2013 1:06 am
by pcs
There will very soon be an updated version of our program with timer for ON and OFF.
We have a new guy working on this so it will be coming much faster than before where I had to do everything myself.
If you have any other requests please pass them, we might integrate them in.
By the way, if it doesn't compile look at the log file, usually it says what the problem is.
Let me know what it is and we'll find a solution.
Once it compiles just msgbox the value.
M
Posted: Thu Jan 17, 2013 1:46 am
by ray law
Glad to hear you are getting some help.... the addition of a timer is a good addition but that dues not sovle my particular problem nor for other who use your transmitter for Light O Rama Shows. I do not know how big that customer base is but I was told by a Light O Rama distrubuter that your transmitters are ths best.
http://www.lightorama.com/
The code i have put together is doing exactly what we need. (light o rama users).
Additionally it now discovers the com port automatically.
I still would like an example of "TXFrqeuency" (The content of "temp") for 101.7mHz (101,700,000Hz)
temp = Chr$((Int(TXFrequency / 5) - Int(Int(TXFrequency / 5) / 128) * 128) + 4) 'low part of freq
temp = temp & Chr$((Int(Int(TXFrequency / 5) / 128)) + 4) 'high part of freq
thanks
-ray
Posted: Thu Jan 17, 2013 10:14 am
by pcs
txfrequency = 100000 for 100MHz
So it is the value in KHz
Just preserve the formula as it is and you'll be ok.
Posted: Fri Feb 08, 2013 12:53 am
by ray law
i sent you some code for review... i will make any changes you wish... i do have some clean up work to do..... so let me know what you think
-ray
Posted: Sat Feb 09, 2013 2:26 am
by pcs
Hi,
we had a national holiday on Friday, will check over the weekend or Monday latest.
Thanks for the effort, greatly appreciated!
Have a great weekend everyone!