Page 25 of 25 FirstFirst ... 1516171819202122232425
Results 241 to 248 of 248

Thread: siLABS RADIO PLUGIN

  1. #241
    FLAC Griff1's Avatar
    Join Date
    Nov 2005
    Location
    Midlands
    Posts
    1,052
    Hi,
    As you guys seem to understand signal and stuff i'm hoping you can answer this for me,

    Im using the standard amp'd aerial fitted to my car,its powered by a 12 volt wire fed from the car (not from the HU)

    So my question is...Is there anything to be gained signal wise by powering the aerial with regulated power from the pc instead of from the car?
    P4 2.8 HT, 512Mb Ram, 60Gb 2.5 HD, M4-ATX, SB Audigy2, BU353, Lilliput TS,Soundgraph Imon VFD,SONY Optiarc dvd Burner,RideRunner, iGo8, Custom Freedom 2.1

  2. #242
    Low Bitrate
    Join Date
    Oct 2007
    Location
    Assens, Denmark
    Posts
    61
    I have thought the same.
    At the moment I'm using a 7Ah 12V battery on the Aerial amp and manually charge it every 3-4 days, but will compare it (reception wise) to pc 12V and car 12V in the near future.

    Henrik

  3. #243
    Newbie
    Join Date
    Feb 2008
    Location
    UK
    Posts
    6
    What you need is a clean supply, it's quite possible for the PC supply to be noisier at the frequencies that matter due to the switch mode power supply and processor buses (I get a strong signal at 100MHz due to this but it doesn't affect reception of other stations).

    Only real way to tell is try it and see.

    Other option is to filter the supply with say a 10uH choke in the line and a 1uF cap across the antenna amp power pins. The cap needs to be good at high frequencies though so avoid electrolytics or tants, a 1uF ceramic in parallel with a 10n ceramic would work well. Need to check the choke current rating is up to it too.

  4. #244
    LTi
    LTi is offline
    Newbie
    Join Date
    Jul 2007
    Location
    Hungary
    Posts
    23
    Dear m8s,

    From where can i download the source of the latest silabs dll?
    Or at least the exported function calls header file would be nice,
    sine i am trying to integrate it into my own sw.

    Regards

  5. #245
    Newbie
    Join Date
    Feb 2008
    Location
    UK
    Posts
    6
    Afraid I haven't got round to uploading the latest source yet, need to tidy it up and get it on google code. Will probably be a couple of days so in the meantime the old source is here ( see the disable direct sound version)

    http://code.google.com/p/silabsradiodll/source/browse

    and for details of the additional calls in the latest dll and general dll discussion see here

    http://www.digital-car.co.uk/forum/s...t=8867&page=71

    copied here as well

    Code:
    USBRADIO_API bool __stdcall HWInitEx(bool enableSound);
    USBRADIO_API bool __stdcall TAEnable(bool enableTA);
    USBRADIO_API bool __stdcall TAActive();
    HWInitEx is an alternative to the standard HWInit that takes an argunment to allow the dll to be called with the DS stuff disabled (in case you do it in your own app), TAEnable turns the automatic switch to traffic announcements by the DLL on or off and TAActive is used to detect whether a TA is currently being broadcast (both std and EON). The last function is included because I couldn't get the sendmessage callbacks to work. They were fine if called from a different process, or the same thread within a single process but wouldn't do anything between two threads in the same process. BTW, don't tend to look in here too often, if you have any more questions your more likely to find me on the forum linked above.

  6. #246
    LTi
    LTi is offline
    Newbie
    Join Date
    Jul 2007
    Location
    Hungary
    Posts
    23
    Thx Pete

    I am looking forward the latest source.
    By the way could you send me just the USBRadio.h of the latest DLL?
    And where can i download the latest DLL?
    And c u at digital-car.

    Regards

  7. #247
    Newbie
    Join Date
    Feb 2008
    Location
    UK
    Posts
    6
    Quote Originally Posted by LTi View Post
    Thx Pete

    I am looking forward the latest source.
    By the way could you send me just the USBRadio.h of the latest DLL?
    And where can i download the latest DLL?
    And c u at digital-car.

    Regards
    Code:
    // The following ifdef block is the standard way of creating macros which make exporting 
    // from a DLL simpler. All files within this DLL are compiled with the USBRADIO_EXPORTS
    // symbol defined on the command line. this symbol should not be defined on any project
    // that uses this DLL. This way any other project whose source files include this file see 
    // USBRADIO_API functions as being imported from a DLL, wheras this DLL sees symbols
    // defined with this macro as being exported.
    #include "FMRadioDevice.h"
    //#include "oleauto.h"
    
    #ifdef USBRADIO_EXPORTS
    #define USBRADIO_API __declspec(dllexport)
    #else
    #define USBRADIO_API __declspec(dllimport)
    #endif
    
    //Tested
    USBRADIO_API bool __stdcall         HWInit();
    USBRADIO_API bool __stdcall	        HWInitEx(bool enableSound);
    USBRADIO_API bool __stdcall         HWDeInit();
    USBRADIO_API bool __stdcall         FMTune (long frequency);
    USBRADIO_API unsigned int __stdcall GetSignal();
    USBRADIO_API long __stdcall         GetCurrStation();
    USBRADIO_API long __stdcall         SeekStation(bool SeekUp);
    USBRADIO_API bool __stdcall         IsStereo();
    USBRADIO_API const char* __stdcall  GetRDS();
    
    USBRADIO_API long __stdcall ScanStation (bool directionUpDown, long startFrequency);
    
    USBRADIO_API bool __stdcall FMTuneUp ();
    USBRADIO_API bool __stdcall FMTuneDown ();
    USBRADIO_API char* __stdcall GetModuleName();
    USBRADIO_API unsigned long __stdcall GetModuleInfo();
    
    USBRADIO_API void __stdcall TuneFreq (long frequency);
    
    USBRADIO_API void __stdcall SetMute(bool mute);
    
    
    
    USBRADIO_API unsigned int __stdcall GetVolume();
    
    // Doesn't support different volume levels per side, ignores right side
    USBRADIO_API void __stdcall SetVolume(unsigned int left, unsigned int right);
    
    USBRADIO_API void __stdcall VolumeUpDown(int step);
    
    //VB calls!
    USBRADIO_API bool __stdcall     VB_GetModuleName (char szReturnModuleName[256], short *iSize);
    USBRADIO_API bool __stdcall     VB_GetFrequency (double frequency);
    USBRADIO_API bool __stdcall     VB_GetRDSText (char szRetRDS[256], short *iRetSize);
    USBRADIO_API bool __stdcall     VB_GetRDSPS (char szRetRDS[8], short *iRetSize);
    USBRADIO_API bool __stdcall		VB_GetRDSPIRegion (char szRetRDS[8], short *iRetSize);
    USBRADIO_API bool __stdcall		VB_GetRDSPICountry (char szRetRDS[8], short *iRetSize);
    USBRADIO_API bool __stdcall		VB_GetRDSPI (int *rdsPI);
    USBRADIO_API bool __stdcall		VB_GetRDSPTY (short *rdsPTY);
    USBRADIO_API bool __stdcall		VB_GetRDSTA (bool *rdsTA);
    USBRADIO_API bool __stdcall		VB_GetRDSTP (bool *rdsTP);
    USBRADIO_API bool __stdcall		VB_GetRDSMS (bool *rdsMS);
    USBRADIO_API bool __stdcall		VB_GetRDSEON (bool *rdsMS);
    
    USBRADIO_API bool __stdcall     VB_GetRadioRegisters (char szRetBuf[256], short *iRetBufSize);
    USBRADIO_API bool __stdcall VB_GetAFList (float* ary, int* arysize);
    USBRADIO_API bool __stdcall     VB_GetRDSRegisters (char szRetBuf[256], short *iRetBufSize);
    USBRADIO_API bool __stdcall RegisterTAStart (char windowName[256], short dwData, char lpData[256]);
    USBRADIO_API bool __stdcall RegisterTAStop (char windowName[256], short dwData, char lpData[256]);
    USBRADIO_API bool __stdcall RegisterRadioText (char windowName[256], short dwData, char lpData[256]);
    USBRADIO_API bool __stdcall	TAEnable(bool enableTA);
    USBRADIO_API bool __stdcall	TAActive();
    USBRADIO_API bool __stdcall SetExFlags(long Flags);
    USBRADIO_API bool __stdcall	TAEndAlert();
    USBRADIO_API bool __stdcall	TATestSendTA(bool SendStart);
    Forgot about the last 2 functions, TAEndAlert is used to cancel the current TA (forces the radio to tune back to the station it was on prior to the TA) without disabling TA. I added TATestSendTA to allow me to debug the TA callbacks, it forces the DLL to simulate the start/end of a TA.


  8. #248
    Newbie
    Join Date
    Jun 2008
    Posts
    51
    I really don't understand how DLL's work but am quick to learn. I want to use this in my VB.NET project; I downloaded the plugin from the first post ("http://gpsirda.dyndns.org/iceRadio/iceradio_ver1.0.6.zip") and tried to use it as refernce in visual studio 2005 but it didn't work, it said something along the lines that it wasn't a COM component.

    How do I use this in VB.NET? any help, even a link that points me in the right direction is greatly appreciated.

Similar Threads

  1. radioSHARK Plugin for RoadRunner
    By Evolution VIII in forum RR Plugins
    Replies: 192
    Last Post: 09-30-2007, 05:55 PM
  2. Garo's Extra POI Plugin 1.0 beta 1
    By garo in forum Map Monkey
    Replies: 63
    Last Post: 01-18-2007, 12:32 PM
  3. Replies: 17
    Last Post: 10-29-2006, 10:55 PM
  4. How do I use the Base plugin sources ?
    By guino in forum RR FAQ
    Replies: 1
    Last Post: 04-24-2006, 03:43 PM
  5. Sirius Radio Plugin...
    By ThermoDust in forum Centrafuse
    Replies: 7
    Last Post: 08-27-2005, 08:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •