We are trying to control a 3rd Party Hardware using NI-VISA. The charge has a driver, however in our application we want to deploy a VI in a RT Target (in this case a PXI) and, following a NI suggestion, is better to use NI-VISA (see "IVI Driver for 3rd Party Hardware" in ).
The charge is controlled by Ethernet Connection and we get to established a connection without problems following the tutorial presented in . The problem starts when we try to test commands. When we open NI-VISA Test Panel (in NI MAX) we get to make a query unsing "*IDN?\n" command, but any order command gives "Error: Unknown Command" response.
After this error appears the first time even "*IDN?\n" stops working giving the same response "Error: Unknown Command" when we use query.
The same error happens when we try to control the 3rd party hardware direct using a VI in LabView and the "*IDN?\n" command does not work a single time when executed by this VI. A print of the VI mentioned in this paragraph is anexed.
Could you maybe tell me more about your system so I can try and help you?
Hope to hear from you soon.
Hello, Lígia. Thanks for your reply.
1) The instrument we are trying to control is a NHR 4700 DC Load . It has its own IVI driver, that works correctly when we attempt to control it with the computer. It also has a labview control interface made by the manufacuturer, to be used on a computer, which works correctly too.
2) We are currently using LabVIEW 2015 SP1 on a laptop with Windows 7. We've also tried with LabVIEW 2018 on a laptop with Windows 10 and encountered the same issues.
3) All the tests were performed in a computer directly. We wanted to see if the NI VISA would work, prior to attempting a test with the PXI. We've tried with two different computers.
4) We've also tested the instrument by sending the SCPI commands via a HyperTerminal on a third pc with Windows XP, and it worked. So far, the reported issues have only been found when we were testing the commands in labview or the visa test panel in NI-MAX.
If you have any more questions don't hesitate to ask. Thanks again for you help.