Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I program the 6259 to perform simultaneos DIO

 
0 Kudos
Message 1 of 4
(3,280 Views)

Absolutely.  You can try this out for static DIO by simply running two of the shipping examples simultaneously -- 1 each for Input and Output.

It's also possible for correlated DIO.  I have an app that uses 8 bits of the 32-bit port for hw-timed output while simultaneously using the other 24 bits of the port for hw-timed input.  In my app, both are driven by the same hw clock but in general, they wouldn't have to be.

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 4
(3,274 Views)

Great !!

But semi-continuous transfer from app code space to and from the DIO?

i.e.  App buffer space (malloc) with ~1.2 meg of waveform transferred out @ ~18 kHz  (66 sec of data)

AND

 waveform (data) transferred in @ 18 kHz to an App buffer of ~ 1.2 meg?

Thanks for the info,

K.O. Smith 

0 Kudos
Message 3 of 4
(3,271 Views)

I can't speak from direct experience, but I would expect you can do 18 kHz for a minute.  My app regenerates a small output buffer and the I/O rate is 10 kHz for 30-45 seconds.  A bit less demanding than yours, but same order of magnitude.  Don't recall CPU load offhand, but I often launch Word or Excel while running data acq without any difficulty.

Specific details & syntax: I probably can't help.  My app is entirely LabVIEW.  Based on your reference to malloc(), I figure you must be working out of CVI or directly from C.

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 4 of 4
(3,268 Views)