Discussion:
Question regarding PCI-5152
(too old to reply)
jqhu
2007-09-20 19:10:09 UTC
Permalink
Q1: Could PCI-5152 output the data continuously, with a fixed data
rate?  What we need is: the computer keeps on generating the data
and write into the memory in the PCI-5152 (in case it's not full), and
the PCI-5152 will output the real-time data continuously.  Does it
support such functionality?

Q2: What is the bus type of PCI-5152?  It says PCI, but I can see it's not like the regular PCI bus.

Thanks!
J.
David L.
2007-09-21 20:40:10 UTC
Permalink
Hi jqhu,


The 6562 will not have any problems streaming data from the
computer at a sustained sample rate. There is a fantastic HSDIO streaming
example on this <a href="http://zone.ni.com/devzone/cda/epd/p/id/5270" target="_blank">webpage.
</a>This example, however, requires an in depth understanding of LabVIEW, File I/O,
and HSDIO. It also has maximum optimization in order to stream from disk. I
would like to please ask for more detail on how fast and how much data you are
looking to stream, as it is likely this example is very much overkill for your
project.
Regards,
ryanm
2007-09-21 21:10:12 UTC
Permalink
jqhu,
What rate are wanting to stream data to the PCI-6562?&nbsp; Although the PCI-6562 is capable of generating data at rates up 400 MB/s (200 MHz x 2 bytes (1 sample = 2 bytes for the 656x in signal data rate mode), PCI is not capable of supplying data at this rate.&nbsp; The theoretical maximum transfer rate of 32 bit-33 MHz-PCI is 132 MB/s.&nbsp; In reality, there is some overhead and in general, on a good computer, you will see ~100 MB/s.&nbsp; Keep in mind PCI is a shared bus so if you are using other cards, this value will be split among all the cards.
With the being said, the maximum&nbsp;frequency&nbsp;at which you&nbsp;can run the 6562 while streaming data from PC memory is ~50 MHz.&nbsp; If your application requires a faster rate,&nbsp;does your waveform repeat.&nbsp; If so, how large is the waveform?
Ryan
jqhu
2007-09-22 15:10:11 UTC
Permalink
Davis &amp; Ryan,&nbsp;
&nbsp;&nbsp; Thank you for the reply!&nbsp; The rate we want is the faster the better, but even 50MHz output frequency, it should be okay.&nbsp; Some more questions:
&nbsp;&nbsp;&nbsp; (1) The PCI bus only support 33MHz? not 66MHz?&nbsp; As I know the current PCI bus (regular PCI) is capable to handle 66MHz.
&nbsp;&nbsp;&nbsp; (2) Does the digital I/O card has internal data mux?&nbsp; We want to use for uni-directional data transmission --&nbsp;as output.&nbsp; If we use all the 32-bit data width from the PCI bus, yet we only want to have 8-bit date output by the digital I/O, can we mux the 32-bit data to 8-bit?&nbsp; Do we still have the 50MHz output frequency constraint?
&nbsp;&nbsp; Also, do you have any idea (actually the same question) for PCI-5152 (ADC)?&nbsp; Otherwise I'll ask for help from that board.
&nbsp; Thanks again!
-J.&nbsp;
David L.
2007-09-24 23:10:07 UTC
Permalink
J.


The 6562 does not have a mux, but does have channel to
channel skew. This specification can be found in the <a href="http://www.ni.com/pdf/manuals/373772b.pdf" target="_blank">6562 Specifications</a>,
P 7. Also, it will only bring the datawidth you specify across the bus. For
example, if you do a fetch U16, than it will bring across 16 bits at a time.


The PXI-5152, although doing A to D conversion, is
simultaneously sampled therefore does not have a mux between the two channels.
Since it is an 8-bit digitizer, the samples will always be 1 Byte each.


If you would like to write a certain amount of data, and see
when it is finished generating, you can use the ?niHSDIO Wait Until Done.vi?.
This will ensure that all of the samples have been written before continuing. A
good shipping example which exhibits this is ?Read HWS File and Generate.vi?
(Help &gt;&gt; Find Examples.. &gt;&gt; Hardware Input and Output &gt;&gt; Modular
Instruments &gt;&gt; NI-HSDIO &gt;&gt; Dynamic Generation &gt;&gt;
Non-scripted) You can also poll to see if a session is done by using the ?niHSDIO
Is Done.vi?.

Loading...