10-28-2021 02:56 PM
I have been trying to automate my labs power supply (Createc 3504 power supply serial 598). I have isolated the power supply as a sort of experiment to make sure my labVIEW program works correctly where I connect the power supply to just a thermocouple and a resistor in series and both are connected to the createc power supply.
In this experiment, I connect a USB -> RS232 converter into the RS232 port on the back of the power supply in order to get a reading of temperature using labview.
I used VISA interactive control to determine if VISA was working properly. I get the error VISA (Hex 0xBFFF00015) timeout expired and I have followed the troubleshooting to the best of my ability. I did notice that my file pathing is incorrect; labview says my file path should start with
<instrlib>:\Eurotherm 35xx Series/Eurother....etc. but my current path is
C:\ProgramData\National Instruments\etc....
My question is does the incorrect path cause the timeout error? Where is <instrlib>? (I am unable to attach VI due to this path error)
Solved! Go to Solution.
10-28-2021 03:11 PM - edited 10-28-2021 03:12 PM
@Josh_Music wrote:
I have been trying to automate my labs power supply (Createc 3504 power supply serial 598). I have isolated the power supply as a sort of experiment to make sure my labVIEW program works correctly where I connect the power supply to just a thermocouple and a resistor in series and both are connected to the createc power supply.
In this experiment, I connect a USB -> RS232 converter into the RS232 port on the back of the power supply in order to get a reading of temperature using labview.
I used VISA interactive control to determine if VISA was working properly. I get the error VISA (Hex 0xBFFF00015) timeout expired and I have followed the troubleshooting to the best of my ability. I did notice that my file pathing is incorrect; labview says my file path should start with
<instrlib>:\Eurotherm 35xx Series/Eurother....etc. but my current path is
C:\ProgramData\National Instruments\etc....
My question is does the incorrect path cause the timeout error? Where is <instrlib>? (I am unable to attach VI due to this path error)
Do you know if your instrument even responds to this command? Do you know if the serial port parameters are correct? (e.g., baud, parity, etc.)
10-28-2021 03:37 PM
I got this program directly from the list of drivers listed on the PIDs website, so I am quite confident that the program is compatible with my power supply.
I am less confident with the parameters, but when I test them in the "VISA interactive control" package, the only problem I can find is the timeout expired error. Is there another way to test this program? Should I simply triple check the given manual for the power supply?
10-28-2021 03:45 PM
@Josh_Music wrote:
I got this program directly from the list of drivers listed on the PIDs website, so I am quite confident that the program is compatible with my power supply.
I am less confident with the parameters, but when I test them in the "VISA interactive control" package, the only problem I can find is the timeout expired error. Is there another way to test this program? Should I simply triple check the given manual for the power supply?
I'm sorry, my last post I was a bit vague about what I was referring to. I was referring to your interactive VISA communication attempt. Only instruments capable of responding to a SCPI "*IDN?" query will respond to that command. Do you know if your instrument is SCPI-capable? I know that's a very basic question, but since I have no background on how much you know about instrument communication, I figured I should start at the very beginning just in case.
11-02-2021 08:41 AM
My apologies I accidentally accepted your comment as a solution.
This machine uses MODBUS RTU protocol, so I believe it is not capable of responding to SCPI. Thank you for not assuming, as I am new to electronics and programing.