PCS Electronics PCS Electronics - home page PCS Electronics  
RegisterSearchFAQAM & FM Radio transmitters shop UsergroupsLog in
Transmitter Auto Start
Goto page Previous  1, 2
 
Reply to topic    PCS-Electronics Forum Index » PCI MAX transmitters View previous topic
View next topic
Transmitter Auto Start
Author Message
pcs
Site master
Site master


Joined: 18 Jan 2002
Posts: 3063
Location: Radio Land

Post Reply with quote
There's also Linux source floating around in this forum, maybe that's easier for you?

Although VB is pretty easy.

_________________
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
Fri Jan 11, 2013 11:11 am View user's profile Send private message Visit poster's website
ray law
Regular poster
Regular poster


Joined: 15 Jan 2012
Posts: 20

Post Reply with quote
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
Sat Jan 12, 2013 4:00 am View user's profile Send private message
pcs
Site master
Site master


Joined: 18 Jan 2002
Posts: 3063
Location: Radio Land

Post Reply with quote
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.

_________________
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
Sun Jan 13, 2013 4:16 pm View user's profile Send private message Visit poster's website
ray law
Regular poster
Regular poster


Joined: 15 Jan 2012
Posts: 20

Post Reply with quote
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
Sun Jan 13, 2013 9:02 pm View user's profile Send private message
pcs
Site master
Site master


Joined: 18 Jan 2002
Posts: 3063
Location: Radio Land

Post Reply with quote
Yep, check the code under the button that reads the data from the transmitter.

_________________
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
Mon Jan 14, 2013 1:48 am View user's profile Send private message Visit poster's website
ray law
Regular poster
Regular poster


Joined: 15 Jan 2012
Posts: 20

Post Reply with quote
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
Thu Jan 17, 2013 12:18 am View user's profile Send private message
pcs
Site master
Site master


Joined: 18 Jan 2002
Posts: 3063
Location: Radio Land

Post Reply with quote
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

_________________
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
Thu Jan 17, 2013 1:06 am View user's profile Send private message Visit poster's website
ray law
Regular poster
Regular poster


Joined: 15 Jan 2012
Posts: 20

Post Reply with quote
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
Thu Jan 17, 2013 1:46 am View user's profile Send private message
pcs
Site master
Site master


Joined: 18 Jan 2002
Posts: 3063
Location: Radio Land

Post Reply with quote
txfrequency = 100000 for 100MHz

So it is the value in KHz

Just preserve the formula as it is and you'll be ok.

_________________
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
Thu Jan 17, 2013 10:14 am View user's profile Send private message Visit poster's website
ray law
Regular poster
Regular poster


Joined: 15 Jan 2012
Posts: 20

Post Reply with quote
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
Fri Feb 08, 2013 12:53 am View user's profile Send private message
pcs
Site master
Site master


Joined: 18 Jan 2002
Posts: 3063
Location: Radio Land

Post Reply with quote
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!

_________________
Best regards,
Marko - PCS Electronics
--------------------------------------------------------
Turn your PC into a FM radio station!
http://www.pcs-electronics.com
fax +386 4 2316 128
Sat Feb 09, 2013 2:26 am View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    PCS-Electronics Forum Index » PCI MAX transmitters All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group