06-25-2007 04:36 AM
06-26-2007 03:51 PM
07-05-2007 04:23 AM
07-06-2007 07:23 PM
07-08-2007 08:22 PM
07-09-2007 01:14 PM - edited 07-09-2007 01:14 PM
Hello credo,
If you share an arm start trigger signal between your two computers, then the start of your acquisition will be synchronized between the two. However, this does not synchronize the clocks onboard the devices. You may not need this level of synchronization as both systems will be running off their independent 20 MHz clocks. Depending on the width of the pulses you are trying to count, a 20 MHz clock may be enough to guarantee that you maintain the same count. In fact, I believe you mentioned that the two systems maintain the same count over a 24 hour period. This would indicate to me that your systems are synchronized within the necessary specifications for your application.
However, it is true that your application does not currently share the master timebase. If you would like to share the master timebase to synchronize both systems, you can export the signal to RTSI7 from the master system and import RTSI7 to the master timebase of the slave system. I have attached images of how your would export and import the signal.
One problem with this setup is that there will most likely be some delay between the master timebase signal on the master device and the signal that arrives at RTSI7 on the slave device. This delay can be attributed to the wiring you will have to use to connect the two separate systems. Additionally, depending on how you connect the systems, outside sources could induce noise on this clock signal that could affect the timing of your application. These are considerations that you will have to take into account if you choose to use the RTSI lines to route the master timebase.
Message Edited by Matt A on 07-09-2007 01:15 PM
07-09-2007 08:25 PM
02-09-2009 01:00 PM
Hi Matt,
I am reading the post you and credo were discussing synchronize multi PCI 6602 card. Currently I am working on 20 PWM input channels. I have some problem on my labview code. Would you give some advice on my vi? I crated labview code for 2 channels for now. I am doing semi period measurement. I want to measure the frequency and duty cycle of the PWM signal. But when I run it, it has error. Please give some advice where I did wrong on my vi.
thanksJohnny
02-10-2009 04:32 PM
Hello,
Thank you for posting to the NI forums. My suggestion is to take the read out of the for loop and run both reads in parallel while loops. You are bottlenecking right now because you have to wait on your slowest PWM. Running the reads in separate parallel while loops as well as reading more samples should fix the problem. Hope this helps!
02-12-2009 09:56 AM
Hi Margaret,
Thanks for your advice, I tried your suggestion, it works. If I want to read 20 channels, so I need 20 while loops in parallel. Would that synchronize with other two PCI 6602 card?
Thanks,
Johnny