LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronisation of M Series and High Speed Digitizer

Hello everybody,
 
i just have a question regarding synchronisation/timing of two different PCI cards (M-Series PCI 6220 and High Speed Digitizer PCI 5112, connected via RTSI cable).

I wonder how I can synchronise signals, because those cards use different mechanisms in Labview for timing and synchronisation.
 
Can anybody tell me, how I can synchronise the clocksignals and let them use the same trigger (actually I want to use the external trigger of the 5112)? Witch VIs do I have to use?
 
Thanks in advance
 
Oliver
0 Kudos
Message 1 of 4
(3,170 Views)
Hello!

There are different ways to synchronize two different boards in LabVIEW.
In your case you could export the Start Trigger Signal from your PCI-5112 to your PCI-6220.

To do that you should use the niScope Export Signal.vi and export the Start Trigger Signal to the bus RTSI (for example on pin RTSI0).
Then you could say to your PCI-6220 that you want to use the signal on RTSI0 as your start trigger.

To do that you have to use the DAQmx Trigger.vi and configure a digital start trigger. By the source you should then says that is is coming from RTSI0.
Same thing for the clock. You can export the signal on the RTSI bus and use it for the data acquisition board.

I hope it helps

Best regards

Ken
0 Kudos
Message 2 of 4
(3,153 Views)
Hello!

First of all many thanks for your reply.

Exporting the external trigger from the 5112 to 6220 via RTSI works.
Synchronising the clocks in the same way as you wrote doesn't seem to work. May be I did something wrong.
What I did was the following:
I exported the "reference clock" signal of the PCI 5112 using "niScope export signal.vi" to RTSI 7.
Than I used the daqmx "sample clock.vi"  to configure the clock.  I used the instance "sample clock" with "dev1/RTSI 7" as the source (dev 1 actually is PCI 6220) and as sample mode "continous samples". I started the PCI 6220 (daqmx) first, after that I started the 5112 (niScope).
Running this vi I get the following error:

"ADC conversion attempted before the prior conversion was complete.
Increase the period between ADC conversions. If you are using an external clock, check your signal for the presence of noise or glitches."

This is still a small problem, but meanwhile I came to a bigger one:

I thought I could use the 6220 in the same way I can use the 5112:
I want to fetch (or read) data on both cards contionously but also periodically. The period time is given by the External trigger I mentionend before. Till now I didn't find a way to aquire the data from the 6220 in records of a given length (let's say 100 samples, at 1kHz) every time the trigger occurs (External Trigger rate is about 250 Hz). This is possible with the 5112 board, but I wonder if this is also possible with the 6220?

Kind regards

Oliver

PS: Sorry for the "witch" 😉
0 Kudos
Message 3 of 4
(3,142 Views)

Hello Everyone,

I am attempting a similar configuration and am hoping to get some help. I am currently using a PCI-6601 counter with an optical encoder to trigger a PCI-6122 multifunction DAQ via the RTSI bus. Now, I have two PCI-5112 boards that I would also like to trigger the same way. I am stumped though because when I configure the devices in MAX, the 6601 shows up as a DAQmx device and the 5112 shows up as a Traditional DAQ device, and I cannot connect the two devices to the RTSI configuration that I have set up between the 6601 and the 6122.

Can I still use the import and export VIs to set up the triggers for the 5112 without configuring the RTSI connection in MAX, or is there a way to get MAX to recognize the 5112 as a DAQmx device?

Thanks in advance,

Ryan

0 Kudos
Message 4 of 4
(2,930 Views)