LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

initialization of HMP 2020 in Labview

Solved!
Go to solution

Hello,

i have a question about the initialization of an HMP 2020 with Labview. I downloaded and installed the driver and the VI elements from the website (HMP 4000 family) but i can niot communicate with the HMP 2020 with labview. My Vi atm is only to initialize the HMP but it dont work.

 

Are they any other driver and i have the wrong drivers?

 

thx for help

0 Kudos
Message 1 of 7
(3,597 Views)

Hi Chris,

 


@Chris202002 wrote:

I downloaded and installed the driver and the VI elements from the website (HMP 4000 family) but i can niot communicate with the HMP 2020 with labview.


R&S uses one driver for the whole HPM2000&4000 family. You find the same drivers at ni.com/idnet …

So I guess you installed the correct driver. Did you follow the description from R&S when installing?

 


@Chris202002 wrote:

My Vi atm is only to initialize the HMP but it dont work.


So the VI is able to communicate with your device when it initalizes the HMP!?

What kind of problem is "it dont work"? There is no such error message from LabVIEW (and probably not from your HMP)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,590 Views)

The error Message is:

VISA Open in hmp4000_rsidr_core.lvlib:initialize_driver_session.vi->hmp4000 Initialize with Options.vi->hmp4000 Initialize.vi->Spannungsquelle testen.vi

 

and the Error Code is:

-1073807246

 

So the VI is able to communicate with your device when it initalizes the HMP!?

No i dont think so. The Device is shown in the System Manager from their i have the com port but iam not sure labview can communicate with the device

0 Kudos
Message 3 of 7
(3,574 Views)
Solution
Accepted by topic author Chris202002

Hi Chris,

 


@Chris202002 wrote:

and the Error Code is: -1073807246


The error description is "resource is valid, but not accessible by VISA" (translated from German).

 

So do you try to access the COM port with another tool in parallel?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 7
(3,557 Views)

Now i tried a communication with the test panel from NI Max and i get the correct answer for the identifikation command.

 

Iam realy sure theire is no other Program or device wich communicate with the HMP 2020.

0 Kudos
Message 5 of 7
(3,552 Views)
Solution
Accepted by topic author Chris202002

Ok now i have found a "possible" solution

 After testing with the testpanel the device switched to remote mode and i can use the initialisation from the Labview programm without an error

 

In my mind i have to use the Initialize Vi with otion string to set the device into the remote mode. Now iam looking for the remote string to send.

But first of all thx for the help

 

Are you familiar with Rohde & Schwarz devices? Becaue I know i have more questions in the next time

 

Sincerely yours

Mit freundlichen Grüßen

Chris

0 Kudos
Message 6 of 7
(3,543 Views)

Hi Chris,

- you have an old Firmware on the instrument. Make sure you install the newest firmware 2.62

- make sure you close all the other connections to the instrument, the HMP can only handle one VISA session at a time. Close the VISA test panel when working with LabVIEW driver. Make sure you call HMP4000 Close.vi after your program is finished.

 

BR

Milo

0 Kudos
Message 7 of 7
(3,520 Views)