08-02-2018 08:23 AM
Hello experienced Labview users,
I am trying to control my RIGOL DP832 DC power supply in NXG. It is connected with USB. NI offer a driver specifically for NXG which I installed. The system designer does recognize the hardware in NXG but the test example does not seem to work, and returns the following error:
The ID Query failed. This may mean that you selected the wrong instrument or your instrument did not respond. You may also be using a model that is not officially supported by this driver. If you are sure that you have selected the correct instrument and it is responding, try disabling the ID Query.
If I set the ID Query to "False" I manage to run the example VI but cannot control the power supply and receive a timeout error eventually. I downloaded the RIGOL control software "Ultra Power" and can control the power supply through it with no problems. Did someone encounter a similar issue? Is it related to the win10 OS? Any help would be appreciated.
Thank you,
Avshalom
08-03-2018 11:59 AM
Hi !
Did you try to use NI-MAX and VISA interactive control to communicate to your RIGOL DP832 DC power supply?
I think the best way is to communicate first using NI-VISA then try to use NXG.
Some useful links: http://www.ni.com/tutorial/3511/en/
http://www.ni.com/tutorial/4478/en/
08-05-2018 04:38 AM
Thanks for the suggestion, I did try it and was able to send commands to the power supply in NI-VISA. However, I received an error message on the screen of the DP832 that reads "This function is optional, please install a valid license". This hardware worked in Labview 16 with no problems using the driver provided in NI website, so I guess there shouldn't be any problem using it in NXG without paying extra. Did anyone ever encountered such a problem?
08-06-2018 05:43 PM
Hi!
Are you using the following Instrument driver on LabVIEW Rigol?
If you use VISA you get the error: "This function is optional, please install a valid license" on the device?
That driver was tested on LabVIEW, so probably you would need to modify it to run in on NXG and do it manually (VISA open and closed session).
08-16-2018 04:14 AM
Thanks for the reply, I waited some days with the response to allow enough time for my dialog with RIGOL to produce useful information.
As for your comments:
1. I did also try the driver you proposed (DP800 series), but the result was the same.
2. The error does appear on the device screen.
Now, as far as I understand the DPXXX models differ from their corresponding DPXXXa models in their programming options. The programming guide, however, unites all models such that many of the commands will work on DPXXXa models and will not work on DPXXX models. It seems miraculous that this driver worked on Labview 16, and it explains some of the bugs we have had with it. To conclude, the NI-VISA works well and allows communication with the device; the device does not support all commands freely, and RIGOL offer you to buy a license which 'activates' all the VISA commands for you DPXXX model.