Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB and Serial Control in C#

Hi Friends
I am new to VS.Net and I want to used gpib and serial connection for my test program so if
you have any example of gpib or serial control implemented  please forward it to me. I want to implement the control in class and not on form
so I dont know if I have to include dll file or not. so also please help me with that.
 
Thanking you
Ketan
 
 
0 Kudos
Message 1 of 2
(3,368 Views)
Hi Ketan!
Unfortunately, there are not too many examples available for VS.Net that we provide.  If you have Measurement Studio, we provide some examples with that software.  If you do have Measurement Studio, these can be found in the Examples directory within the Measurement Studio folder in Program Files>>National Instruments.   We do have a large number of examples for GPIB and Serial communication in LabVIEW, so if this is a new setup and LabVIEW is an option, you may get started more easily with LabVIEW.  If you go to www.ni.com and search for "gpib C example" and "serial C example", there are quite a few links that may be able to help you get started programming the communcation in VS.net.  Also, if you want to have access to the class regardless of the form, you will need to call the .dll file.  I hope this gets you started in the right direction, but let me know if you have any additional questions!  Have a great day!
 
Chris R.
Applications Engineer
National Instruments
Chris R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,339 Views)