Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read data from Communication port RS232 or DB-25 In Visual Basic ?

I Have problem with read data from communication port thru Visual Basic program
please, answer with Example Code
Thank's
ADI GERIMU
0 Kudos
Message 1 of 2
(3,671 Views)
Hello adigerimu,
If you are using National Instruments ComponentWorks (Tools for Visual Basic) package, you can find serial examples located at "C:\MeasurementStudio\VB\Samples\Instr\Basic Serial" or wherever you installed Measurement Studio. We also have an example that uses VISA online at http://zone.ni.com then click RESOURCE LIBRARY >> COMPONENTWORKS >> GENERAL and look for links that mention "serial". If you are not using ComponentWorks, then this is not the appropriate newsgroup for your question, and I would recommend you start by looking at http://www.msdn.microsoft.com.

Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 2
(3,671 Views)