LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak Detector

I want to get the peaks of my signal continuously on the crio target,so I call peak detector.vi, but if I use  the "initialize" and "end of data" to control the start and end of the signal, the crio will crash immediately. if I set the "initialize" and "end of data" to the default value to true, the crio works normally.

0 Kudos
Message 1 of 2
(2,398 Views)

What do you mean by crash? Will not compile (FPGA)? Crashes as soon as you set one of those inputs to False? Crashes when ran (Scan mode)?

 

I don't have a cRIO it test this, but my first thought is that the FPGA can't handle the unknown size of data when End is set to False.

 

To troubleshoot: Try Scan Mode if you're using FPGA mode. Try running on on the development computer rather than the target (to see if it's your code). Also try using Peak Detector PtByPt.vi.

Richard






0 Kudos
Message 2 of 2
(2,380 Views)