04-09-2011 02:55 AM - edited 04-09-2011 02:57 AM
I am jiju i want read 3 volt from parallel port me apply 3 volt pin 2 and 25 , i use ' in port.vi ' but i can't please hepl me , give me any idea
04-11-2011 04:34 AM
Jiju,
Using of Parallel port u can't read the voltage if u want to read voltage u should put a parallel ADC (0804) and read external voltage. if u want to access the port u have to set some of the registers. the registers are following on
1. Data Register (Base Address)
2. Control Register and (Base Address + 1)
3. Status Register (Base Address + 2)
If u set the bit 0 in Data Register u can access a 5V DC in pin 2 and ground pin 25. The example vi following on
C:\Program Files\National Instruments\LabVIEW 2010\examples\portaccess\parallel port examples.llb\Parallel Port Read and Write Loop.vi
Siva
04-11-2011 10:46 AM
@Jiju wrote:
I am jiju i want read 3 volt from parallel port me apply 3 volt pin 2 and 25 , i use ' in port.vi ' but i can't please hepl me , give me any idea
Is this the same as your question from December? Use a realy DAQ device, such as the USB-based one. The parallel port cannot be used to measure voltage levels, unless you just want to see if it's high or low, and even then you have to be careful that you don't damage the parallel port (and consequently your motherboard) if you put in an excessive voltage or current.
@siva_usic wrote:
Jiju,
Using of Parallel port u can't read the voltage if u want to read voltage u should put a parallel ADC (0804) and read external voltage. if u want to access the port u have to set some of the registers. the registers are following on
http://forums.ni.com/t5/BreakPoint/A-plea-for-full-words/m-p/751206