05-31-2013 12:24 PM
Tried it.. It doesnt work.
05-31-2013 09:00 PM
when I tried the same it worked for me... can you share what exactly you modified in the code also share the output file that you get after this modification.
06-03-2013 09:17 AM
Please have a look at the following snapshots.
06-03-2013 09:35 AM
Here is the issue...!!
Either delete it OR double click and change the configuration as shown below...!!
Hope this is the solution...!!
06-03-2013 09:58 AM
Thanks, I suppose it did work.
But, the output(Time column) seems a bit wierd. I am rotating the encoder at around 50 rpm. And this is the output that I am getting. Shouldn't I be getting it in appropriate single digit seconds?
Your method did work. But do you know what is the problem? I am trying to troubleshoot my vi if it is working the way I need it to be.
I wish to have a pressure sensor triggered every z index pulse by the encoder. I am missing out alternate z index by acquiring 2000 samples (Encoder has 1000pulses per rev)
06-04-2013 10:22 AM
Any suggestions anyone.. Why is it giving so low values on time?
06-04-2013 11:41 AM - edited 06-04-2013 11:46 AM
Thats low, as your loop rate is very high...!!
place some delay (Wait ms) in your upper loop and you'll see the value(s) of recorced timestamp is larger as compared to present value(s).
Forget to add earlier so now editing:
In your code if you keep any delay, you will get an overflow error from DAQmx, probably you may also want to edit both tasks and include:
I'm assuming your application doesn't bother about gathering all the samples...