LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error code: 2 Possible reason(s): LabVIEW: (Hex 0x2) Memory is full. No Listeners on the GP

I am using Windows 10 PC (x64 based) with LabVIEW version 2023 Q1 (64-bit). I am using LabVIEW to control a oscilloscope from Siglent Technologies (Model: SDS1104X-U). I found the drivers for the oscilloscope in the NI Instrument driver finder. This installed driver with name (Siglent SDS 1000 2000 Series). I want to fetch the waveform from the oscillscope and for that I used the Fetch Waveform.VI (that is already given by the installed driver from NI). It is a low level VI and when I am trying to fetch the waveform, I am getting the following error:

 

Error 2 occurred at an unidentified location

Possible reason(s):

LabVIEW: (Hex 0x2) Memory is full.
=========================
No Listeners on the GPIB.

 

I did some test with other low level such as (read.VI, write.VI) to send basic queries and I was able to retreive the information. But, the above Fetch Waveform.VI does not work. Can you suggest me how to resolve this issue? I can also send screenshots to have more clarity. Looking forward to your help!

 

 

0 Kudos
Message 1 of 13
(1,829 Views)

Hi abani,

 

can you debug your VI and its subVIs to determine the exact location of the error?

Your error message only mentions an "unidentified location"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 13
(1,822 Views)

@abani_nayak wrote:

I am using Windows 10 PC (x64 based) with LabVIEW version 2023 Q1 (64-bit). I am using LabVIEW to control a oscilloscope from Siglent Technologies (Model: SDS1104X-U). I found the drivers for the oscilloscope in the NI Instrument driver finder. This installed driver with name (Siglent SDS 1000 2000 Series). I want to fetch the waveform from the oscillscope and for that I used the Fetch Waveform.VI (that is already given by the installed driver from NI). It is a low level VI and when I am trying to fetch the waveform, I am getting the following error:

 

Error 2 occurred at an unidentified location

Possible reason(s):

LabVIEW: (Hex 0x2) Memory is full.
=========================
No Listeners on the GPIB.

 

I did some test with other low level such as (read.VI, write.VI) to send basic queries and I was able to retreive the information. But, the above Fetch Waveform.VI does not work. Can you suggest me how to resolve this issue? I can also send screenshots to have more clarity. Looking forward to your help!

 

 


If you are trying to download a huge data set, LabVIEW can run out memory.  If you can download the trace in chunks, that would probably help.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 13
(1,801 Views)

I tried debugging my VIs. But, I am not able to figure out where is the actual problem. Inside the Fetch waveform.VI, there exists three different sub VIs. I checked each of them to see the error flow. There is a sub VI by name: Get Waveform.VI which is producing this error. I am attaching the pics and a video to show the data flow. The video can be found in the following cloud link:

 

https://cloud.uni-jena.de/s/PoZ7fTARr7B54eb

 

 

pic1.PNGpuc2.PNG

 

 

 

0 Kudos
Message 4 of 13
(1,747 Views)

I have set the memory depth of the oscilloscope to be at lowest setting, which is 14000 samples in one display screen. 

Memory depth = (Samples/sec) x (No of Hoizontal divisons (in sec))

There are 14 Horizontal divisions in my oscilloscope. I used two settings at sampling of 500 samples/sec and at 5000 samples/sec. But, at both the settings, I am getting the same error.

 

In my above replies, I have attached the image and video link, where the error is happening. Please have a look!  

0 Kudos
Message 5 of 13
(1,743 Views)