01-13-2020 04:30 AM
Hi
I am using Rigol dp832 power supply using USB for communication Purpose.I am facing issue when running exe in Labview Run time engine installed pc.It is working fine if i run in exe in labview installed PC.I am not able to communicate power supply in Run time engine installed PC.
In Run time engine if i run query command it is giving response correctly.After running in NI MAX if i communicate power supply it is working fine.Can you please support in resolving the issue.
Thanks
01-13-2020 09:43 AM
@Ravi1995 wrote:
Hi
I am using Rigol dp832 power supply using USB for communication Purpose.I am facing issue when running exe in Labview Run time engine installed pc.It is working fine if i run in exe in labview installed PC.I am not able to communicate power supply in Run time engine installed PC.
In Run time engine if i run query command it is giving response correctly.After running in NI MAX if i communicate power supply it is working fine.Can you please support in resolving the issue.
Thanks
That is a bit confusing.
If I got it right, the application runs correctly on the development PC, but not on a PC with only the RTE?
Are you sure the USB device has the same address on the other PC? Look in the device manager to make sure. USB devices usually get a serial port, but the port number can change. It can change even on a PC, but it is very likely to be different on another PC.
01-13-2020 10:51 AM - edited 01-13-2020 10:54 AM
Most Rigol USB devices are actually USB TMC devices. As such their standard name contains the vendor ID, product ID, serial number and USB port number. The USB port number is however a dynamically created number that is assigned by Windows when enumerating the USB devices so it will be very likely different on another computer (and even when you plugin the device to a different USB port).
So if you have not made your VISA resource name reconfigurable in a configuration dialog inside your build app, you definitely may end up having a problem.