Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to resolve memory allocation problem?

Error message!!!

Error -1073807300 occurred at old visa open in FGen_Oper.vi

Possible reasons:
VISA: (HEX 0xBFFF003C) Insufficent system resources to perform necessary memory allocation.

While using a signal generator to increment the frequency by a 1kHz step, half way through, (10th step)
I get the above error.

I have already set the virtual memory on my P.C. to maximum.

Does anybody have any ideas on how to solve this problem?
0 Kudos
Message 1 of 2
(3,343 Views)
Do you have your VISA Open inside the loop where you're doing the freq step? You shouldn't. Your entire program should execute a single VISA Open at the very beginning and a single VISA Close at the end for each instrument. You should also replace old VISA Open with the VISA Open that's on the VISA palette. You've probably got the "old" one from conversion of an older VI to a newer version of LabVIEW and VISA.
Message 2 of 2
(3,343 Views)