Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

HP662x series multi channel power supply

Hi,

 

I am using the functions hp662x_measureVoltage() and hp662x_measureCurrent() in LabWindows/CVI 8 and would like to know if I may perform any additional processes or functions while they are running. The HP662x series power supplies take about 7ms to process each command and I would just like to know if I may take advantage of that time.

 

Thanks for your help

0 Kudos
Message 1 of 3
(3,278 Views)

It pretty much depends on how you wrote your program. Whatever code is calling those functions has to wait until the functions are complete so that it can get the return value from the function. If you have a parallel thread running that's doing something else, such as monitoring user events, that's perfectly fine. Are you asking if there's something else you can do with the power supplies? That depends entirely on the instrument. Most instruments queue up commands so they won't process another command until they've finished executing the last one they received.

 

If that doesn't answer your question please provide a better description of what you're trying to do.

Message 2 of 3
(3,264 Views)

Hi,

 

This is a GPIB instrument, therefore anything relating to the GPIB will have to wait until these commands have returned.

 

 

Regards
Ray Farmer
Message 3 of 3
(3,246 Views)