Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple C++ program to take resistance measurements

Does anyone know where there is a example program that I can use to take a number of 4 terminal resistance measurements? I am using a keithley 2001 multimeter and a NI-488.2 GPIB.

I have found an example which I can modify here:

http://www.keithley.co.uk/servlet/Data?id=3647

But being a progamming novice (and knowing absolotly sod all about basic) I could not make it compile. Every thing seemed to cause an error.

Any help would be much appreciated.
0 Kudos
Message 1 of 2
(2,611 Views)
Hi,

The link provided seems to point to a .BAS file. Those are typically used in VB and not in C++. There should be some examples of GPIB operations in VC++ in the NI-488 directory. Look there for some communication examples. To write and read to the instrument, simply look for the commands necessary in the user manual, or take a look at the drivers at www.ni.com/idnet for the syntax of your device. We have two drivers already made, one for LabVIEW and one for CVI. These may give you some assistance.

Hope this helps out!

Best Regards,
Aaron K.
Application Engineer
National Instruents
0 Kudos
Message 2 of 2
(2,611 Views)