Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How do I connect my program to something physical(hardware).I'm pretty good at programming, but I don't know anything about connecting software to hardware.....

What I have tried:

..................................................................................
Posted
Updated 11-Oct-20 4:23am

It depends on what you are doing, what hardware you are trying to connect, what operating system you are trying to use, what programming language, what framework etc. Try posting some actual details of your problem. I would expect that if you are good at programming you would have at least a basic understanding of the interface between software and hardware.
 
Share this answer
 
As Richard says, there are far to many variables: just think about how many different ways there are to "connect" hardware to hardware: RS232, RsS485, LAN, WiFi, Bluetooth, USB, NFC, ... the list goes on. And each device which its connected needs to talk to software, and that will depend on the hardware connection, plus the software in the "remote" device.

So we can;t tell you "do this and it'll work" - we have no idea about any of the details of your communications.

I'd start with the hardware you want your software to connect to: talk to the manufacturers and see what they has on their website: many will even have sample code which should be a starting point for you.

Good luck!
 
Share this answer
 
A lot of hardware manufacturers have SDK's that you sometimes can download for free from their websites, so go to the website of the manufacturer and search for "SDK".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900