LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6534 data transfer

Hi,
I got the PCI-6534 board with 2x32MB onboard memory. I am trying to aquire data (8-bit) with a sample rate of 10 MHz and transfer it to a file on the PC.
When the onboard memory is filled it is transfered to the PC and I get an error message. I would like my aqusition to be continous.
Can anyone help me on how to make a vi that transfers data to the PC continous?
 
Regards,
Mosgaard
0 Kudos
Message 1 of 7
(3,224 Views)
 

Hi Mosgaard,

Can you provide an error code for me? Is your PCI-6534 Onboard memory Looping enabled?

 

You might also consider the PXI Express versions: PCIe-6536/37 boards have a better performance than PCI-6534 and they are built for the PCI Express bus, which has the ability to transfer large amounts of data at high rates without any glitches. This removes the need for expensive onboard memory, lowering the cost of the digital device. In the case of the PCIe-6536/37, the pattern is stored in PC RAM and is continuously streamed to the board.

 

Please let me know if you need more infomations on this issue.

Best Regards!

-----------------------------------------------------
Dennis Morini
District Sales Manager
National Instruments Denmark
http://www.ni.com/ask
0 Kudos
Message 2 of 7
(3,211 Views)
Hi,
Thanks for the input.
I can't seem to get it to work - there seems to be differens between transfering data to digital outputs and inputs.
I have attached my code (it is build on a NI project).
 
Appreciate any help Smiley Happy
 
Regards,
Mosgaard
0 Kudos
Message 3 of 7
(3,200 Views)
 
Hi,
 
Sorry about the confusion. You can use the property nodes from the first link on my first reply only if you are doing digital out.
 
Do you get an error code in Labview, when buffer is filled? I presume the VI you are trying to run is the attached VI just without the DAQmx property node.
 
Can you tell me which NI-DAQmx version you are using? You can download the lastest version of NI-DAQmx for Windows from: https://www.ni.com/en/support/downloads/drivers/download.ni-daq-mx.html
 
Regards 

Message Edited by Morini on 05-23-2007 02:21 PM

-----------------------------------------------------
Dennis Morini
District Sales Manager
National Instruments Denmark
http://www.ni.com/ask
0 Kudos
Message 4 of 7
(3,197 Views)

It is the same VI without the DAQmx property node.

I get the following error message: Error -200279 occured at DAQmx Read (Raw 1D U8).vi:1.

 

0 Kudos
Message 5 of 7
(3,193 Views)
Hi,
 
DAQmx error -200279 will occur if the buffer is overwritten.
If only the Buffer overflow is the problem there, you can use CircularBuffer to bypass the error. See. "CircularBuffer.vi" and run it with Workaround enabled.
If possible you can also decrease the sampling rate, increase the buffer size, or increase the number of samples per channel to read.
 
If you can't change those settings, you might consider a Queue structure in Labview. With a Queue structure you will be using a software FIFO buffer in additional to the hardware buffer. In this way you will still have all the samples written to the file.
See."Cont Read Dig Chan-Ext Clk_WriteFile_FUNGERER.vi"
 
Finally you should consider the option with PCIe-6536/37 boards.
 
Regards!

-----------------------------------------------------
Dennis Morini
District Sales Manager
National Instruments Denmark
http://www.ni.com/ask
0 Kudos
Message 6 of 7
(3,188 Views)

I just triede the example - and it works Smiley Happy

Thanks for all the help.

0 Kudos
Message 7 of 7
(3,179 Views)