Phone Thet Khaing
2008-02-27 03:10:06 UTC
Hi,
I have a problem in losing data for both generation and acquisition,using (1042Q chassis, NI PXI 8196 embedded controller(2.0GHz & 512MB RAM) & NI PXI 6562).
For generation, first and last part of data is lost, for example if i send 0,1,2,3,4,5,6,7 , only received 1,2,3,4,5,6,so the application is continuously reading from Harddrive,transferring to controller RAM, then transfer to device onboard memory through PCI Bus, so where could the data sending be lost? How can I prevent it ? The file used is in binary format 32 bits,
for acquisiton, it is too the same as above case, lost first and last part of the data, so this is only happening in streaming applications,
For example, if i generate the waveform with .hws file whose file size has to be lower than onboard memory of 16MB of PXI-6562,I have no problem receiving data i am expected,no data is lost, so this application is reading .hws file and transfer to device memory,then generate so this is the case of one time read/write, and I do not any data lost with this,
since we aim to generate file size larger than onboard memory , we use some examples found in NI examples for streaming ,so could anyone suggest me a pointer ?
Attached are streaming VIs and binary file used for generation,and .hws VI
Thanks & Best Regards,
Phone TK
Thanks,
Phone TK
phone1.zip:
http://forums.ni.com/attachments/ni/70/8291/1/phone1.zip
I have a problem in losing data for both generation and acquisition,using (1042Q chassis, NI PXI 8196 embedded controller(2.0GHz & 512MB RAM) & NI PXI 6562).
For generation, first and last part of data is lost, for example if i send 0,1,2,3,4,5,6,7 , only received 1,2,3,4,5,6,so the application is continuously reading from Harddrive,transferring to controller RAM, then transfer to device onboard memory through PCI Bus, so where could the data sending be lost? How can I prevent it ? The file used is in binary format 32 bits,
for acquisiton, it is too the same as above case, lost first and last part of the data, so this is only happening in streaming applications,
For example, if i generate the waveform with .hws file whose file size has to be lower than onboard memory of 16MB of PXI-6562,I have no problem receiving data i am expected,no data is lost, so this application is reading .hws file and transfer to device memory,then generate so this is the case of one time read/write, and I do not any data lost with this,
since we aim to generate file size larger than onboard memory , we use some examples found in NI examples for streaming ,so could anyone suggest me a pointer ?
Attached are streaming VIs and binary file used for generation,and .hws VI
Thanks & Best Regards,
Phone TK
Thanks,
Phone TK
phone1.zip:
http://forums.ni.com/attachments/ni/70/8291/1/phone1.zip