12-18-2006 12:21 PM
12-18-2006 06:15 PM
Update - I got rid of the Sync Pulse output from the star card, and made PXI_Trig5 an input to the Star Card. Now my acquisition works OK if I don't configure an external source for the SyncPulse. I have two 4472s running off the external Sample Clock Timebase on their respective PXI_Star lines. Each card starts its acquisition off of a Start Trigger, which is output from PXI_Trig3 by the Star Card. I have two different tasks runnining in parallel, one for each board. I would really like to have one data acquisition task allowing me to get channel data from multiple boards, but it seems the only way this is allowed in DaqMX is to have one of the boards in slot 2, acting as a Master. This is not what I want - I need the Star Card in slot 2. Is there no way in DaqMX to use the Star Card (not DaqMX-compatible) as a master clock and trigger source to multiple 4472s in the other slots?
Also, I don't understand the SyncPulse function - is this pulse issued more than once? I though I would only have to send a pulse a single time to sync the clock dividers on each board.
12-19-2006
12:33 PM
- last edited on
05-30-2025
03:43 PM
by
Content Cleaner
12-19-2006 12:52 PM
12-19-2006 01:02 PM
12-19-2006 01:55 PM
12-20-2006 02:04 PM
12-20-2006 02:08 PM
12-20-2006 05:31 PM
12-21-2006
05:38 PM
- last edited on
05-30-2025
03:43 PM
by
Content Cleaner
Hello Wired,
It looks like you are on the right track to developing your application. I noticed that you modified the PXI 4472 Synchronization example to build your code which is a good idea.
As far as the buffer error you are receiving, that error usually occurs if you can't read the data from the device quickly enough. Does this error occur after a set amount of time or does it occur randomly? Part of the reason might be the size of the FIFO since the 4472's buffer is much smaller than the 6120's. One thing that you might try is to close as many other programs that might be running on your PC. This means disabling any automatic updates and scheduled processes. What PXI controller or PC are you using?
I think you are on the right track because I checked your calculations and it seems like your sample rates should be correct. The oversample clock should be taken care of behind the scenes since you are supplying a sample clock timebase so I don't think that should be a factor. You mentioned that you can run this application with 4 6120s. Is this in the same PXI chassis? Are you clocking them using your Star Card?
Please let me know a little more info and I will continue to check and see what might be causing this error to occur.
Happy Holidays,
Brian P. - Application Engineer