Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Hwo to run test program composed with GPIB commands directly?

When we write test program, we usually use the function libraries which are provided by instrument vendors. But sometimes, we need to use GPIB commands directly. For example, if the instrument vendor doesn't provide library for some GPIB commands, or if I get such a program from somewhere else.

The question is that I don't know how to edit, compile and run such programs. The attached is such a program, and please tell me how to run such a program if you knows.

Thank you very much.
0 Kudos
Message 1 of 2
(3,267 Views)
The file that you attached looks like an HP-BASIC or Rocky Mountain Basic program. If you're trying to take an existing program like that and compile it in Visual Studio, that is not going to work. If you're trying to figure out how to write an equivalent program in Visual Studio, our example programs for Measurement Studio would be a great place to start. For the C++ API, you can look at the example program in C:\Program Files\MeasurementStudioVS2003\VCNET\Examples\4882, or . The exact location of Measurement Studio might be different on your system depending on where it's installed, or you might have an older version of Measurement Studio, like 7.0. Note that we also have support for GPIB in .NET languages like VB and C#. You can find examples in C:\Program Files\MeasurementStudioVS2003\DotNET\Examples\GPIB for both languages.
0 Kudos
Message 2 of 2
(3,262 Views)