08-05-2015 01:42 AM - edited 08-05-2015 01:43 AM
Hi Nitin,
I'm surprised you see anything at all in the chart when your "data" array is empty…
Did you do any debugging? Is there any error with the DAQmxRead function?
One note: you try to read 10k samples with a sample rate of 1kHz: this will take 10s. The default timeout of DAQmxRead is also 10s. Did you read the help for DAQmxRead regarding that matter? Again: did you do any debugging and did you check the error output?
08-14-2015 04:20 AM
Hi Gred
I am able to see samples now in array .
It would be grateful to you if you can let me know how i can search in rising edge in bunch of samples , as by the time i will process it one by one at the same time new samples will come .
Regards
nitin
08-14-2015 05:20 AM
Hi Gred
I am able to see samples now in array .
It would be grateful to you if you can let me know how i can search in rising edge in bunch of samples , as by the time i will process it one by one at the same time new samples will come And ho wto trigger to count no of samples
Regards
nitin
08-17-2015 05:33 AM
hello Gerd
I can now traverse the array and find out the transistions , But total transtion should be 22 , instead of them i am getting less then 10 .
Can you please help me in this case ?
Regards
Nitin
08-17-2015 05:47 AM
Hi Nitin,
total transtion should be 22 , instead of them i am getting less then 10 .
Right now you search in blocks of 100 samples: are you SURE you have more than 10 transitions per data block?
Can you attach an example with some data set to default in your VI?