10-09-2007 05:52 AM
10-09-2007 08:42 AM
Hi,
You could use the mentioned example regardles of RTSI. The CAN part names the sync terminals RTSI, but we are talking about the sync connector outside the box.
The DAQ part routes the clock and start trigger to PFI 1 and 0 and that means you can use a simple NI Connector block to wire clock, trigger and ground to the USB box.
If you send the LIN frame, it gets received because the example has enabled self reception?. That means you got the timestamp from the frame you send out. Then you have to monitor your DAQ receive and when ever the Diode comes to light you should measure something. Now you should stop both loops and compare the time stamps.
Because both boards are synced the difference should be the time your target needs.
DirkW
10-10-2007 03:29 AM
10-10-2007 04:52 AM
10-10-2007 08:28 AM
Hi Mike,
Well, DAQmx should be easier then the old NI- DAQ. For your case you need to route the timebase, which is available for your E-series board. Instead of using the 10 MHz Ref Clock, which is available with M-Series Boards only, you should use the 20 MHz Timebase Clock.
The problem is 20 MHz is realy fast and you need good isolated, short cables and a good grounding connection, in order to get the clock imported by the USB LIN device. If that doesn,t work and you have the second error again (timebase disappeared), then the only chance is to use the freq out pin of your E-Series device to generate a 1 MHz pulse train. This timebase is slower and therefore less noisy. And because it is based on the 20 MHz onboard clock it synchronizes both devices as good as directly.
Hope that helps.
DirkW
10-10-2007 09:13 AM
10-10-2007 04:31 PM
10-10-2007 04:51 PM
10-11-2007 06:48 AM
10-16-2007 03:04 PM