I’m using a Keithley 3706 leading via GPIB bus by software written with C++ language.
I’m using the KPCI-488LP/LPA diagnostic tool software to test scripts calling from PC.
I have a script with some functions using parameters.
function order_choice(sensor_number, a, b, c, d)
if ((c == 0) and (d == 0)) then order_1(sensor_number, a, b)
if ((c ~= 0) and (d == 0)) then order_2(sensor_number, a, b, c)
if (d ~= 0) then ordre_3(sensor_number, a, b, c, d)
My functions run correctly when I use this function in the same script file:
function test ()
order_choice (1, 101.1890, 0.3881,0 ,0 )
order_choice (1, 101.4165, 0.3725, (2.18*10^(-4)), 0)
order_choice (1, 101.3647, 0.3787, (1.39*10^(-5)), (1.95*10^(-6)))
My goal is to delete this last function ( test() ) and call directly the function order_choice(v,w,x,y,z) from KPCI-488LP/LPA diagnostic tool software.
Can I call the function order_choice with parameters directly from KPCI-488L diag tool software
thank you for your help