VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

Insufficient system resources error with LAN instrument

I am using IVI to open, query, and close a session with a LAN signal generator and Test Stand 3.1. It works successfully twice, but the third time it comes back with an error message - Insufficient system resources to perform necessary memory allocation. I am closing the instrument. Do I need to perform a flush of some sorts to reclaim resources? Any ideas?
0 Kudos
Message 1 of 3
(7,688 Views)
Hi Jeff,

This error usually occurs when VISA can not find the resource you've specified. Does this error ALWAYS occur during the third run, or does it happen after you send a particular command? Try sending the same sequence of commands from Measurement and Automation Explorer (MAX), and see if you still get the error? Also, try swapping out the commands to see if the error follows a particular command.

Thanks

Ebele O.
National Instruments
0 Kudos
Message 2 of 3
(7,673 Views)

It turns out that there were problems with the registry of the PC. I ran Windows Registry Repair Pro 3.0 which removed old instances of the "C:\Program Files\IVI\Bin\Primary Interop Assemblies" related to Agilent and it now runs correctly many times in a row.

Further notes: I uninstalled all Agilent related programs and IVI related items and searched the registry. Within the registry there were many instances of the Agilent primary interop assemblies. This could not be, since I had uninstalled all Agilent programs and all IVI related programs. I then ran the registry cleaner which had over 1000 problems. I repaired the registry using the registry cleaner, then reinstalled the IVI compliance package, the AgilentRfSigGen driver, and Agilent IO 14.0. I ran the same sequence file used before within TestStand and now it runs consistently many times in a row.

Thanks for the feedback.

Jeff

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