Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Perform a lock in using a generated output counter as reference signal

Hi,


I have a vi (attached file) that is: 
-generating two output counters OC 1 and OC 2 that can be delayed with respect to one another
-acquiring an analog signal AS 1
 
I use a NI USB 6351 
 
I would like to be able to do the following: Use one of the generated signal OC 1 or OC 2 as a reference signal to further perform a lock in amplifier operation, i.e multiply OC 1 with the AS 1 and performed some filtering operation on the results and display it. That means that I have to generate and acquire during a certain number of period N and then performed operation on these N periods. 
 
I have seen several exemple of Lock in on the net but none of them use a Counter output as a reference signal. The use of counter output is important for my application (high timing precision). Could you indicate me some example of vi that would realize what I am interested in? Or could you indicate me how I could do to both generate the OC and use them as some kind of "internal variable" for later on performing some operations on it?
 
Regards,
 
Grégory Bouquet
0 Kudos
Message 1 of 1
(3,101 Views)