+ Post New Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 21 to 40 of 54
  1. #21
    Full Member level 2
    Points: 3,904, Level: 14

    Join Date
    Dec 2002
    Posts
    135
    Helped
    8 / 8
    Points
    3,904
    Level
    14

    Best language to access serial port?

    I think the best language to access serial port is C, but I highly recommend Visual Basic because of it is the simplest. You only need to create a mscomm object and then manupulate the object's parameter to implemented your application in the platform.



  2. #22
    Full Member level 3
    Points: 3,506, Level: 13

    Join Date
    Aug 2004
    Posts
    155
    Helped
    9 / 9
    Points
    3,506
    Level
    13

    Re: Best language to access serial port?

    i recomend C, because using the function outport or _out can be writen to the ports.



  3. #23
    Member level 3
    Points: 4,723, Level: 16

    Join Date
    Jan 2000
    Location
    Romania
    Posts
    57
    Helped
    7 / 7
    Points
    4,723
    Level
    16

    Re: Best language to access serial port?

    You can use Delphi with SERIALNG component (http://www.domis.de/serialng.htm). I use it and it works fine under W2K and XP.



    •   AltAdvertisement

        
       

  4. #24
    Full Member level 2
    Points: 2,548, Level: 11

    Join Date
    Jun 2004
    Location
    India
    Posts
    128
    Helped
    3 / 3
    Points
    2,548
    Level
    11

    Re: Best language to access serial port?

    hi
    I Strongly recomend VB. C is good .
    But if it involves a GUI it will be easier and quicker in VB.
    Just have a look to your MSDN u find a example u can just copy and past and work .
    I did it in my recent project.

    Regards
    Gopi



  5. #25
    Member level 2
    Points: 2,097, Level: 10

    Join Date
    Oct 2001
    Posts
    47
    Helped
    0 / 0
    Points
    2,097
    Level
    10

    Re: Best language to access serial port?

    I think the CommAPI in Java is very good and simple to understand. There are also commerical SerialAPIs available Java. VB is also allows one to get something going quickly. Try Java commAPI. Beside its all available from Sun's Java website.



  6. #26
    Junior Member level 2
    Points: 1,629, Level: 9

    Join Date
    Sep 2004
    Location
    Pakistan
    Posts
    21
    Helped
    1 / 1
    Points
    1,629
    Level
    9

    Re: Best language to access serial port?

    If U have some experience in C, Then why not try Labwindows or labview



  7. #27
    Newbie level 2
    Points: 1,470, Level: 8

    Join Date
    Oct 2004
    Posts
    2
    Helped
    0 / 0
    Points
    1,470
    Level
    8

    Re: Best language to access serial port?

    I use C and VB - it's simple



  8. #28
    Junior Member level 3
    Points: 1,564, Level: 9

    Join Date
    Oct 2004
    Posts
    26
    Helped
    0 / 0
    Points
    1,564
    Level
    9

    Re: Best language to access serial port?

    I think, C is the best way to access the serial port, this, or assembly.

    Every one says that assembly is to much hard to program, but for things like access serial port, there are no best language!

    A good book is The Art of Assembly Language, if you don find it, send-me an e-mail and I post it to the site!

    Good job.



  9. #29
    Newbie level 6
    Points: 1,726, Level: 9

    Join Date
    Oct 2003
    Posts
    14
    Helped
    0 / 0
    Points
    1,726
    Level
    9

    Re: Best language to access serial port?

    vb is simple.but ı prefer c++. you can find alot of source



  10. #30
    Newbie level 2
    Points: 1,473, Level: 8

    Join Date
    Oct 2004
    Posts
    2
    Helped
    0 / 0
    Points
    1,473
    Level
    8

    Best language to access serial port?

    c is the best but mat lab is simple just 4 to 5 lines



  11. #31
    Full Member level 2
    Points: 2,313, Level: 11

    Join Date
    Nov 2004
    Posts
    135
    Helped
    3 / 3
    Points
    2,313
    Level
    11

    Best language to access serial port?

    In my opinion, C is easy or convenient to read and write the serial port.
    It has ready made fuction available.



    •   AltAdvertisement

        
       

  12. #32
    bhongtip
    Guest

    Best language to access serial port?

    You can find component in VB's component pallete but you need to install Serial port component for Delphi & C++ Builder



  13. #33
    Full Member level 6
    Points: 3,526, Level: 13

    Join Date
    Jan 2005
    Posts
    339
    Helped
    22 / 22
    Points
    3,526
    Level
    13

    Best language to access serial port?

    C is good but acess is only on windows98 and me

    only VB and VC++ can do in any other OS



  14. #34
    Junior Member level 2
    Points: 1,552, Level: 9

    Join Date
    Sep 2004
    Posts
    21
    Helped
    0 / 0
    Points
    1,552
    Level
    9

    Re: Best language to access serial port?

    i use c++ builder, very simple,



    •   AltAdvertisement

        
       

  15. #35
    Member level 5
    Points: 1,952, Level: 10

    Join Date
    Jan 2005
    Posts
    82
    Helped
    3 / 3
    Points
    1,952
    Level
    10

    Best language to access serial port?

    C is good for interfacing serial port.



  16. #36
    Full Member level 2
    Points: 2,346, Level: 11
    bilgekaan's Avatar
    Join Date
    Nov 2004
    Location
    Turkiye
    Posts
    125
    Helped
    15 / 15
    Points
    2,346
    Level
    11

    Re: Best language to access serial port?

    language is not important işf you dont want cross compilation.

    for windows your question is more related to ide of language you are using. it is more difficult if you are using VC++. but very easy for Delphi or C++ Builder just drag and drop component .borland ide's do all init and control sequences for you



  17. #37
    Member level 1
    Points: 1,626, Level: 9

    Join Date
    Aug 2004
    Posts
    35
    Helped
    0 / 0
    Points
    1,626
    Level
    9

    Best language to access serial port?

    asrafiel wrote:
    C is the best. Simple. Seek outportb function and your program will be done.

    outportb can use in dos and old windows but it can't use in windows xp and nt

    what is the solution for XP and NT ?



  18. #38
    Member level 2
    Points: 2,008, Level: 10

    Join Date
    Jul 2004
    Location
    Texas, USA
    Posts
    47
    Helped
    0 / 0
    Points
    2,008
    Level
    10

    Best language to access serial port?

    Labview is best for serial communication and its the easiest



  19. #39
    Newbie level 6
    Points: 1,602, Level: 9

    Join Date
    Apr 2004
    Posts
    13
    Helped
    0 / 0
    Points
    1,602
    Level
    9

    Re: Best language to access serial port?

    First of all u have to decide on which OS you will be used. for example if u will use winXP u will not be able to c directly. Because winXP has a different WDM than win98



  20. #40
    Full Member level 1
    Points: 2,849, Level: 12

    Join Date
    Aug 2004
    Location
    Egypt
    Posts
    116
    Helped
    2 / 2
    Points
    2,849
    Level
    12

    Re: Best language to access serial port?

    if your OS is win xp you can use inpout32.dll
    http://www.logix4u.net/inpout32.htm
    it enables you to access the ports using C or visual basic
    i think it is so easy to access the serial port using MSCOMM control in visual basic



--[[ ]]--