Nicky Posted December 16, 2005 Report Share Posted December 16, 2005 guys..recently im deal with my project that is related to using labview to control the ON/OFF of the LED by parallel port, but im totally no idea about how to create the VI about this... sorry for my poor English.. Quote Link to comment
junboyboy Posted December 16, 2005 Report Share Posted December 16, 2005 i am nicky roomate, so hope here have senior of labview can teach us :worship: :worship: Quote Link to comment
Jim Kring Posted December 17, 2005 Report Share Posted December 17, 2005 guys..recently im deal with my project that is related to using labview to control the ON/OFF of the LED by parallel port, but im totally no idea about how to create the VI about this...sorry for my poor English.. Download OpenG Commander and install the PortIO package (oglib_portio). This will allow you to write to the parallel port. Quote Link to comment
Nicky Posted December 17, 2005 Author Report Share Posted December 17, 2005 Download OpenG Commander and install the PortIO package (oglib_portio). This will allow you to write to the parallel port. sorry, after installed the commander software, it pops up this error window...i dont know wats the problem.... Quote Link to comment
Jim Kring Posted December 17, 2005 Report Share Posted December 17, 2005 sorry, after installed the commander software, it pops up this error window...i dont know wats the problem.... I don't think that you installed it -- you only extracted the ZIP archive. Try again, but preserve the folder structure when you unzip and then try running Install.vi again. Quote Link to comment
Nicky Posted January 3, 2006 Author Report Share Posted January 3, 2006 sorry..is there any function that able to measure the output voltage of the parallel port, on the inside Labview?because i need to measure the output voltage by juz only using the indicator as the voltage display Quote Link to comment
Rolf Kalbermatter Posted January 4, 2006 Report Share Posted January 4, 2006 sorry..is there any function that able to measure the output voltage of the parallel port, on the inside Labview?because i need to measure the output voltage by juz only using the indicator as the voltage display Yes, buy a DAQ card and install it in your computer ;-). Otherwise no, the parallel port is a digital interface with signals when going above 2.4 V meaning logic high and below 0.8V meaning logic low. There is no analog measurement built into the parallel port nor any other part in a normal PC. (This leaves out the temperature and CPU voltage level controls nowadays built into the power management of modern PCs but you couldn't use them for measuring arbitrary port signals anyhow). Rolf Kalbermatter Quote Link to comment
Nicky Posted January 4, 2006 Author Report Share Posted January 4, 2006 Yes, buy a DAQ card and install it in your computer ;-). Otherwise no, the parallel port is a digital interface with signals when going above 2.4 V meaning logic high and below 0.8V meaning logic low. There is no analog measurement built into the parallel port nor any other part in a normal PC. (This leaves out the temperature and CPU voltage level controls nowadays built into the power management of modern PCs but you couldn't use them for measuring arbitrary port signals anyhow).Rolf Kalbermatter hmm...its quite hard for me to get the DAQ card becuz of my current location... or is it possible to directly show all the voltages difference in parallel port, not measure it? i got 1 VI that is get the power status of the pc, i want to get something like this which is related to parallel port ...i found out that this VI is using the Call Library Function Download File:post-3661-1136352551.vi Quote Link to comment
Rolf Kalbermatter Posted January 5, 2006 Report Share Posted January 5, 2006 hmm...its quite hard for me to get the DAQ card becuz of my current location...or is it possible to directly show all the voltages difference in parallel port, not measure it? i got 1 VI that is get the power status of the pc, i want to get something like this which is related to parallel port ...i found out that this VI is using the Call Library Function No. There is absolutely and definitely no hardware in the parallel port circitry which would measure that voltage. And therefore no magic could allow Windows to provide a function to read this voltage. The power status is a specific analog circuitry present in all modern PC motherboards and supervising the internal power supply and Windows has a function to read this status since it wants to know when it should suspend operation before the battery is drained. But this circuitry has absolutely no connection to the parallel port. Rolf Kalbermatter Quote Link to comment
Michael Aivaliotis Posted January 10, 2006 Report Share Posted January 10, 2006 hmm...its quite hard for me to get the DAQ card becuz of my current location... Don't wanna be rude but c'mon! National Instruments ships anywhere, even Malaysia. Beside's that, there are dozens of other vendors. Your computer has USB? You can get a DAQ USB device now for less than a mouse. Call up Irene, she'll hook you up: http://forums.lavausergroup.org/index.php?showtopic=1659 Quote Link to comment
Perez Posted February 15, 2006 Report Share Posted February 15, 2006 Hi! So what about the result of your investigation? Still need help? Quote Link to comment
Moon_eyes Posted March 13, 2006 Report Share Posted March 13, 2006 Hi my name is Luis i hope this may help you a little, if you don't want to buy the DAQ card you can use a Microcontroller PIC16f877A or PIC16F876A or just an ADC in the parallel port . If you decide to use the ADC it wpuld be cheaper just download the datasheet ADC804 and download an example circuit of how to conect somthing to the parallel port. :laugh: If u use the PIC's just let me know and i'll put here the code and the diagram. The pic i said it's easy to find, and it has 6 to 8 channel of ADC so u can multiplex the information so labview can use it. This method only works if the frequency of the signal it's below of 20K, if u wish a faster way then buy the ADC and use the pic or just buy the DAQ car. :laugh: by the way, can u please put a VI that just read/write to follow it like an example? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.