08-24-2007 05:09 PM
08-24-2007 05:35 PM - edited 08-24-2007 05:35 PM
Message Edited by Gabi1 on 08-25-2007 12:36 AM
08-25-2007 10:56 AM
08-25-2007 01:44 PM
sorry about the link
http://forums.ni.com/ni/board/message?board.id=170&message.id=251473#M251473
using DAQmx you can set the clock for the device, as well as the clock source. for testing purposes i suggest you dont work at 2MHz.
if you have an external reference, to which every edge some data is sent to the card, then simply define it to be your clock. you input it to the card, (i remember PF2 but check it on the manual). then define the clock source to be external - pf2. automatically, at every clock cycle the card will read the data on its input lines.
unrelated to that you might want to have a trigger to start aquisition.
in general, this is a simple thing to do, and DAQmx is as good as traditional, just with a bit more functionnality. you might want to look at online examples aquisition using DAQmx, and the tread above.
08-27-2007
02:05 PM
- last edited on
08-17-2025
05:06 PM
by
Content Cleaner
Hi Kenneth,
I believe what Gabi is trying to say is try a lower frequency to begin with and work up to 2MHz. From what I understand of your posts, you want to bring in an external sample clock (at 2MHz) and use it as the sample clock for reading your digital lines. All you need to do is connect the sample clock to one of your PFI lines on the 6534. Click here for a link to the help file for the 6534 to get the device pinouts for your PFI lines. If you search "signal descriptions", you should find the pin numbers (4,7 for PFI0 and PFI1) for your PFI lines. Next select the sample clock source as your PFI line. This will make your card take 1 sample every rising edge of your sample clock. These samples are all stored in the buffer until you read them, and if you don't read them fast enough, you will get a buffer overflow. As a general rule of thumb, you will want to set your "samples to read" at aproximately 10% of your sample rate (200,000 for 2MHz).
I hope this helps,
Paul C.