09-07-2008 10:53 PM
I need to set up re-triggerable synchronized AO/AI across two S series cards (PCI-6115). I was told to use counter output as the sample clock for AO/AI, for counter is retriggerable. The problem is that my AO and AI task has different sample rates and numbers. Using two counters on the first 6115 card, I can generate a finite pulse train, which can determine the sample rate and number for, e.g., AO task. I can use the two counters on the other 6115 card to generate another finite pulse train as the sampling clock of the AI task. A digital input will be used to trigger both pulse train generation. My question is how I can synchronize the two pulse trains, so that after being triggered by the digital input, they will have a fixed phase relationship with each other.
(The two 6115 cards are connected with RTSI cable, and MasterTimeBase from the master card is shared to the slave card to ensure synchronization.)
Thanks!
09-08-2008 02:25 PM - edited 09-08-2008 02:25 PM
09-09-2008 01:40 PM
I am seeing phase offset that varies between trials. I use an external trigger to trigger both devices. (I set P0.1 as output and physically wired P0.1 to PFI 4 on both cards.) I attached the vi here. Is the delay caused by the fact that I shared the external trigger? Is there a way to share the same trigger through RTSI?
Thanks.
09-10-2008 01:53 PM
09-22-2008 12:01 PM
Thanks Chris. The example file you referred to is of too early a version for me to open. Would you please provide a version that Labview 8.6 can open?
09-23-2008 10:20 AM