Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronization of two PCI 6602 using RTSI cable and traditional ni-daq

Thank you Doug.

 

I looked at the HELP info on the AI Clock Config.vi and still a little confused about the statement:

 

"The clock rate is the rate at which LabVIEW samples data or acquires scans. You can express the clock rate three ways-with clock frequency, with clock period, or with timebase source, timebase signal, and timebase divisor. The VI searches these parameters in that order and sets the clock rate using the first one with a value not equal to -1. Refer to the following table for default settings and ranges for the controls of this VI."

 

Does this mean that I can synchronize two devices (in my case two PCI-6602) using a clock rate (clock rate = a timebase source of the master device divide by the timebase divisor)?

 

BTW, I understand that:

 

Base clocks for NI 6602/6608............................................. 100 kHz, 20 MHz, and 80 MHz

 

Does that mean that I can choose 20MHz instead of 80MHz for PCI-6602 using Traditional NI-DAQ so that I don't have to go through dividing by timebase divisor?

 

Thank you for your help.

 

pchemjjang

 

 

0 Kudos
Message 11 of 40
(2,592 Views)

I found another example using a Digital Clock Config.vi instead of the AI Clock Config.vi. If two PCI-6602 cards need to be synchronized using RTSI and Traditional NI-DAQ and Labview7.1, should I use the Digital Clock Config.vi or the AI Clock Config.vi? Or doesn't matter?

 

Thank you for your help in advance.

 

pchemjjang

0 Kudos
Message 12 of 40
(2,587 Views)

Sorry for all these premature posts. I am learning as I post more messages.

 

Bottom line is that I would like to use 20MHz timebase of PCI-6602 with Traditional NI-DAQ and LabView7.1 to synchronize with another PCI-6602 using RTSI connection.

 

I understand I can use Digital Clock Config.vi to specify timebase source and timebase signal in Hz.

 

Can you explain how to do it in a little more detail?

 

Thank you very much.

0 Kudos
Message 13 of 40
(2,583 Views)

Hi Pchemjjang-

        Could you please state some more specific questions- what exactly would you like explained in more detail?  Is the .zip file you attached on your last post working for you?  Please just let us know what you would like more information on.  Thanks!

 

0 Kudos
Message 14 of 40
(2,557 Views)

Hi aNItaB,

 

Thanks for your message first of all.

 

And I apologize for not providing more specific questions.

 

I am a beginner and didn't know where to start.

 

Anyways, I would like to know if Digital Clock Config.vi can be used to set the 20MHz timebase for synchronization of two PCI-6602 cards through a RTSI cable.

 

If so, I also would like to know how to do it in the Digital Clock Config.vi block diagram or in the front pannel.

 

Please let me know if you have any questions.

 

Regards,

 

pchemjjang

0 Kudos
Message 15 of 40
(2,553 Views)
That example that you found actually sounds pretty much exactly like what you are looking for to synchronize the digital output on two 6602 across RTSI.  I mispoke before if I said AI Clock Config, that would be for analog input and you are doing digital.  If you have questions about specific VI's and how to use them I would recommend you first look in the help, which should explain the inputs and outputs of the VI.
Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 16 of 40
(2,536 Views)

Thank you Doug.

 

I read the help for Digital Clock Config.vi more carefully and it seems that the maximum timebase signal is 10MHz, but I want to use 20MHz. Of course, I cannot use 80MHz either because of limitation in the RTSI cable connection.

 

Do you have any suggestion?

 

pchemjjang

0 Kudos
Message 17 of 40
(2,532 Views)
It seems you are right, you can only use the 10 MHz clock with the Traditional DAQ driver.  If you switch over to the DAQmx driver this should be accessible.  Otherwise, it appears you are limited to the 10 MHz clock.
Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 18 of 40
(2,515 Views)

Thank you Doug.

 

I don't mind using 10MHz instead of 20MHz.

 

And this may be a stupid question, but can the RTSI cable handle 10MHz as well?

 

Thank you for your help again.

 

pchemjjang

0 Kudos
Message 19 of 40
(2,514 Views)
A RTSI bus should be able to pass the 10 MHz clock no problem.  Good luck!
Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 20 of 40
(2,504 Views)