03-12-2007 02:55 AM
Hi,
I am using PXI 6552 to acquire digital Inputs with respect to External clock falling edge. This card has onboard memory of 64 MB.
With this at 20 Mega Samples / Sec data rate I can hold 64/20 = 3.2 Sec Data in onboard memory. By reducing the data width to 2 Bytes (to hold only 16 channels) I can increase the on board acquisition buffer to 128MB and I can hold data for 6.4 Sec.
I can use “Initiate Acq VI” to start the acquisition process and once buffer is full; I can transfer the data to host memory by using Fetch memory. It means every 6.4 sec I have to transfer the data from on board memory to host and then start the new acquisition session.
But in some way I want to continuously acquire and stream the digital inputs to Hard Drive at a rate of 20 MB/sec for at least 10mins without any break; like continuous acquisition using DAQ AI channel.
Please let me know how I can achieve this functionality and if it is not possible with PXI 6552 which NI card supports this feature.
Thanks,
Venky
03-13-2007 01:56 PM
03-14-2007 12:43 AM
Hello Erik,
Thanks for the reply.
Actually with this kind of acquisition we need to specify "FetchOffset" which is an I32 number.
If I am calculating this "FetchOffset" continuously for long time, then after 2147483647 it rools back to hugh negative number.
Because of this I am getting following error
Error -1074115589 occurred at niHSDIO Fetch Waveform (1D U16).vi
Possible reason(s):
Driver Status: (Hex 0xBFFA4BFB) DAQmx Error -200004 occurred:
Data requested has been overwritten in the device memory.
Status Code: -200004
Any sugession to correct this?
Thanks,
Venky
03-14-2007 05:29 PM
03-15-2007 12:07 AM
Hello Erik,
Once again thanks for the reply,
Actually I tried with this combination ( FetchRelativeTo = Current Read Position ) and removed the FetchOffset property with 10s timeout value. (Please refer the attached VI)
With this it is not even acquiring the first record.
Error -1074118624 occurred at niHSDIO Fetch Waveform (1D U32).vi
Possible reason(s):
Driver Status: (Hex 0xBFFA4020) Some or all of the samples requested have not yet been acquired.
To wait for the samples to become available, use a longer read timeout or read later in your program. If your session uses a trigger, make sure that your trigger is configured correctly.
Status Code: -200284
I tried to use other options (Most RecentSamples..) but none was working except FirstSample with FetchOffset option.
Please let me know if you have any further sugession.
Thanks,
Venky
03-15-2007 12:33 AM
03-15-2007 04:12 AM
07-17-2007 11:39 AM
Hello Erik,
Can you please post a copy of your solution in LabVIEW 7.1 format? Or a more detailed description of the fetch procedure before you hit the loop? I have not upgraded yet.
Thanks,
Kristen
07-18-2007 03:01 PM
04-24-2008 08:20 AM