1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Devantech USB adaptor vs Cheap Ebay adaptor

Discussion in 'SimTools compatible interfaces' started by Fahim, Jun 18, 2010.

  1. Fahim

    Fahim Member

    Joined:
    Dec 11, 2008
    Messages:
    436
    Balance:
    307Coins
    Ratings:
    +2 / 0 / -0
    USING ONE COMPUTER FOR EVERYTHING.


    Bought two adaptors from China, cheap £7.00 each. Did 160 outputs per second (drops to 110 when running game)

    Bought two Devantech adaptors £15.00 each: Did 220 outputs per second. (drops to 180 when running game)

    I recomend Daventech adaptors, especially for people running profiler and sender + game on one computer.
  2. wannabeaflyer

    wannabeaflyer Active Member

    Joined:
    Jul 31, 2008
    Messages:
    248
    Location:
    UK - London area
    Balance:
    973Coins
    Ratings:
    +34 / 0 / -0
    hi could you post the e-bay link ? cheers :)
  3. Fahim

    Fahim Member

    Joined:
    Dec 11, 2008
    Messages:
    436
    Balance:
    307Coins
    Ratings:
    +2 / 0 / -0
  4. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    I tested almost all of the off the shelf options. Amazingly, they all performed differently, even when they used the same chip. Of the FTDI 232R adapters, the Devantech was the third best performer, just behind FTDI's implementation of the chip: http://www.ftdichip.com/Documents/DataS ... S_v130.pdf and the SX-3000.
  5. bleco

    bleco Member Gold Contributor

    Joined:
    Mar 27, 2010
    Messages:
    363
    Occupation:
    IT Problem Coordinator
    Location:
    Montréal, Canada
    Balance:
    258Coins
    Ratings:
    +2 / 0 / -0
    Could you share your settings in Profiler for the Devantech rs485 to usb ?

    I am getting an average of 160 output/seconds with default Profiler (2.1.0.4) settings of 1-0-100.

    Did not try to check LPT in the adapter properties like some users here metionned ...

    What is the 'normal' average output/seconds we can get with these adapters?

    Also, what should be the initial speed and acceleration values?


    Thx!


    Bleco
  6. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    Hi Bleco,

    It has been a very long time, and I can't remember what settings I used when I evaluated the Devantech adapters, but I do recall that they achieved 220 theoretical updates/sec. Somewhere in the forums (probably the SCN5 hardware thread, I posted the settings and screenshots of them. For the SX-3000 I wound up customizing the driver and getting it recertified by Microsoft because the default parameter options were not optimal for simulation, which is how I now achieve in excess of 250 updates/sec. on high performance PC's.
  7. bleco

    bleco Member Gold Contributor

    Joined:
    Mar 27, 2010
    Messages:
    363
    Occupation:
    IT Problem Coordinator
    Location:
    Montréal, Canada
    Balance:
    258Coins
    Ratings:
    +2 / 0 / -0
    Thanks Bernard,

    I will search at large ...


    Bleco
  8. bleco

    bleco Member Gold Contributor

    Joined:
    Mar 27, 2010
    Messages:
    363
    Occupation:
    IT Problem Coordinator
    Location:
    Montréal, Canada
    Balance:
    258Coins
    Ratings:
    +2 / 0 / -0
    Never find your post but finally achieve a peak of 210 output/secondes with 0-0-200 settings ... It varies however, most of the time getting 200 output/secondes ... will try other combinations later ...

    Bleco
  9. Fahim

    Fahim Member

    Joined:
    Dec 11, 2008
    Messages:
    436
    Balance:
    307Coins
    Ratings:
    +2 / 0 / -0
    With Devantech i:

    Went to device manager to edit com port settings:

    I set Latency to 0
    And I ticked the Close RTS box.
    Bits per second 4096

    In the sc5 interface settings I:

    0ms

    0ms

    70ms


    And unchecked all 4 boxes. With devantech you should be getting 220 outputs per second atleast.
  10. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    Some PC's and adapters will run well with 0,0 settings, and others will occasionally drop a conection to an actuator with these settings, which is very frustrating when you're in a race.

    @Fahim, you are mistmatching your FTDI and X-Sim timeout values. The lowest default FTDI timeout is 100.
  11. bleco

    bleco Member Gold Contributor

    Joined:
    Mar 27, 2010
    Messages:
    363
    Occupation:
    IT Problem Coordinator
    Location:
    Montréal, Canada
    Balance:
    258Coins
    Ratings:
    +2 / 0 / -0
    Bernard:

    I effectively had issues with one actuator dropping its connection while in game ... What do you suggest ?

    I am getting the same response results with 0-1-200 ... minimum of 200 output/sec ... will stick to that for now...


    Fahim: Minimum latency value in com port settings is 1 ... how could you set it to 0 ?


    Thx!

    Bleco
  12. Fahim

    Fahim Member

    Joined:
    Dec 11, 2008
    Messages:
    436
    Balance:
    307Coins
    Ratings:
    +2 / 0 / -0
    Bernard, what do you mean?

    You mean the 70ms? It should be 100ms?

    Everything seems to be running fine.

    BTW bleco. I've got artificial break time at 12ms in the program setting in profiler software. And 12ms in the force sender polling speed.
  13. bleco

    bleco Member Gold Contributor

    Joined:
    Mar 27, 2010
    Messages:
    363
    Occupation:
    IT Problem Coordinator
    Location:
    Montréal, Canada
    Balance:
    258Coins
    Ratings:
    +2 / 0 / -0
    I am finally getting 250 output/secondes after tweaking scn5 and com port settings ...

    however it doesn't seem to be very consistent ... I can get 250 and then next hardware scan 166 and then 200 and then 250 ... What can explain this ?

    [​IMG]


    Thanks!

    Bleco
  14. Fahim

    Fahim Member

    Joined:
    Dec 11, 2008
    Messages:
    436
    Balance:
    307Coins
    Ratings:
    +2 / 0 / -0
    200ms in the interface?

    Is that a good thing?

    I have it on 70ms
  15. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    It is important to understand what these settings actually do.

    70ms or 200ms -- doesn't effect your performance. It is a timeout value. It only has an impact when either something in the Windows OS or X-Sim software or FTDI driver goes bad an causes an excessive delay. X-Sim is not known to have this problem, but many factors can cause windows or the driver to have an excessive delay. The example shown in the picture above is not an optimal configuration because the FTDI driver timeout is set to unlimited and the X-Sim timeout is 200ms. In my testing, I have found the best recovery from rare Windows timing issues to be when the FTDI driver and X-Sim timeout settings match. Since the lowest FTDI timeout is 100ms, then the best matching value is 100ms.

    Also, the subject of performance gets much more complicated than this. Just because X-Sim says 250 updates a second, does not mean that you are getting these updates to the actuator! You may simply be filling the FTDI buffer at a very fast rate causing X-Sim to think that you are getting a good update rate when in fact you are not.
  16. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    Setting latency to 0 will only make things worse. It's sort of like overclocking in that some PC's can handle the aggressive timing settings with no problem and others cannot. There is no good explantion for why some PC's can handle aggressive timing and others do not, it's just the luck of the draw. If you have problems with 0,0,100, then try 1,1,100. It is better to have stable consistent performance than to have a high update rate that stops working in the middle of a race.
  17. bleco

    bleco Member Gold Contributor

    Joined:
    Mar 27, 2010
    Messages:
    363
    Occupation:
    IT Problem Coordinator
    Location:
    Montréal, Canada
    Balance:
    258Coins
    Ratings:
    +2 / 0 / -0
    Hi,

    With these settings I am getting constant 200 outputs/sec each time I scan for hardware changes.

    [​IMG]

    I have found out that in my case enabling LPT printer check in com port settings resulted in making very inconsistent results ...

    If I set the switching time value to 1, I am getting constant 166 outputs/sec ...

    I will do some in game testing to with 0-0-100 settings and if I am having issues with actuators connection drops then I will stick to 1-0-100 ...


    Thanks!

    Bleco
  18. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    Please refer to my above post again. Your timeout settings are still mismatched. 0 = unlimited in the advanced virtual com port settings.

    I have tested each of these scenarious when developing the SX-3000 under various circumstances including an intentional strain on the OS. This is when the timeout settings become most important.
  19. bleco

    bleco Member Gold Contributor

    Joined:
    Mar 27, 2010
    Messages:
    363
    Occupation:
    IT Problem Coordinator
    Location:
    Montréal, Canada
    Balance:
    258Coins
    Ratings:
    +2 / 0 / -0

    Hi Bernard,

    Thank you again for trying to help me with this ... I wish I could spend more time on this project these days ...

    Is it better like that?

    [​IMG]


    Bleco
  20. bvillersjr

    bvillersjr Active Member

    Joined:
    Oct 11, 2008
    Messages:
    1,174
    Location:
    Ohio, USA
    Balance:
    438Coins
    Ratings:
    +23 / 1 / -0
    Yes, this corrects your timeout settings. We'll leave the rest for sometime when I can write a tutorial about how the virtual COM port actually works.