05-15-2025 10:53 PM
PXIe-1085 Chassis
PXIe-8880 Embedded PC (Windows 10 Enterprise 64-bit; Factory Image 18.0.0f0)
PXIe-S5090 CMTNA VNA Card
LabVIEW 2017 (Version 17.0f2; 32-bit)
NI-MAX Version 17.5.0f0
Problem: Getting a “Timeout” error described as “VISA: Timeout expired before operation completed” when running the VI in PXIe-S5090 Simulation Mode (Simulate=true)
I developed a main VI model using the CMTNA DLL LabVIEW library to do a VSWR sweep on the S5090 card’s S11 and S22 loop back. I developed this model on my Laptop (Windows 10 Enterprise 64-bit) using LabVIEW 2017 and NI-MAX 20.0 and used the CMTNA LabVEW library support models.
My laptop is not connected or hooked up to the PXIe-1085 Chassis with the S5090 card in it. So I am running my main model using the “Init With Options.vi” with the “Simulate=true” string passed into it (Simulate Mode).
I am using the following CMTNA models to accomplish the VSWR in this order AFTER I have used “Init With Options.vi” and then followed by the “Recall From File.vi” to load our calibration file. I’m using them is this order:
Note: This is just for doing S11 feedback
I want to stop here because at the “Measurement Fetch Formatted.vi” is where I’m getting some trouble.
So when I run this on my laptop, everything works great and I get no errors coming out of all the VI’s.
So I then zip up all the VI’s and transfer them onto our PXIe-8880 Embedded PC (PXIe-S5090 Drivers Installed on it) that is with the PXIe-1085 chassis and has the S5090 card inserted into slot 7 (checked the NI-MAX and confirmed that it does see the card in Slot 7). When I run the main VI, I get the following error out of “Measurement Fetch Formatted.vi”
Error Code: -1073807339
Source: CmtNA.lvlib:Error Converter.vi: 1800001
VISA: Timeout expired before operation completed
It has no problems with Set Trigger Source, Trigger Single and Wait, Measure Fetch X, or Measurement Set Format. It's just the "Measurement Fetch Formatted.vi" that gives me this problem.
I’m running this model on the PXIe-8880 PC in simulated more and according to NI’s webpage on this particular VISA error it states the VI is trying to communicate with hardware request and is not getting a reply back (hence the “Timeout”).
So, I then completely removed the S5090 card from the chassis (verified through NI-MAX that the card is not there anymore), and I still get the same Timeout error out of the same VI. (???)
My Question: So why am I getting this “Timeout” error running simulation mode on the PXI Embedded PC/Chassis/Card BUT I don’t get the “Timeout” error on my laptop? I thought that by running the S5090 card in simulation mode it shouldn’t be doing any type of hardware interface with the card or the chassis (or anything in that matter).
I’m guessing maybe the Chassis and Embedded PC configuration needs some type of change through NI-MAX?
Any help would be GREATLY appreciated!!!
I have attached two ZIP files (The simple models I developed, and supporting pics):
---VI Models And Calibration File---
VNA Calibration VSWR.sta (This is the calibration file (*.sta) for S11 and S22 that is loaded when using the calibration VI)
VNA InitWO_Cal_GetAllVSWR_Close_S5090_KR.vi (This is the Main VI which uses all the supporting VI's initWO, Calibration, Get All VSWR, and close)
VNA initWO_S5090_KR.vi (This initializes the card in simulation mode to produce an open Session)
VNA Calibration_S5090_KR.vi (This loads in the calibration file for S11 and S22)
VNA Get All VSWR_S5090_KR.vi (This performs a VSWR sweep and extracts the results for S11 and S22)
VNA close_S5090_KR.vi (This closes the open Session)
---Pics.zip---
PXI_8880_Embedded_PC.jpg (Information of the PXIe-8880 Embedded PC)
NI_Max.jpg (Information of the NI-MAX 2017 installed on the PXIe-8880 w/ the PXI-1085 Chassis)
LabVIEW_2017.jpg (Informaton of the LabVIEW 2017 used to develop and run the VI models
VSWR_VI_Error.jpg (Screen shot of the "Timeout" error coming out of the “Measurement Fetch Formatted.vi” of the VNA Get All VSWR_S5090_KR.vi model)
05-29-2025 10:53 AM
Did I get too specific in what I explained that has caused some confusion? Or is there no answer to this?