Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

acquiring dio samples from 6259 with external strobe

Hello
I am using labwindows cvi 8.5, and I bought a 6259 usb board.
I need to acquire 24 digital lines at a rate of (about) 800kHz.
I am a bit confused on the settings of trigger and acquisition mode.
The 24bit data come from a device that provides a strobe: on each
(raising, for example) edge of the strobe the 24 bit word is valid.
So, the exact rate is dictated by an external strobe.
I suppose that I have to connect the strobe to PFI0 (for example).
What should I set in DAQ assistant? 1 sample on demand? This will
cause calling the function for each strobe?
Is this the correct way or there is a better setup?
Thank you for your help.
Alessandro

0 Kudos
Message 1 of 2
(3,049 Views)
Hey Alessandro,

You are correct. You could connect your Strobe to PFI0. Since the acquisition will be hardware timed, in our DAQ Assistant we want to set the Acquisition Mode to 1 Sample (HW Timed), N Samples, or Continuous Samples depending on your application. You will then want to select the Advanced Timing tab and select your Sample Clock Type as External and the Clock Source as PFI0. I also attached a tutorial on the DAQ Assistant in LabWindows/CVI.

Using the DAQ Assistant in LabWindows/CVI
http://zone.ni.com/devzone/cda/tut/p/id/4650
Regards,

Chris Delvizis
National Instruments
0 Kudos
Message 2 of 2
(3,034 Views)