Go Back   DriverHeaven.net > Forums > Software / Tools > Programming, Coding, (Web)Design

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old Sep 22, 2006, 07:48 AM   #1 (permalink)
Sojourner
DriverHeaven Newbie
 
Join Date: Aug 2006
Posts: 12
Sojourner is on a distinguished road

External I/O in Visual Studio 2005

Anybody know where I can find instruction topics on getting data from external devices in C# programming via VS2005? Help library and google searches have turned up very little. I'd be quite happy to learn for myself without bugging people if only I could find the bloody material.

I'm particularly thinking about (very retro) parallel and serial port-based data logging devices for a scientific graphing application. I did find a couple of articles on parallel ports, but the writer's english was so bad I couldn't figure out what he was using and why.
__________________
Athlon 64 3200+
1GB Kingston DDR400
Abit KV8 Pro
Sapphire Radeon X800 Pro 512MB AGP
Sojourner is offline   Reply With Quote
Old Oct 23, 2006, 08:47 PM   #2 (permalink)
Scar_T
DriverHeaven Junior Member
 
Join Date: Oct 2004
Posts: 84
Scar_T is on a distinguished road

Under Windows XP/2000 you can't freely access to port from an user application, you need to use a driver. You can use IO.dll (http://www.geekhideout.com/iodll.shtml) for that purpose, it is free (for non commercial usage) and it has examples for using it with VB and VC++.

I hope you can use it with C# aswell, unfortunately I don't know too much about this language so I can't tell you how to use it in from a C# application.
__________________
Scar_T - Parasite Coder
Scar_T is offline   Reply With Quote
Old Nov 3, 2006, 04:06 PM   #3 (permalink)
Sojourner
DriverHeaven Newbie
 
Join Date: Aug 2006
Posts: 12
Sojourner is on a distinguished road

Thanks - that's the kind of answer I was looking for. It does explain why I'm finding these things so complicated. It's going to take a bit of effort to work out how to use this .dll, though, as I'm a real programming rookie.
__________________
Athlon 64 3200+
1GB Kingston DDR400
Abit KV8 Pro
Sapphire Radeon X800 Pro 512MB AGP
Sojourner is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 03:24 AM. Copyright ©2008 DriverHeaven.net