01-06-2009 05:15 AM
Solved! Go to Solution.
01-07-2009 06:58 AM - last edited on 04-23-2024 12:12 PM by Content Cleaner
To synchronize motion and DAQ you can use an RTSI cable and High Speed Capturing (HSC) to acquire the position exactly when an analog value is sampled. Please refer also to the examples that ship with NI-Motion.
Please note, that the maximum HSC rate is system dependant but typically it's around 200 Hz. With a PCI-7350 HSC works with onboard memory up to a rate of 2 kHz.
Kind regards,
Jochen Klier
National Instruments
01-08-2009 03:49 AM
01-08-2009 03:57 AM - edited 01-08-2009 03:58 AM
Not necessarily. As said, rates up to 200 Hz should work fine with a 7342. If this is not enough, of course a 7350 could be used, but there is also a completely different approach that should work with your current hardware:
From the 7342 you could also route the encoder phases to RTSI pins. You can use a counter on the 6221 to measure the position of your axis based on the singlas that you have routed to the RTSI pins. Now you can use "Buffered Position Measurement" (see DAQ examples) to measure the position with the same timing source as your analog signals.
I hope that helps,
Jochen01-12-2009 01:56 AM
09-10-2009 04:28 AM
Hello,
i have got the same Problem, but I have to use three encoder-signals. To route the phases from PCI-7340 to RTSI is interesting. But my PCI-6221 only have 2 counters. Is it possible or should I use HSC.
Thanks.
Andy
09-10-2009 08:58 AM - last edited on 04-23-2024 12:13 PM by Content Cleaner
Hi Andy,
with two counters you only can acquire data from two encoders, so one option is to exchange the PCI-6221 with a board with more counters. E. g. the PCI Express board PCIe-6321 with 4 counters or the PCI-6602 with 8 counters. The PCI-6601 is not a good option for your application, as it can run only one buffered counter operation via DMA.
The other option is using HSC with the restrictions, that I have mentioned before.
Jochen
09-11-2009 02:00 AM
Thank you for the fast answer.
Andy
11-09-2010 09:49 AM - last edited on 04-23-2024 12:14 PM by Content Cleaner
@Jochen wrote:
To synchronize motion and DAQ you can use an RTSI cable and High Speed Capturing (HSC) to acquire the position exactly when an analog value is sampled. Please refer also to the examples that ship with NI-Motion.
Please note, that the maximum HSC rate is system dependant but typically it's around 200 Hz. With a PCI-7350 HSC works with onboard memory up to a rate of 2 kHz.
Using the tutorial and its last example, rtsi_comp_cap_multi_point and acquiring continuously AI, I managed to work with the PXI 7350 at a rate of 300Hz.
Christophe