05-18-2012 06:35 AM
I am getting error 1074118653 because my number of samples to acquire are out of card limit. So I want to ask whether can we increase on board memory of 5122 card? Or is there any other way to acquire samples more than specified in card spec?
07-12-2012 01:28 AM
...can we increase on board memory of 5122 card?
NI currently does not offer a service to upgrade the onboard memory of a digitizer.
Or is there any other way to acquire samples more than specified in card spec?
There certainly is, it is called "streaming". There are several streaming examples, but in general it depends on whether you'd like to acquire just one record, or several records. A single-record streaming acquisition will require using theniScope EX Fetch Forever example. A multi-record streaming acquisition could be done a few different ways, but in general the niScope EX Fetch More Than Available Memory example is a good place to start.
Before talking about those options, we need to ask a few basic questions:
1. How many records do you need to acquire?
2. How long do you want to acquire for each record?
3. How big is the memory size of your digitizer? There are four memory options: is it 8 MB/ch, 32 MB/ch, 256 MB/ch or 512 MB/ch? You can find out the digitizer's memory size by using this example LabVIEW program.
4. Is your digitizer PCI, PCIe, PXI, or PXIe? The form factor and bus used can determine the streaming rate available to you. The theoretical transfer rate on a PXI or PCI bus is 133MB/s, and the theoretical transfer rate on a PCIe or PXIe x4 bus is 800MB/s.
You can find several streaming examples online, and there are a few discussions surrounding streaming you may also look up online. When you reach the limit of what your streaming performance can handle (you overwrite memory on your digitizer before retrieving it) you will likely run into error -1074116198 (status code -200613), which contains several suggestions on how to improve your streaming performane. There is a KB ID 5NLFG4J3 which describes that error in more depth.