Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RS232/IEEE488 port programming

Status
Not open for further replies.

Galilea

Programmer
Sep 11, 2000
4
GB
Can anyone give me a hand with the accessing of these ports for data handling (input/output)?

Thank you. [sig][/sig]
 
Hi
Use CreateFile to access to ports. You can find sample codes on the internet. [sig][/sig]
 
Hi,

I assume you are doing data acq, on electronic test instruments. Try (National instruments)

IEEE488 is commonly refered to as GPIB. Many electronic test insruments have GPIB and/or RS232 ports. The RS232 is more straight forward but is not a fast as the IEEE488 and in some cases the instruments full feature set may not be available under RS232.

RS232 can be addressed more directly from your app, wheras GPIB is best handled through a driver and sending calls to that driver that comes with the host GPIB controller.

NI has a great deal of info on the subject. Also try agilent (formerly HP). They invented the original standard (HPIB) which latter became GPIB (General Purpose Interface Bus) then to become standardized to IEEE488 (actually now IEEE488.2) There are app notes on agilent website that deals with programming their test instruments to RS232 and GPIB

Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top