LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

linking input frequency to output frequency (AI -> AO)

HI all,

I would like to generate a waveform (using cont. generation), with the same frequency as the input pulse train (say 100Hz).

Any idea how to go about this one?

Thanks.

 

p.s. attached file is my futile attemp....

0 Kudos
Message 1 of 5
(2,705 Views)

Have a look in the NI Example Finder (Help > Find Examples)

 

Then open the  "Multi-Function-Synch AI-AO.vi" and see how NI does it. (Hardware Input and Output > DAQmx > Synchronization > MultiFunction)

 

What version of LabVIEW do you have? What hardware do you have?

 

I just noticed you're using traditional DAQ not DAQmx. It's a fair bit trickier in traditional DAQ (not to mention much fewer people are still using it compared to DAQmx).

Message Edited by Troy K on 10-06-2008 09:07 AM
Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 5
(2,673 Views)
This article might help you...http://zone.ni.com/devzone/cda/tut/p/id/2997
Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 3 of 5
(2,670 Views)

Troy,

thanks for the reply.

I am using NI BNC 2110 and labVIEW version 7.1. Actually this is the vi created by my coleague a while ago, and now I am trying to make some modifications. I will take a look at the link you posted. thanks again.

-Ernest

0 Kudos
Message 4 of 5
(2,665 Views)

If there aren't heaps of other places where the legacy traditional DAQ calls are made, you might want to consider changing over to DAQmx. It will be easier to develop in and easier to get support.

 

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 5 of 5
(2,663 Views)