LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3 Simultaneous Frequency responses using PCI-4552

I need to obtain 3 simultaneous frequency responses (Magnitude and Phase) using a PCI-4552 board. Ch 1 is the reference for the 3 FR's. I succeded in obtaining independent FR's, but I cannot configure the vi with the 3 FR's together. I attach my best try, please take a look at it.
0 Kudos
Message 1 of 2
(2,611 Views)
I took a look at your VI. It looks like you have two issues.

First, you are using a single stop button's input to stop several loops. The problem is that the output of the button will not allow the consecutive while loops to execute until the first one has finished (they are waiting for the prior loop to finish to get the final value of the button). If you want to read the value of a single button simultaneously in several while loops, you need to use local/global variables.

You should have an example:
Stopping Parallel While Loops with Reset.vi
... included with LabVIEW which will demonstrate how to properly do this.

Your second issue is that the base analyzer can only do two simultaneous channels. If you really need to do more, you'll need to grab al
l the channel's raw data using the DAQ API instead of the DSA API, and feed the individual captures into the "Frequency Response Function (Mag-Phase)" vi. This should give you the same results, but you'll be using the host computer to do the analysis instead of the board.
0 Kudos
Message 2 of 2
(2,611 Views)