LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

AO & 8AI - sinchronization precisely

Hello,
I have 1 AO (sine wave) and 8 AI (sin waves) (PCI 6052E). They are launched at the same time. The frequency of AO - 5kHz. Ther frequency of AI - around 5kHz. Problem - I need to set AO - very precisely at 5kHz, and I need to read data very preciasely. It is very important not to have any delays in reading and sending. I need to know the phase shift between AO and each AI.
 
If somebody can give me any ideas about it? I tried to look at timing and triggering, but either they can not be used  for it, or I used them wrongly.
 
Thank you in advance,
Anna
0 Kudos
Message 1 of 4
(2,965 Views)
Do you have DAQmx installed?

I've done some analog input triggering, and some digital triggering and it worked great with my M-series card, but only after using DAQmx.  Traditional DAQ (even using VIs supplied kindly from NI) had problems.

I don't know about synchronising different types of measurements at the same time (AI and AO together) but at least the rate and moment of each individual sample should be synchroniseable using a hardware-triggered AI and AO.  Getting the first input / output to synchronise properly might be more tricky......

LabVIEW version? NI-DAQ version?

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 4
(2,955 Views)

LabVIEW 8.0, MAX - 4.1 (is MAX=NI DAQ?)

Anna

 

 

0 Kudos
Message 3 of 4
(2,949 Views)
It's always a good idea to look at the shipping examples. In this case Multi-Function-Synch AI-AO.vi is the relevant one. This is example works with the 6052E.

HOWEVER this is a single- analog input example that needs to be modified for multiple inputs. And since this board has only a single A/D, you cannot do simultaneous sampling.  At 5 kHz this may not matter so much and you may be satisfied with predicable delays between channels.
0 Kudos
Message 4 of 4
(2,944 Views)