LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Rigol DP832 Error in Exe

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

0 Kudos
Message 1 of 3
(2,540 Views)

@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.

0 Kudos
Message 2 of 3
(2,495 Views)

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.

 

 

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 3
(2,482 Views)