LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[Q]: Error number 37 when use 'SERIAL/PARALELL port write' VI !!!

Hi,

I want to write data to the parralel port, so I use
the 'serial port write' VI wich can be use to write
data to the parallel port using port number :
0 = COM1, 1 = COM2, ect... 10 = LPT1,
11 = LPT2. (I use 10 -> LPT1).

But I always have the same error : Number 37
which mean 'Device not found'. I have tested my
VI on three different PC (Windows 98 and NT4)
and I have always the same error.

My PC (Windows 98) is well configure so I don't
know where is the problem.
Can somebody help me.

Thanks.
Best regards.
FARGET Vincent
farget@olfac.univ-lyon1.fr
0 Kudos
Message 1 of 4
(2,605 Views)
Hallo, Vincent,

Du meintest am 01.06.99 zum Thema [Q]: Error number 37 when use 'SERIAL/PARALELL port write' VI !!!:

> 0 = COM1, 1 = COM2, ect... 10 = LPT1,
> 11 = LPT2. (I use 10 -> LPT1).
>
> But I always have the same error : Number 37
> which mean 'Device not found'.

Have you tried number 11? Maybe LabView follows the IBM notation:
0x3bc = LPT1
0x378 = LPT2
0x278 = LPT3

Viele Gruesse!
Helmut
0 Kudos
Message 2 of 4
(2,605 Views)
Vincent Farget wrote:

> Hi,
>
> I want to write data to the parralel port, so I use
> the 'serial port write' VI wich can be use to write
> data to the parallel port using port number :
> 0 = COM1, 1 = COM2, ect... 10 = LPT1,
> 11 = LPT2. (I use 10 -> LPT1).
>
> But I always have the same error : Number 37
> which mean 'Device not found'. I have tested my
> VI on three different PC (Windows 98 and NT4)
> and I have always the same error.
>
> My PC (Windows 98) is well configure so I don't
> know where is the problem.
> Can somebody help me.
>
> Thanks.
> Best regards.
> FARGET Vincent
> farget@olfac.univ-lyon1.fr

I have finally found and use the 'Out Port' function
which is in the advanced/memory functions.

FARGET Vincent
farget@olfac.univ-lyon1.fr
0 Kudos
Message 3 of 4
(2,605 Views)
Vincent Farget wrote:

> Hi,
>
> I want to write data to the parralel port, so I use
> the 'serial port write' VI wich can be use to write
> data to the parallel port using port number :
> 0 = COM1, 1 = COM2, ect... 10 = LPT1,
> 11 = LPT2. (I use 10 -> LPT1).
>
> But I always have the same error : Number 37
> which mean 'Device not found'. I have tested my
> VI on three different PC (Windows 98 and NT4)
> and I have always the same error.
>
> My PC (Windows 98) is well configure so I don't
> know where is the problem.
> Can somebody help me.
>
> Thanks.
> Best regards.
> FARGET Vincent
> farget@olfac.univ-lyon1.fr

The better solution is that you use de "outport.vi".
0 Kudos
Message 4 of 4
(2,605 Views)