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