LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems accessing the parallel port

Dear All,

I'm having problems to access to the parallel port using the VI write /
read to the serial port, it returns the error code 37. As far as I've
seen in the documentation this error code is for UNIX systems and we're
using Windows 95.

Anybody know what's going on?

Cheers,

Ernest


--
___________________________________________________

Ernest Mendoza
Institut de Ciencia de Materials de Barcelona
Consejo Superior de Investigaciones Cientificas
Campus de la UAB. E-08193 Bellaterra (Barcelona)
Tel- 34- 93 580 18 53
Fax- 34- 93 580 57 29
http://www.icmab.es/dmag/new/index.html
___________________________________________________
0 Kudos
Message 1 of 6
(1,459 Views)
This is the device not found error. It is platform independant. It means
that you are addressing a serial port that LabVIEW cannot find. This is
becuase the port is not there or LabVIEW cannot access it. Make sure the
serial port you are addressing is configured in Windows device manager and
then make sure you have the file serpdrv in your LabVIEW (or compiled executable)
directory.

-Jim

Ernest Mendoza wrote:
>Dear All,>>I'm having problems to access to the parallel port using the
VI write />read to the serial port, it returns the error code 37. As far
as I've>seen in the documentation this error code is for UNIX systems and
we're>using Windows 95.>>Anybody know what's going on?>>Cheers,>>Ernest>>>-->____________________________________________
_______>>Ernest
Mendoza>Institut de Ciencia de Materials de Barcelona>Consejo Superior de
Investigaciones Cientificas>Campus de la UAB. E-08193 Bellaterra (Barcelona)>Tel-
34- 93 580 18 53>Fax- 34- 93 580 57 29>http://www.icmab.es/dmag/new/index.html>___________________________________________________>>
JKI Blog
0 Kudos
Message 2 of 6
(1,459 Views)
You may also have to add a reference to LPT1 in the Labview.ini file. This
is documented in the online help somewhere.........................

James Kring wrote in message <39883139@newsgroups.ni.com>...
>
>This is the device not found error. It is platform independant. It means
>that you are addressing a serial port that LabVIEW cannot find. This is
>becuase the port is not there or LabVIEW cannot access it.
0 Kudos
Message 3 of 6
(1,459 Views)
I also had problem accessing (well, more like the VI is not doing it) the
parallel port. It doesn't generate errors as I run the VI. I tried using the
Port In/Port Out VI's instead (under Memory section) and for parallel port,
input the address 0x378 or 888 decimal (for Windows) and it works fine for my
application.

Steven

paul F wrote:

> You may also have to add a reference to LPT1 in the Labview.ini file. This
> is documented in the online help somewhere.........................
>
> James Kring wrote in message <39883139@newsgroups.ni.com>...
> >
> >This is the device not found error. It is platform independant. It means
> >that you are addressing a serial port that LabVIEW cannot find. This is
> >becuase the port is not there or LabVIEW
cannot access it.
0 Kudos
Message 4 of 6
(1,459 Views)
What OS are you using? If you are trying to use the parallel
port in Win NT, you will have problems.
Dave

Ernest Mendoza wrote:
>
> Dear All,
>
> I'm having problems to access to the parallel port using the VI write /
> read to the serial port, it returns the error code 37. As far as I've
> seen in the documentation this error code is for UNIX systems and we're
> using Windows 95.
>
> Anybody know what's going on?
>
> Cheers,
>
> Ernest
>
> --
> ___________________________________________________
>
> Ernest Mendoza
> Institut de Ciencia de Materials de Barcelona
> Consejo Superior de Investigaciones Cientificas
> Campus de la UAB. E-08193 Bellaterra (Barcelona)
> Tel- 34- 93 580 18 53
> Fax- 34- 93 580 57 29
> http://www.icmab.es/dmag/new/index.html
> ____
_______________________________________________
0 Kudos
Message 5 of 6
(1,459 Views)
David,
I am trying to write to the parallel port in Win NT. I am not able to do that, whereas the same VI that talks to the parallel port works fine on Win 98. Are you aware of the necessary changes to be made in Win NT to make it talk to the parallel port?

Attatched is the VI that I am using to write to the parallel port.
Thanks,
Pari.
0 Kudos
Message 6 of 6
(1,459 Views)