Page 11 of 11 FirstFirst ... 234567891011
Results 101 to 107 of 107

Thread: Suggestions for future releases

  1. #101
    Maximum Bitrate rray's Avatar
    Join Date
    Apr 2012
    Location
    SF Bay Area
    Posts
    615
    So if I added "TogglePhidgetDigitalOut 00" as an event action in the visualization screen code below, then by clicking the HD Radio button would toggle Phidget digital output 00 bit from a 0 to a 1?


    <OBJECT>
    <TYPE>LABEL</TYPE>
    <NAME>LabelSourcesType_HDRadio</NAME>
    <WIDTH>20%</WIDTH>
    <HEIGHT>12%</HEIGHT>
    <POSX>51%</POSX>
    <POSY>1%</POSY>
    <VISIBLE>True</VISIBLE>

    <BACKCOLOR>0,0,0,0</BACKCOLOR>
    <FONTNAME>%skin_FntTxt%</FONTNAME>
    <FORECOLOR>%skin_clrTxtFore%</FORECOLOR>
    <TEXTALIGN>CENTER</TEXTALIGN>
    <TEXT>HD Radio</TEXT>
    <CANDISABLE>TRUE</CANDISABLE>

    <EVENTCOMMAND>
    <EVENTNAME>MOUSEUP</EVENTNAME>
    <EVENTACTION>
    setbackcolor LabelSourcesType_WMP 0,0,0,0
    setforecolor LabelSourcesType_WMP %skin_clrTxtFore%

    setbackcolor LabelSourcesType_XM 0,0,0,0
    setforecolor LabelSourcesType_XM %skin_clrTxtFore%

    setbackcolor LabelSourcesType_DABRadio 0,0,0,0
    setforecolor LabelSourcesType_DABRadio %skin_clrTxtFore%

    setbackcolor LabelSourcesType_HDRadio %skin_clrTxtFore%
    setforecolor LabelSourcesType_HDRadio Black

    showobject SourcesPanelHDRadio

    TogglePhidgetDigitalOut 00

    </EVENTACTION>
    </EVENTCOMMAND>

    </OBJECT>

  2. #102
    Mod - Driveline forum
    Auto Apps:loading...
    ClockWorK's Avatar
    Join Date
    Oct 2003
    Location
    Michigan
    Posts
    599
    That will toggle it. However, if you just want to force it to a 1, you may prefer this instead:

    IF %phidget_digitalout00% = FALSE {
    TogglePhidgetDigitalOut 00
    }

  3. #103
    Maximum Bitrate rray's Avatar
    Join Date
    Apr 2012
    Location
    SF Bay Area
    Posts
    615
    Nice! That way if it is already on, it won't toggle off. I learn something every day!
    Last edited by rray; 10-04-2013 at 07:41 PM.

  4. #104
    Low Bitrate
    Join Date
    Aug 2010
    Location
    Bahrain
    Posts
    66
    Gonna try it soon and let you know.

  5. #105
    Mod - Driveline forum
    Auto Apps:loading...
    ClockWorK's Avatar
    Join Date
    Oct 2003
    Location
    Michigan
    Posts
    599
    I forgot, there's an easier way.

    SETPHIDGETDIGITALOUT 0 True

  6. #106
    Constant Bitrate
    Join Date
    May 2009
    Posts
    212
    Quote Originally Posted by pierrotm777 View Post
    Thanks , but my good work is because your code help me always very much !!! You are a very good coder !
    sorry I haven't read the whole thread but what does the work on bluesoleil mean? Anything external to driveline. i'm asking because I'm trying to buy a BT dev board to make a capc BT kit.

  7. #107
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,769
    A very cool feature would be to have an emergency button that call the 911 or 112 in europe and send a voice message through the phone and the BT connection !
    I don't know if the BlueSoleil's hands free profile can do that , may be with the Btsdk_HFAP_VoiceRecognitionReq() and Btsdk_HFAP_VoiceTagPhoneNumReq() functions ?

Page 11 of 11 FirstFirst ... 234567891011

Similar Threads

  1. Skype releases an SDK
    By Penzance in forum CarPC News
    Replies: 1
    Last Post: 07-14-2010, 08:02 PM
  2. Future (way future) feature idea - OBD2 and VFD
    By Jahntassa in forum Centrafuse
    Replies: 5
    Last Post: 12-13-2006, 10:29 PM
  3. Microsoft Releases New OS for Old PCs
    By lostreception in forum Software & Software Development
    Replies: 3
    Last Post: 07-24-2006, 12:57 PM
  4. News / Releases
    By skippy76 in forum V.O.I.C.E.S
    Replies: 73
    Last Post: 10-23-2004, 10:06 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
  •