PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Error using MatLab and ModularInstruments.NIRfsa.dll to communicate with NI PXIe-5646R

I am using MatLab with ModularInstruments.NIRfsa.dll driver to communicate with
NI PXIe-5646R. When I initialize RFSA object the system generates Error code
-52000 "Message: ModularInstruments.NIRfsa: The specified number of bytes could
not be allocated". When I reference NIRfsa.dll in C# .NET and initialize RFSA
object everything goes smoothly and no error gets generated. Since my goal is
to operate RFSA from MAtLab I would like to resolve this issue between RFSA and
MatLab.

0 Kudos
Message 1 of 2
(3,315 Views)

Hi Alex,

 

Thanks for posting on the forums! It's encouraging that you have performed troubleshooting on your own and that you have been able to eliminate the error by referencing NIRfsa.dll in C# .NET and everything seems to work as expected. 

 

Regarding the third party software integration with RFSA, I am curious if you have contacted MathWorks? I am unsure how this third party software integrates with .NET, so I recommend that you contact them for more information. 

 

Thanks!

Kevin S
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,297 Views)