LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control 8 channels, with microsecond precision, outputs only

P.S.  I found it easier to reference the digital counter pulse instead of an analog input sample clock, both are capable of a 1MHz frequency so this should not be a major factor correct?

0 Kudos
Message 11 of 19
(1,439 Views)

Hey,

 

Your architecture is actually pretty good, the only problem is that you need to :have one channel for all lines" selected, and you should be writing a 1D array of U8's to a digital write, one channel, multiple samples. That means you should also make your empty array of U8's going into the for-loop 1-dimensional.

Britton C.
Senior Software Engineer
National Instruments
Message 12 of 19
(1,420 Views)

Wow, The scope readings are matching up perfectly now! my only concern now is running out of available buffer space.  The PCI 6220 has room for 2047 samples according to the spec sheet, approximately how many rows of data could I fit with this much room?

Thank you very much for your patience in walking me through this build, you're the kind of friendly knowledgeable engineer I hope to be myself one day!

 

0 Kudos
Message 13 of 19
(1,416 Views)

Hey,

 

If each row of data we're sending is 8 samples, and we can hold 2047 samples, then we can probably send about 255 rows before we run out of buffer space. One way we can get around this limit would be to write some of our samples, then start the task so that the device begins emptying, and then write more to the buffer after the task has been running for a little bit, but before the buffer is empty.

 

An easy way to do this would be to go through a time delay after the task starts, and then write again.

Britton C.
Senior Software Engineer
National Instruments
0 Kudos
Message 14 of 19
(1,402 Views)

Hello Britton,

I am creating a poster to present at a symposium which will highlight the key points of my program, because you were integral in helping me create the digital aspect of this program I would like to include you as a reference on my poster, I just need your permission to do so and your last name if possible.

0 Kudos
Message 15 of 19
(1,382 Views)

What symposium?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 16 of 19
(1,373 Views)

Susquehanna Valley Undergraduate Research Symposium on August 5th, Taking place at the Henry Hood Research Center at Geisinger Hospital in Danville, Pennsylvania.  

0 Kudos
Message 17 of 19
(1,371 Views)

Holy Cow, I used to live in Tunkhannock, PA and used the Geisinger facilities all the time.  They are top-notch, I can tell you.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 18 of 19
(1,360 Views)

Hey,

 

Sure, thanks

Britton C.
Senior Software Engineer
National Instruments
0 Kudos
Message 19 of 19
(1,341 Views)