LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing column in the write to measurement file

Tried it.. It doesnt work.

0 Kudos
Message 11 of 17
(864 Views)

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.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 12 of 17
(852 Views)

Please have a look at the following snapshots.

 

 

0 Kudos
Message 13 of 17
(835 Views)

Here is the issue...!!

 

Spoiler
Block diag with waveform.PNG

 

Either delete it OR double click and change the configuration as shown below...!!

 

Spoiler
To Dynamic Data.PNG

 

 

Hope this is the solution...!!


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 14 of 17
(829 Views)

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)

Download All
0 Kudos
Message 15 of 17
(824 Views)

Any suggestions anyone.. Why is it giving so low values on time?

 

0 Kudos
Message 16 of 17
(803 Views)

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:

 

Read Most Recent Samples.png

 

I'm assuming your application doesn't bother about gathering all the samples... Smiley Very Happy


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 17 of 17
(785 Views)