10-20-2010 07:26 AM
I m using PCI 6534 card for digital output..
I have connected the digital input to the pin of PORT0/PIN1. I have used the example VI for the testing purpose and for just getting the idea.
I have used vi attached below. In this I am taking the 10000 samples in 10sec and displaying that in the graph..
But if I change the time,rate and sample nos, I am not getting the proper output.
I am using X axis as auto scaling but it gives 0 to 0.0999 output after that no indication of the output. Why its happening??? I have also attached the graphs..why after changing the sample numbers and continuously reading the samples I am not getting output after 0.0999sec??? I have checked it by making the time 100 and samples 100000.
10-20-2010 08:38 PM
In both of your images, you have a sample rate of 100000 and number of samples to 10000. Simple arithmetic of 10000/100000 gives you ,1 seconds of data and that is exactly what the graph displays. You are aware of how a graph works? Each acquisition gives you a brand new plot. New data is NOT appended to old.
10-21-2010 05:34 AM
you are right that if i have a sample rate of 100000 and samples to read is 10000 then scale will b 1000/100000=0.1 right???
bt i think you have not seen the waveform properly. i have given sample rate =10000 and samples=10000 so the scale waveform should be 1.
10-21-2010 09:03 PM
Sorry, I must need new glasses.