AnsweredAssumed Answered

How to realize the function of this HPVee program by C++?

Question asked by dragonfish on Apr 4, 2008
Latest reply on Jan 9, 2014 by vasanth
I am using Agilent 82357B-USB2GPIB to control my instrument, I have one question.

I have HPVee program, it works well. But I also want to use C++ to control them, because C++ is more flexible. How to realize the function of this HPVee program by C++?


for example:

HPVee: SEND DATA "R 152" is equal to

C++:    viPrintf (vi, "R 152\r\n");

but I don't know how to do this:
......
SEND DATA 0x07
SEND DATA 0xff
......

which function in visa.h should I use?  

Outcomes