We just used Python from the usual development environment on a laptop. See Python code provided and see how we accessed the SDP3303X.
Best,
Simple enough to this non-coder.
From your Python code:
#Default USB Port for SDP3303X, this has no RS232 port
SPD3303X = "USB0::0xF4EC::0x1430::SPD3XIDC5R0609::INSTR"
serial1.open(SPD3303X)#Open USB SDP3303X
#Reset
serial1.send_msg('*RST')
#Identify Power Supply
serial1.send_query_msg('*IDN?', Timeout_default)
msgBuf= serial.msg_buf
print (msgBuf)
print()
#Set PS OFF
serial1.send_msg('OUTP CH1,OFF')
serial1.send_msg('OUTP CH2,OFF')
serial1.send_msg('OUTP CH3,OFF')
#Set PS Default Voltage to Zero
serial1.send_msg('CH1:VOLT 0')
time.sleep (1)
#Set Default Current Limit for 10W with 10 Ohm Resistor (1 Amp)
serial1.send_msg('CH1:CURR 1')
t1d will set his PSU output to max desired values and maybe use code to turn output ON then have it monitor the PSU until his OFF current is reached.
So how would we express ?
If current is less than 200mA = ('OUTP CH1,OFF')
Simple enough for t1d to test any code by using lesser values and a pot to reduce the load below the Ch OFF trigger point.