• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 

TnrLptDriver StartService fails: 00000420 An instance of the service is already

Started by Mlagsto, September 14, 2020, 10:13:15 pm

Previous topic - Next topic

Mlagsto

Hi,
I'm new, I just bought the nrcomm lib and I'm having this problem


[14/09/2020 21:51:25] nrComm Lib v9.55 Pro Windows 8 [6.2.9200]
[14/09/2020 21:51:25] TnrLptDriver Open()
[14/09/2020 21:51:25] TnrLptDriver CreateService ...
[14/09/2020 21:51:25] TnrLptDriver WOW64 mode ...
[14/09/2020 21:51:25] TnrLptDriver x64 stub finished. Error Code : 00000000
[14/09/2020 21:51:25] TnrLptDriver StartService ...
[14/09/2020 21:51:25] TnrLptDriver StartService fails: 00000420 An instance of the service is already running
[14/09/2020 21:51:25] TnrLPTDirect mode. Base address: 378

Can anybody help me?

Thanks in advance,
Marcelo

Roman Novgorodov

Hello

Can you provide some more information:

Do you run LPTDemo or original project?
What version of Delphi do you use?

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Mlagsto


Roman Novgorodov

DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.


Mlagsto


Roman Novgorodov

Hello

Hmmm....
TnrLpt was created for work with native parallel ports. :-(
We will try to check with USB lpt adapter.
Can you tell me more details about USB lpt adapter?
I need chip model or manufacturer name.

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Mlagsto


Roman Novgorodov

Hello

Thank you for information.
Please open LPTDemo sources and set property:
nrLPT1.DirectMode to FALSE

Please check.

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Mlagsto

Hello,

Now the port seems to be open,

[17/09/2020 09:56:01] nrComm Lib v9.55 Pro Windows 8 [6.2.9200]
[17/09/2020 09:56:01] TnrLPTCommon mode.

But I'm trying to get the ststus of PIN 10 11 12 13, what I'm doing is to ground those pins that has 5v and goes to 0 when I do this, but the status is not changing.
The adapter is getting LPT2, what address should I use? 278 or 378?

Thanks in advance,
Marcelo

Roman Novgorodov

Hello

All depends on USB2LPT adapter drivers.
Possible driver support access to LPT over base ports possible not.
Also you can check device property pages in System Device Manager, maybe it allows to
turn ON "direct mode" or base port emulation or something like that.

Quote278 or 378?
You can try both :-)

Please note that, in common cases USB2LPT adapter implements printer communication protocols only and
does not allow to access to LPT pins directly.
http://www.interfacebus.com/Design_Connector_Parallel_PC_Port.html


Possible some more info you can see here:
https://www-user.tu-chemnitz.de/~heha/basteln/PC/USB2LPT/

We will try to find USB adapter with Moschip mcu but it can take a lot time.

I'm sorry that you purchased the licensed nrComm Lib without full test of trial version.

Roman Novgorodov
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Mlagsto

Hello,

For now I bought a PCI card, and it was installed as LPT3, the address displayed at the resources are

I/O range 3010-3017
I/O range 3000-3003

It's not working.

I still cannot get the pin status.

Thanks in advance,
Marcelo

Mlagsto

Hello,

Here some info about the Card

Oxford Semiconductor Inc
PCI Express ECP Parallel Port

At the port Settings device
option Never use an interrupt

Adress 00000000

Resources
I/O range 3010-3017
I/O range 3000-3003

Thanks in advance,
Marcelo


Mlagsto

Hello,

Success, working ok, with the PCIe card.

Thanks for your help.

Marcelo