|
 |
|
05-13-2007, 08:56 AM
|
#31
|
|
Constant Bitrate
Join Date: Mar 2005
Location: Wiesbaden/Germany
Posts: 213
|
Quote: Originally Posted by mischka76 
...i like the way that radiator has set a kind of standard for interfacing a radio device. That is something we should adopt for future drivers, so drivers can then be re-used in other frontends.
I like it too... so I created my radio-thread,... (I only do it because no one does it before - if *you* have a proposal for such spec then I (we?) would like to see it !
-------------------------
okay guys... I currently have a lot of time indoor because of the bad weather...
Now I can announce that I have finished the "traffic mixer" this little tricky component mixes GPS (NMEA) data with RDS/traffic data (from radios) into a COM Port for navigation software. (without an expensive "traffic" mouse)
Asking the radio/frontend developer s out there: How to feed the RDS data stream into it ?
So I included this functionality into my RDS interpreter. So you can distribute your frontend with my version without traffic mixer (just to avoid problems - yes I know there are also CD changer emulators existing for different protocols - but you never know...)
...and the end users can change it for the version with mixer.
A good idea would also be to display a traffic icon if the station (this is the normal behaviour for all single tuner scenarios like seen from the Blaupunkt Travelpilot) contains traffic infos.
You can download traffic mixer from emule.
Last edited by FMode; 05-13-2007 at 08:59 AM.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
05-13-2007, 09:52 AM
|
#32
|
|
Low Bitrate
Join Date: Oct 2005
Posts: 81
|
Putput:
CPCTuner does not restore the last station when resuming from hibernation, all I get is static (quite irritating IMHO) and so I'm forced to select a station..
Also adding volume up/down button to the left/right of the volume slider would make CPCTuner more TS friendly.
/Me.
|
|
|
05-13-2007, 04:01 PM
|
#33
|
|
Constant Bitrate
Join Date: Sep 2005
Location: Belgium
Posts: 181
|
Quote: Originally Posted by Pishaa 
Putput:
CPCTuner does not restore the last station when resuming from hibernation, all I get is static (quite irritating IMHO) and so I'm forced to select a station..
Also adding volume up/down button to the left/right of the volume slider would make CPCTuner more TS friendly.
/Me.
Thanks for the input, I'm working on the next version of CPCTuner and both requests/features will be fixed/added in the next version.
Putput
|
|
|
05-13-2007, 05:09 PM
|
#34
|
|
Newbie
Join Date: Sep 2005
Location: Aylesbury, UK
Posts: 29
|
i have finished the radio integration of james this afternoon, but now i'm in an advanced state of intoxication and therefore cant be bothered to upload the new version
Quote: Originally Posted by Pishaa 
Putput:
CPCTuner does not restore the last station when resuming from hibernation, all I get is static (quite irritating IMHO) and so I'm forced to select a station..
Also adding volume up/down button to the left/right of the volume slider would make CPCTuner more TS friendly.
/Me.
if you click/touch on the scrollbar to the left or right of the button, it will move in the desired direction. so imho a button is merely a nice extra, no necessity?
@putput: in cpctuner you have this lcd-like display for frequency and rds.. is this something you programmed yourself or an existing component you downloaded somewhere? it looks the dogs balls!
|
|
|
05-14-2007, 04:41 AM
|
#35
|
|
Constant Bitrate
Join Date: Sep 2005
Location: Belgium
Posts: 181
|
Quote: Originally Posted by mischka76 
i have finished the radio integration of james this afternoon, but now i'm in an advanced state of intoxication and therefore cant be bothered to upload the new version 
You mean something like this
Quote: Originally Posted by mischka76 
if you click/touch on the scrollbar to the left or right of the button, it will move in the desired direction. so imho a button is merely a nice extra, no necessity?
True, but the next version will have more space available on the main window, I've moved a number of buttons/sliders to a seperate settings window that will be available in the next version. No more ini file editing  .
Quote: Originally Posted by mischka76 
@putput: in cpctuner you have this lcd-like display for frequency and rds.. is this something you programmed yourself or an existing component you downloaded somewhere? it looks the dogs balls! 
Its something I found on the net from LMD. The link will take you directly to the download page where you can find the dogs balls  . But I think its Borland only, the tool from LMD that I'm using is freeware.
Putput
|
|
|
05-14-2007, 07:17 AM
|
#36
|
|
Low Bitrate
Join Date: Oct 2005
Posts: 81
|
Quote: Originally Posted by mischka76 
if you click/touch on the scrollbar to the left or right of the button, it will move in the desired direction. so imho a button is merely a nice extra, no necessity?
Well, have you tried touching the narrow scrollbar while driving? not an easy task..
also, what if you you wanted to increase the volume only a little? thats impossible task when using a touchscreen and a scrollbar.
/Me.
|
|
|
05-16-2007, 07:26 AM
|
#37
|
|
Low Bitrate
Join Date: Oct 2005
Posts: 81
|
@putput: Also what does "Failed to set data for 'stand alone'" means? happens when I try to run cpctuner as non administartive user.
/Me.
|
|
|
05-16-2007, 08:06 AM
|
#38
|
|
Constant Bitrate
Join Date: Sep 2005
Location: Belgium
Posts: 181
|
Quote: Originally Posted by Pishaa 
@putput: Also what does "Failed to set data for 'stand alone'" means? happens when I try to run cpctuner as non administartive user.
/Me.
You are really trying to push CPCTuner to its limits  !!
CPCTuner is simply a part of my own frontend that I'm working on. Its developed with different programs; 1 for each function. I have a 'frontend main window' that acts as a server, all apps are started/stopped/controlled via this main app. Communication between apps is handled with tcpip sockets via the main app. This may sounds a bit complicated but infact its not. I have a phone app, tuner app, mp3 player app, movie app, ... all small and simple programs using sockets to communicate. When for example I have an incoming call the phone app sends a message to the server that a call is present, the server sends a pause/mute message to the current audio player (mp3, tuner, ...) and shows a dialog that a call with number xxxx is present and if I wish to answer or not. After I push the accept button the server sends a message to the phone to accept the call, the phone app picks up the call and after finished talking the phone sends a message back to the server to signal that the call has ended. Message from the server is send to the audio player to continue playing and so on.
Now to come back to your question; to let other people enjoy my great software  and not have to wait for my frontend to be ready I inserted 1 parameter in the registry for each frontend application that is default set to 'stand alone', meaning that when started CPCTuner doesn't have to look for a server to respond to and can work as a standalone program. If you decide for this reason (or any other) not to work with CPCTuner anymore  you can delete the CPCTuner.exe files and the registry key HKEY_LOCAL_MACHINE\SOFTWARE\CPCSuite from your registry to get completely rid of it. On the other hand, if you are a programmer working on your frontend you can ask me to hand over the tcpip socket protocol that I developed so yo can control cpctuner via sockets. This way it would be possible to use CPCTuner on 1 pc and control it from another pc using ip sockets over network.
Hope that my explanation is little bit clear  .
Putput
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
05-16-2007, 10:14 AM
|
#39
|
|
Maximum Bitrate
Join Date: May 2006
Location: Seattleish, WA
Posts: 823
|
Quote: Originally Posted by Putput 
...the tcpip socket protocol that I developed so you can control cpctuner via sockets.
Oh really? NICE!
__________________
:: Mark
|
|
|
05-16-2007, 11:39 AM
|
#40
|
|
Newbie
Join Date: Sep 2005
Location: Aylesbury, UK
Posts: 29
|
hmmm.. interesting idea with the sockets.
you could make two car-pc's.. one for the frontend and media, and another to process all the engine data, satnav calculations etc. interesting idea!
|
|
|
05-16-2007, 01:01 PM
|
#41
|
|
Constant Bitrate
Join Date: Sep 2005
Location: Belgium
Posts: 181
|
Quote: Originally Posted by mischka76 
hmmm.. interesting idea with the sockets.
you could make two car-pc's.. one for the frontend and media, and another to process all the engine data, satnav calculations etc. interesting idea!
Not 2 car-pc's, 1 pc with 2 cpu boards, like 2 nano boards or 1 nano and 1 mini-itx. Other advantage is that people can write there own applications in no matter what language on whatever platform. If a guy is a wizard with graphics he can write the visual part in .Net, another can develop OBDII in C. Also when an application fails the others can continue unless of course the entire system is down. One system could run on Windows for the nice pictures, the other could run on linux to work like a horse to gather data, process info, etc.. like you suggested. Just 2 (or more) boards and a network connection. Only things is that the protocol has to be a standard, then everything is possible I guess.
Perhaps something to think about.
Putput
|
|
|
05-17-2007, 05:25 AM
|
#42
|
|
Low Bitrate
Join Date: Oct 2005
Posts: 81
|
Quote: Originally Posted by Putput 
to let other people enjoy my great software  and not have to wait for my frontend to be ready I inserted 1 parameter in the registry for each frontend application that is default set to 'stand alone', meaning that when started CPCTuner doesn't have to look for a server to respond to and can work as a standalone program. If you decide for this reason (or any other) not to work with CPCTuner anymore  you can delete the CPCTuner.exe files and the registry key HKEY_LOCAL_MACHINE\SOFTWARE\CPCSuite from your registry to get completely rid of it.
Well, that key has already been set, and I have understood from your explanation that CPCTuner only needs read access to it.
why not try opning that key as read only (HKEY_LOCAL_MACHINE has read-only permissions for a normal user) , if the key exist act as 'stand alone' else try to write it.
that way you only have to run CPCTuner as administrator only once so it can write the key and afterwards you can run CPCTuner as a normal user and read the key with read-only access.
Another way to make a 'Stand Alone' version is using #ifdef's (C++):
Code:
#ifndef STAND_ALONE_VERSION
// Code to be exluded from the standalone version e.g: socket comunnications.
.
.
.
#endif //STAND_ALONE_VERSION
I don't know if you can do that with delphi.
/Me.
|
|
|
05-18-2007, 05:39 AM
|
#43
|
|
Constant Bitrate
Join Date: Sep 2005
Location: Belgium
Posts: 181
|
Quote: Originally Posted by Pishaa 
Well, that key has already been set, and I have understood from your explanation that CPCTuner only needs read access to it.
why not try opning that key as read only (HKEY_LOCAL_MACHINE has read-only permissions for a normal user) , if the key exist act as 'stand alone' else try to write it.
that way you only have to run CPCTuner as administrator only once so it can write the key and afterwards you can run CPCTuner as a normal user and read the key with read-only access.
Another way to make a 'Stand Alone' version is using #ifdef's (C++):
Code:
#ifndef STAND_ALONE_VERSION
// Code to be exluded from the standalone version e.g: socket comunnications.
.
.
.
#endif //STAND_ALONE_VERSION
I don't know if you can do that with delphi.
/Me.
I'll change the read function in the getregistry call to read only, just didn't pay much attention to this because I used this parameter to make an easy and quick change between stand alone or not.
And ifdef's also exist in Delphi, I don't think that there is anything in C++ that can't be done in Delphi, one way or another but that is not the issue here I guess. I used the registry instead of idef's so that I could change the parameter without having to re-compile the whole thing.
The next release of CPCTuner is almost ready (I hope before the end of the weekend) and has some major changes. I added a settings window to adjust all CPCTuner parameters, existing and a lot of new parameters like balance, fader, a whole bunch of tuner settings and RDS. Also 2 volume buttons next to the slider.
Putput
|
|
|
05-18-2007, 05:53 AM
|
#44
|
|
Newbie
Join Date: Sep 2005
Location: Aylesbury, UK
Posts: 29
|
Quote: Originally Posted by Putput 
The next release of CPCTuner is almost ready (I hope before the end of the weekend) and has some major changes. I added a settings window to adjust all CPCTuner parameters, existing and a lot of new parameters like balance, fader, a whole bunch of tuner settings and RDS. Also 2 volume buttons next to the slider.
Putput
will this also include changes to the hqct.dll? what improvements can we expect here? did you solve the loss of frequency on hibernate?
|
|
|
05-22-2007, 04:16 AM
|
#45
|
|
Constant Bitrate
Join Date: Sep 2005
Location: Belgium
Posts: 181
|
Quote: Originally Posted by mischka76 
will this also include changes to the hqct.dll? what improvements can we expect here? did you solve the loss of frequency on hibernate?
Sorry for the delay, family bussiness got in the way. So update not finished yet, still working on it. The hibernate problem is solved but needs some more testing, and any changes in CPCTuner are also reflected in the DLL because both use the same HQCT component as a base. This also means that the settings form will be available in the DLL. (see image) AF and traffic/news are also still under construction. The volume buttons are implemented and the registry call is made read only. Are there any other improvements that you expect?
Putput
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:30 AM.
| |