Good day to all,
I am currently working on a simple project to communicate with my e3633a power supply using a vb program. My problem is i can't read from the device. When i send command lines to set voltages and/or current values, it is working properly but when i send status and measurement commands like *idn? or meas:volt:dc? etc., it doesn't respond... but after i send another command, the error 410 (Query INTERRUPTED) beeps out from the power supply. I already used this program with other power supplies and it worked flawlessly. I also used hyper terminal to communicate with the said e3633a but the same problem still occurs. What could be the problem i am facing. Thanks.
Edited by: Ditch08 on Oct 28, 2013 6:22 PM
I am currently working on a simple project to communicate with my e3633a power supply using a vb program. My problem is i can't read from the device. When i send command lines to set voltages and/or current values, it is working properly but when i send status and measurement commands like *idn? or meas:volt:dc? etc., it doesn't respond... but after i send another command, the error 410 (Query INTERRUPTED) beeps out from the power supply. I already used this program with other power supplies and it worked flawlessly. I also used hyper terminal to communicate with the said e3633a but the same problem still occurs. What could be the problem i am facing. Thanks.
Edited by: Ditch08 on Oct 28, 2013 6:22 PM
I tested my E3633A with vb.net 2010 and visa command (attached module visa32.bas) under Windows 7 with IOlibrairies16.3.
I used this simple code to test:
Public Function readVoltage_E3633A() As String
Dim rdgs As System.Text.StringBuilder = New System.Text.StringBuilder(16)
Dim SCPIcmd As String
Dim Voltage As String
SCPIcmd = "MEAS:VOLT:DC?" & vbLf
errorStatus = visa32.viPrintf(viPowerSupply, SCPIcmd)
errorStatus = visa32.viScanf(viPowerSupply, "%t", rdgs)
Voltage = rdgs.ToString
Return Voltage
End Function