LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ptbypt-VIs

if i call "Amplitude and phase spectrum ptbypt.vi" twice in a vi, with different signals, Labview runs it as if the signals ar identical. Why?
I've got two synchronized sensors, so these tools are placed in the same acquisition's loop, but I need two different spectra. Labview takes account of the sum of both sensors and does one analyse, instead of doing in the same time two different analyses.
0 Kudos
Message 1 of 2
(2,826 Views)
It sounds like the VIs are using uninitialized shift registers and are not reentrant. There is one sub-VI in "Amplitude and Phase Spectrum PtByPt.vi" that makes use of an uninitialized shift register. It is called "Single Side Real FFT PtByPt.vi". By default it should be set to reentrant so that each call gets separate memory space, but if for some reason this VI is not set to reentrant on your machine, that would cause exactly the behavior you are describing. Going into the Execution section of the VI Properties should allow you to view and change this if necessary.
0 Kudos
Message 2 of 2
(2,826 Views)