LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program termination when cRIO reads analog input.

Hello.

I'm using cRIO 9012 and 9205 AI module.

In my project, the host reads 6 channel AI with 20kHz per channel with 3 FIFO DMA. 

If the measurement was done within about half sec., there's no problem.

But when Im trying to do more longer measurement, the program is terminated.

I think it is problem related to the size of variable( of array for measurement). But I cannot sure.

 

 

 

Following diagram is a subVI of acquisition what I'm using now.

 

Could you gimme any comment for me?

 

 

 

 

2.jpg

0 Kudos
Message 1 of 4
(3,287 Views)

Hey,

 

What do you mean by "the programm is terminated"? does the host VI stuck?

You can check the Elements Remaining of the FIFOs and also the Iteration Terminal of the Host While Loop.

Also use the RT-System Manager to see whats going on with the cRIOs CPU Load and Memory.

 

 

Christian

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

Hi, Christian_M.

 

Yes, I mean, the host VI stuck.

 

I solved this problem. I deployed host VI to cRIO, so host VI was running on FPGA.

I moved it into 'my computer', then it worked properly.

How stupid I am............. 

 

 

 

Anyway, thanks. Christian_M. !!

0 Kudos
Message 3 of 4
(3,241 Views)
Smiley Wink you're welcome!
0 Kudos
Message 4 of 4
(3,228 Views)