02-22-2012 07:17 AM - edited 02-22-2012 07:20 AM
Hello all
I am having usb to 36 pin parallel port converter and i try to communicate with that to run a stepper motor.
how can i communicate with that.? I plan to use visa function for that, what are all the pins i have to be grounded. (Can i use visa write funtion for that?)
i have read in forums for IEEE1284 standard i have to ground pin 11 and pin 12.
And i dont know one more thing, in max i can see only COM ports without any problem and i cannot see any usb port in that.
Is COM port and usb port are same.?
02-22-2012 07:29 AM
You can use the inport and outport functions to control the parallel interface. You must find out which bit in the outport input refers to which pin.
Cheers
Edgar
02-22-2012 07:32 AM - edited 02-22-2012 07:33 AM
I can do that but, i am using here usb to parallel port converter. It is not detected as LPT port in device manager.
It is detected as "usb printing support" in device manager
02-22-2012 08:37 AM
This may make things more difficult. You can try if outport to the port addresses hex378 or hex278 works, but probably it doesn't. You may try to find out if your device has a different port address.
A PCMCIA parallel port normally works like a standard one. with the 378 or 278 port address.
Cheers
Edgar