12-01-2022 10:03 AM
I wanted to simulate (i.e., not using the physical hardware) the device of NI PXIe-5840 Vector Signal Transceiver (VST). I executed the following command in MATLAB:
NET.addAssembly('NationalInstruments.RFmx.InstrMX.Fx40');
import NationalInstruments.RFmx.InstrMX.*;
InstrMXHandle = RFmxInstrMX(‘VST_01’, ‘Simulate=1,DriverSetup=Model:5840'); % This is where the error occurred
I got the following error message:
Error using NIRFmxDriver
Message: NationalInstruments.RFmx.InstrMX: -380205: An interaction with LabVIEW has caused the following error:
Error code: -380205
identifier: 'MATLAB:NET:CLRException:CreateObject'
Source: NationalInstruments.RFmx.InstrMX.Fx40
Below is the software I have already installed:
I was wondering if I missed installing some required software, or the way I used the API was incorrect.
Any help would be much appreciated. Please feel free to let me know if you need more information. Thank you for your time and effort.