Page 11 of 12 FirstFirst ... 23456789101112 LastLast
Results 101 to 110 of 115

Thread: Suggestions for future releases

  1. #101
    Maximum Bitrate rray's Avatar
    Join Date
    Apr 2012
    Location
    SF Bay Area
    Posts
    718
    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
    718
    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
    718
    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
    718
    I forgot, there's an easier way.

    SETPHIDGETDIGITALOUT 0 True

  6. #106
    Variable Bitrate
    Join Date
    May 2009
    Posts
    261
    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,846
    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 ?

  8. #108
    FLAC SNOtwistR's Avatar
    Join Date
    Nov 2009
    Location
    Keswick,On Canada
    Posts
    1,619
    Not sure if this is a bug or a formula that needs tweaking but my odometer is off by about 12.8 kilometers on a trip that was around 50kms, maybe you need to add 1 more decimal point to make it more accurate. But what do I know SNO

  9. #109
    Mod - Driveline forum
    Auto Apps:loading...
    ClockWorK's Avatar
    Join Date
    Oct 2003
    Location
    Michigan
    Posts
    718
    Quote Originally Posted by SNOtwistR View Post
    Not sure if this is a bug or a formula that needs tweaking but my odometer is off by about 12.8 kilometers on a trip that was around 50kms, maybe you need to add 1 more decimal point to make it more accurate. But what do I know SNO
    Is an OBD device connected to the vehicle and being used in DriveLine?
    Is the odometer within DriveLine recording too many kilometers, or too few?
    Was it stop-and-go traffic, or was the speed fairly consistent?

  10. #110
    FLAC SNOtwistR's Avatar
    Join Date
    Nov 2009
    Location
    Keswick,On Canada
    Posts
    1,619
    Yes my all in one box is in my truck using the scantool's microobd200 chip (on a side note since I changed the baud rate of the chip from 9600 to 115200 I now am getting 45-70hz reporting in DL) The odometer is running less than the vehicle, fairly consistent speed. Hope this helps SNO

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
  •