LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200361 occured at only one NI USB-6218 card

Hi, All:

 

we have a LabVIEW application installed at several devices equipped with NI USB-6218 card. only one device is having problem of "On board memory overflow" ( Error -200361 ) frequently. All devices suppose run 24/7, but that problem device will pop up Error -200361 in less than 24 hr. Is this Error caused by the hardware issue of USB-6218 card? How can I check the on board memory of USB-6218 card?

 

Thanks

 

dwt 

0 Kudos
Message 1 of 4
(2,386 Views)

This error occurs when you are taking samples a a faster rate than you are reading them.  Often this is because the developer used some thes than optimal code practices.  Attach the problem code and we can point out opportunities to improve it.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 4
(2,383 Views)

Hi, Jeff:

 

thank for you reponse.

 

the attached is the LabVIEW code we are having problem. Because the original code include some data analysis and hardware control functions, those functions are removed at the attached code.

 

the 'AvailSampPerChan' is about 1500.

 

dwt

0 Kudos
Message 3 of 4
(2,365 Views)

The only two things I would suggest are to change the timed loop mode to Discard- Ignore original phase to catch up a quick as possible when a loop finishes late. 32 channels can fill memory fairly quickly (1.365 seconds to be exact)

 

With Discard and Maintain original phase you push up to 3000 samples in the buffer and leave 1000 of them in the device take anothe 1500 pull 2000 (Leaving 500)  if you finish late often enough you are garunteed to fail.

 

Not as to why you might finish late, what are you doing in the absent code with that 2000x32 2D array of DBLs?  Hopefully you optomized those operations and read all about Large Data sets


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(2,357 Views)