code for my electric lock.

I need help with some status on LPT

Page 1 of 1

1 Replies - 819 Views - Last Post: 17 August 2009 - 08:27 AM Rate Topic: -----

#1 ToHa57  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-May 08

code for my electric lock.

Posted 17 August 2009 - 07:39 AM

I have 2 problems vith an electric lock, and would be greatful for some help.
I am using vb.net 2008 and I can open the lock through my program...
First I need some code to read the status on a LPT pin.. High or low, AND how many times it has been high..(how many times its been opened). I am reading 127 when closed, and 255 when opened...
second I need some clue to be able to lock it for a random time...1 to 3 day or something like that...

Hope for help

ToHa57

Is This A Good Question/Topic? 0
  • +

Replies To: code for my electric lock.

#2 AdamSpeight2008  Icon User is offline

  • MrCupOfT
  • member icon

Reputation: 2298
  • View blog
  • Posts: 9,535
  • Joined: 29-May 08

Re: code for my electric lock.

Posted 17 August 2009 - 08:27 AM

How to access serial and parallel ports by using Visual Basic .NET
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1