Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

QT and VS2019 library with nivisa library

Hi :

Our framework using QT 5.9.6 and calling dynamic library build by VS2019. In our dynamic library, we use visa64.dll provided by nivisa to communcate with instrument.

In this QT-> VS2019 DLL ->  visa64.dll flow, I face viopen failed, error code is :

State:(BFFF0011), Description: Insufficient location information or the device or resource is not present in the system

 

But while I build a test program with VS2019 framework -> VS2019 DLL ->  visa64.dll flow. I could communcate with instrument successfully.

I cant figure out what make this difference, it's also weird that I could run QT flow with R&S visa envirment.

Could anyone give me some clue about this situation? Stuck in this issue for months.

0 Kudos
Message 1 of 1
(154 Views)