Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory Usage on cRio9002

I have the following problem on cRio controller:
I try to develope an application where i can take serveral measurements in serial with up to 64000 Samples. In my first tries I need a lot of memory, much more than I expected just for holding the data. I know that LabView allways generates copies off data. So I tried to develope an architecture which avoids LabView making copies. But this is not very comfortable.
Now I tried to make a C++ DLL which should handle my data.
In the beginning the Controller worked with this dll, but when i integrated a memcpy into my sourcecode the controller aborted, and didn't start up again.
Is it possible that i destroyed the operating system with a memcpy? And how can i bring the system again into a running state. Do I have to download the firmware.
I couldn't find anything on the NI support sides.
So can anybody help me.
0 Kudos
Message 1 of 4
(3,456 Views)
I couldn't imagine how a memcpy operation should have destroyed the OS on the controller as memcpy only affects RAM but not the FLASH memory. So I would expect the controller to startup correctly even if you crash the OS but obviously this is not the case...
Could you please provide some more information about the state of the controller?
  1. Can you see it in MAX? If so please format the FLASH drive and reinstall all necessary software on the device.
  2. If you can't see it in MAX can you still ping the IP-address of the controller?
  3. Do you see any blinking LEDs?
  4. Have you tried the reset IP switch?
  5. Have you tried the Safe mode switch?
  6. What do you see when you use the console out option (boot information is sent to the serial output and can be read with e. g. HyperTerminal)
Best regards,

Jochen Klier
National Instruments Germany
0 Kudos
Message 2 of 4
(3,444 Views)

Hello Jochen,

thank you for your reply. Its nice that you confirm my understanding of the responsibility of the operating system.

There are two answers to your questions.

YES   we have tried to reset the IP switch, we have tried to switch to safe mode,

NO  we can't see the controller in MAX, we cannot ping the IP-address, we don't see anything on the serial output,

there is no blinking LED, just the Power LED is on.

In the meanwhile I contacted NI, and we sent the controller to repair.  So I am really interested in their diagnostic.

Best regards

Siegfried Brittner

 

Message Edited by Brittner on 08-29-2005 04:27 AM

0 Kudos
Message 3 of 4
(3,441 Views)

Message Edited by Brittner on 08-29-2005 04:20 AM

0 Kudos
Message 4 of 4
(3,440 Views)