Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Parallel ports in wiindows xp

  1. #11

    Default

    ice, u said that u are able use the parallel ports in xp??
    What compiler do you use?And how do you open i/o ports?
    Thanks.

  2. #12
    Senior Member Cyborg
    Join Date
    Sep 2004
    Posts
    162

    Default

    Aditya
    I have never used the Porttalk util given on beyondlogic.org but I suggest you get it from there only, and not any other source.
    -->http://www.beyondlogic.org/porttalk/porttalk.htm

    but i hope..
    while measuring the voltages on port, you are-
    measuring them "before" pressing the key (while the getch in your code waits for your key-press) and not after the program ends.
    --just thought maybe the windows takes the control back after the program ends and resets the port.
    dont know what these complicated OSes do.

    if thats the case:
    i am sorry i cant help you more than this, and can only think what Gerry has suggested. Is your port working ??
    hope u havent applied any voltages to it and blown it.

    hmm..i stopped using parallel ports since i dont know when...and those were the good days of Dos6 to win95.


    cheers & goodluck!
    Vivek
    --
    " To get working ideas effectively, I try to fail as fast as I can. "
    Richard Feynman
    --
    http://www.youtube.com/watch?v=JqlawTD_9B0

  3. #13
    Senior Member T-1000
    Join Date
    Jun 2004
    Location
    Bombay/Mumbai
    Posts
    498

    Default

    adv,
    U know ,life would be much easier if you could run ur stuff on a 98 machine...anyways..no harm in trying on XP..

    First ::
    Please check if ur port is workin....get hold of a printer .
    That will clear our first doubt.
    I said inputs in my previous post...
    I wanted to see if ur port is receiving at least..give a 4.5V to one of the input pins.
    http://neil.fraser.name/software/lpt/

    dload the above file [lpt.exe].It's a monitor..REMEMBER to ground your circuit to the ppt.

    I use 98 to run my interfacing apps.The parallel port Tutorial that i wrote has a program for the inputs..try it out.
    Keep us posted..This is a kewl thread .Makes us rack our brains.

    hey vivek...ur sig homepage isn't in html..will be better for clicking if u make it clickable.
    ice
    //Gerry [ http://www.machinegrid.com]

  4. #14

    Default

    ai u can do interfacing in XP

    I have posted it on this site see it in programming section

    for parallel port see my tutorials, get it from

    www.bibinjohn.tk

  5. #15
    senior
    Guest

    Default please help me..

    Please help me about understanding the effect of this test:
    if (getch()==0x00) getch();
    I don't understand wath does mean 0x00 and the role of function getch() combinated with 0x00.

    please email me at senior_kro@yahoo.com
    Thank you...

  6. #16

    Default

    Hi,
    getch() gets a character (from file or keyboard, i am not sure)

    0xhh -- here 'hh' is the hexadecimal number and 0x before any number indicates that, that number is hexadecimal number.

    if (getch()==0x00) getch();
    in the above line, it checks whether the character read is equal to 00 in hexadecimal format. if yes get another character.

    subot_robot

  7. #17

    Default

    tell which language u want to do????

    If you want to do in C/C++/Java
    u have to install userport.zip

    U can download it from Yahoo gp-parallelport(install by instructions from file pforu)

    In VB,VC there are readymade dll's to do it, u can get it from tutorials here


    Bibin John
    www.bibinjohn.tk

  8. #18
    Guest

    Default

    Hello All

    I am using Porttalk22 and its working ok. But driver is unable to clear data buffer and so next data is not coming on 0x378. So please tell me how to clear buffer of that driver. help me please its urgent.

    Thanks in Advance

Posting Permissions

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