LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why I use Serial communication in LabView it will run like a loop but I don't create a loop

I don't see where you are saving data.

 

Check to see if the number of bytes equals zero and use that to drive a case structure where you either do save or don't save your data.

0 Kudos
Message 11 of 16
(397 Views)

@thecone wrote:

I try to add an resgister to save the data but I have a problem. When the period is less than the delay time I send from my PIC. the data receive will equal 0. I can not save the data when it do that.

Can you help me to fix that


You have not done a single thing that I suggested. That shift register makes no sense to me. What do you think it is supposed to do?

0 Kudos
Message 12 of 16
(392 Views)

Sorry I am new with LabVIEW.

I can save the data when I use the local variable. But I don't want to use this. Can you help me another way to store and display the data when the period is less than the delay time my PIC send ( the data will be zero if the period is less than the delay time ).

Here I try to use the shift resgister but I doesn't work.

 

0 Kudos
Message 13 of 16
(376 Views)

Your shift register does not make any sense. Try this mod.

0 Kudos
Message 14 of 16
(369 Views)

Your mod is great.

I reversed the table to see the new data update.

0 Kudos
Message 15 of 16
(353 Views)

When my period is larger than the delay time data send from my PIC. How I can get only the lasted data ? (But do not use shift register or variable)

Can you help me? Smiley Sad

0 Kudos
Message 16 of 16
(337 Views)