forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[resolved] vds io help

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
seeme
Newbie


Joined: 23 Dec 2003
Posts: 1
Location: Canada

PostPosted: Tue Dec 23, 2003 3:30 am    Post subject: [resolved] vds io help Reply with quote

Hope I'm at the right place for help on this... If not simply point me in the right direction...

Hi, I'm new to programming and would like to understand what is possible with vdsdll.dll as far as the @VDS(IO,in,port) is concerned.

I've been successfull in making a simple light turn on/off with the out command and want to know if it's possible to read a simple on/off switch with this.

If so I would require a little example to start. I usually learn well keeping things simple.

Maybe I simply don't understand the parallel port the way I'm supposed to or simply that this dll can't do it.?

Thanks.
Back to top
View user's profile Send private message MSN Messenger
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Dec 23, 2003 9:27 am    Post subject: Reply with quote

I think you can better contact the maker of the vdsdll, since he made it... Smile You can E-mail him at tommy@sools.com.
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Sat Dec 27, 2003 10:16 pm    Post subject: Reply with quote

Here's my reply to this, which I also sent via e-mail:

Quote:
You are probably reading from port "$378" which will return you the data you wrote to the parallel output pins. Try to use "$379", that should return the status of the 5 input pins: @dll(IO,IN,$379)

Of course you could simply enter the "$379" address in IO.DSC, that should make the status of the pins visible.

Please refer the chart at the top of this page:

http://www.doc.ic.ac.uk/~ih/doc/par/doc/regpins.html

The "STATUS" line is what you need.


From what I understood from Marc's reply, the solution was to use port number "$3BD".
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group