01-26-2017 04:25 AM
Hello,
I have a question regarding syncing of PXI cards in the same chassis and saving the data. I believe I'm doing it the right way. I am trying to sync the two PXI 5922 cards using the TClk. I am sampling the data at 1M and running the programme for 10 seconds. So I should have about 10M samples of data after saving it. However, the saved data is significantly lower (around 1M samplesonly). I tried searching forums for a while but unable to solve my issue. Could anyone take a look at the attached VI and suggest a way around this please?
Thank you,
Rick
01-30-2017 07:50 AM
Some remarks:
01-31-2017 08:57 PM
Hi Henrik,
Thanks for the reply. Sorry for the delay, I was away for last few days. I will read up on streaming continuous data to disk. Using producer/consumer architecture seems like a good idea. You mean read from both cards in the producer loop and save them in the consumer loop right? I will try that as well. Please let me know if I understood you wrongly.
Thanks again! Have a great day :).
Arun
02-01-2017 08:43 PM - edited 02-01-2017 08:44 PM
Hi Henrik,
I tried the producer/consumer arch., it improves the performance and saves more data; however, not all the data that I am expecting. Seems like I need to increase the 'Minimum Record Length'm parameter in the Configure Horizontal Timing function to 1M if I am to save more data. Even that is not 100%, but able to save about 80% of the data. Am I doing anything wrong here?
02-02-2017 02:33 AM
Have a look at the
niScope EX Save to File - HWS Low Level - Single Channel Stream.vi
example...