PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI- 8186 is giving "Fatal runtime error: Out of memory" as i download my application & start running it.

HI
I'm using PXI-8186 with 2-DIO cards & one 16-ch serial port card. My problem is whenever i run my application on the PXI the "Fatal runtime error:Out of memory" appears on the monitor that is connected to the PXI directly. The frequency of error appearing on the screen always keep on increasing after it appears once.
Do i have the hardware problem OR there is the problem with configuration of PXI OR Is there any bug in my application.
Please Suggest
Thanks
Love Diwan
There is always a better way to do things.................. "Just Find It"
0 Kudos
Message 1 of 11
(6,475 Views)
Hi Love,

In order to better assist you, I need to learn more about your application:

1) What operating system are you running
2) What model numbers are you using for the DIO cards, and what is the model number of the serial port card
3) What programming language did you write your application in (and which version)?

Please respons ASAP so I can further troubleshoot this particular problem

Best Regards,

Evan R.
Applications Engineer
National Instruments
http://www.ni.com/support
Message 2 of 11
(6,465 Views)
Hi Evan
Well good hear from you
the DIO cards I'm using are NI-PXI 6508
the Serial port card is NI-PXI 8420
the OS in my host PC is Windows Xp
the programming language I'm using is LabVIEW 7.1 & LabVIEW RT 7.1

Well Evan can it be the problem of memory management for the application written for PXI.......
If it is the problem then I hope found that & working on that.
Also at last but not the least
Thanks for assistance
Love Diwan
There is always a better way to do things.................. "Just Find It"
0 Kudos
Message 3 of 11
(6,459 Views)
Hi Evan
Well good hear from you
the DIO cards I'm using are NI-PXI 6508
the Serial port card is NI-PXI 8420
the OS in my host PC is Windows Xp
the programming language I'm using is LabVIEW 7.1 & LabVIEW RT 7.1

Well Evan can it be the problem of memory management for the application written for PXI.......
If it is the problem then I hope found that & working on that.
Also at last but not the least
Thanks for assistance
Love Diwan
There is always a better way to do things.................. "Just Find It"
0 Kudos
Message 4 of 11
(6,456 Views)
Hi Love,

I have an additional question for you: is the controller running LabVIEW RT?

I will get someone from our real time group to look at this thread.

Best Regards,

Evan
0 Kudos
Message 5 of 11
(6,442 Views)
Hi Evan
Yes, Labview RT 7.1 is running on the controller.
well Evan I feel I solved the problem as there is neither problem in the hardware nor in the configuration...
It's only the matter of memory management for RT. As RT controller has different way for managing memory.
thanks for your support

Love Diwan
There is always a better way to do things.................. "Just Find It"
0 Kudos
Message 6 of 11
(6,431 Views)
Hello Love,

Are you doing any kind of file I/O? From the error, you are getting, it looks like it is running out of memory. I am not completely positive on thsis as it is very highly unlikely that the PXI-8186 controller runs out of memory. So assuming it is not a memory issue, are simpler VIs (say random number generation) running without any issue?

But my gut feeling is a complete reinstall of software or even a reformat and reinstall of 8186 controller should take care of things. The above stated procedures are faily easy and takes only about 10 minutes to do it.

Hope the above hints help.

Regards,

Arun V
National Instruments
0 Kudos
Message 7 of 11
(6,429 Views)

Hi Arun

      Well tahnks for assistance but before putting my problem in discussion fourm I made all the possible efforts on the PXI in get rid of the problem but when I feel it a big issue then only i floated my problem on to you guys. And also i hope gone through the problem already as i got the cause for this problem. I'm sending the link which tells how the memory in PXI works.

http://zone.ni.com/devzone/conceptd.nsf/webmain/ADDE63E507AFE8AD86256ACB005DEF2F

I'm sending the VI that was creating the problem as that include many array functions.

Just Check It Out  & Reply me for That

BYE

Love Diwan

 

There is always a better way to do things.................. "Just Find It"
0 Kudos
Message 8 of 11
(6,426 Views)

Hi Love,

I would recommend observing the memory usage in the Real-Time System Manager:

http://digital.ni.com/public.nsf/websearch/8C7B655978C8ADFB86256AAE004AD261?OpenDocument

It would be interesting to see if there is a gradual increase in memory usage, or a sudden jump that causes the error.  As Arun mentioned, a good idea would be to try to download  a simpler example of your application to the RT target, in order to pinpoint which VI is the root of the problem.  I was unable to run the VI you attached, because there are missing controls and sub-VIs.  Although I did open and look at the VI in order to see the array functions, but I didn't notice any red flags that are causing the problem.
 
Please try using the RT System Manager and let me know what you observe, and also if a simplifying the application can either reproduce/or prevent the error. 
 
Regards,
 
Jeff M.
 
Applications Engineering
National Instruments
0 Kudos
Message 9 of 11
(6,410 Views)
Hi guys
I'm back again this time again with the same problem that memory issue.
actually now i knew the reason i know the why its happening as it is a guess ....... In my application there is one vi which contains data that we are using every where in the application. I'm sending the .jpg file along with it that displays the data type which is called at almost 41 places and also the after every five min i'm logging the data & deleting the previous saved file. I'm also initializing the array size at the startup to the maximum the size. but still i'm getting the problem that the memory is increasing slowly whenever i call that vi for read data  operation only. this slowly increase is trobling me as whenever there are some vi's that might call this vi simontainously.
Also i'm using the whole data to be transfered through the tcp/ip.
Please suggest how i should manage this problem.
Love Diwan
 
 

Message Edited by Love on 09-03-2005 04:29 PM

Message Edited by Love on 09-03-2005 04:30 PM

There is always a better way to do things.................. "Just Find It"
0 Kudos
Message 10 of 11
(6,295 Views)