LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data acquisition and frequency generation togather with PCI-6251 and LV8.2

Hi friends,
 
I am a new user of Labview. I am using LB8.2 with PCI-6251 Smiley Happy .
I have to generate frequency and then measure the data and then for next frequency and so on.
i know that for this i have to use looping and that is not a problemSmiley Wink. The real problem for measurement is to identify whether the frequency is been generatedSmiley Sad. if yes then measurements starts otherwise it should wait until it started. then after finishing the measurements send a signal to generator for changing the frequency and amplitude.
 
Now these two things {generation and measurement} togather are not working correctly for meSmiley Happy. so i make 2 diff file, one for generation and other for measurements <by modifying the examplesSmiley Wink>. I can run both file togather and it worksRobot surprised. But it need lots off effort and timeRobot Sad. I have to measure from 10Hz to 1000Hz in 2Hz frequency step and i cannt leave in between :mansad:.
 
can anyone help me how to syncronize these two togather :mansurprised:.
 

Trying to attatch. both the files here ..
main_v1.1.vi --> for Measuring
Oscilloscope.vi --> for waveform generation
 
Download All
0 Kudos
Message 1 of 4
(2,313 Views)

what you need to do is achieve multi function synchronization,

In labVIEW

Find Examples>> Hardware input and output>> DAQmx>>Synchronization>>Multifunction>> find Multi-Function-Synch AI-AO.vi

this would be the best example to start with

0 Kudos
Message 2 of 4
(2,302 Views)
can you suggest some alternative for the current example.

I have only  GBIP, Instrument Drives, Serial, Sound, VISA

 in path Find Examples>>Hardware input and output>>

thnkyou for reply
0 Kudos
Message 3 of 4
(2,294 Views)

Hay thnx dude..

I found the example and now it works 🙂

once again thanks a lot Smiley Happy

 

 

0 Kudos
Message 4 of 4
(2,281 Views)