09-16-2016 09:28 AM
Hello,
I inherited some code to control a Sorensen Power supply DLM40-15 using the IVI interface. I noticed that certain IVI functions can take several hundred milliseconds to execute.
I put timing debug statements in the code and also used NI Trace tool in MAX to confirm the timing.
Some of the functions that seems to execute slow are (to name a few)
IviDCPwr_ConfigureOVP (~400msec)
IviDCPwr_ConfigureCurrentLimit (~200 msec)
IviDCpwr_ConfigureOutputEnabled (~500 msec)
What causes the latency in some of these functions? Is it the IVI layer or the instrument driver?
I’m new at this IVI approach & any ideas are much appreciated. Thank you for your time.
Janete
09-18-2016 11:12 AM
Not because I have witnessed that before, but just as a hunch: does enabling/disabling IVI state cache change that timing?
Which communication channel are you using?