06-21-2009 09:11 AM
I used PXI_Clk10 as a reference clock to synchronize between DAQmx(PXIe-6124) and AWG (PXI-5421).
But, I have met to check the reference clock between devices.
1. Does Dev1\PXI_Clk10 or Dev2\PXI_Clk10 means the PXI_Clk10 of 10Mhz reference in PXI backplane?
2. Can I export the Dev1orDev2\PXI_Clk10 signal to compare the PXI_Clk10 in PXI backplane?
3. In DAQmx (AI/AO/Counter), why do I have to set the reference clock in all AI/AO/Counter separately?
Best,
labmaster.
06-22-2009 05:55 AM
06-22-2009 11:00 AM
Hi labmaster,
To answer your questions:
1. The PXI_Clk10 is the 10 MHz backplane clock.
2. The PXI_Clk10 is the same for the devices as long as they are in the same PXI chassis.
3. Could you explain this behavior in a little more detail? Are you trying to run an AI, AO and Counter task at the same time?
Finally, in the LabVIEW Example Finder, there is an example called Fgen DAQmx Synchronization.vi. I believe that this will provide you with an example to do exactly what you want. To open the Example Finder, select Help >> Find Examples in LabVIEW. Once the Example Finder is open, select the Browse tab, the double click Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Synchronization >> Fgen DAQmx Synchronization.vi.
06-22-2009 03:51 PM
Right, I ran the all AI/AO/Counter including AWG at the same time.
I saw the example you mentioned, but I wanted to start my program in terms of AO or AI.
I was recommended to use PXI_Clk10 as a reference clock to sychronize among the devices.
It might be work now.
However, with my oscilloscope, can I check PXI_Clk10 explicitely in both DAQmx and AWG?.
But I can't export the clock in DAQmx.
I have to use PXI_Clk10 in BNC output in backplane of PXI to an external instrument.
labmaster.
06-22-2009 03:52 PM
To my knowledge, NI-TClk is a sync method among AWGs.
labmaster.
06-23-2009 02:40 PM
Hi labmaster,
I think that one way start the synchronize with your DAQ trigger would be to export the DAQ trigger to one of the RTSI lines then use this as your trigger source of your AWG. I have attached a VI that will show you the VI to use. In regards to your second question, the easiest way to watch your clock signal would be to put a BNC T connector on the back of the chassis so you can still run your experiment and watch the clock with your scope.