LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about IVIDCpwr Class driver - slow to execution functions

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

0 Kudos
Message 1 of 2
(2,842 Views)

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?

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 2
(2,812 Views)