LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reset timestamp when event accured

Solved!
Go to solution

hi

 

i have a event that handel 4 button and in timeout block draw online chart with clock and date on X axis,

every thing is ok but when i press a button and event accuerd tme reset to 1994 ...

why?

my code here... i read information from some global var(in attachment)

please help me for correct this problem

thanks.

Download All
0 Kudos
Message 1 of 3
(3,669 Views)
Solution
Accepted by topic author meysam_b

Hi meysam_b,

 

You need to wire through all data in every case in the event structure.

before and after.png

 

 

Repeat this for every wire that goes through a shift register.

 

The fast way to do this is to link the tunnels. Right-click the output terminal then use the Linked Input Tunnel menu to establish a link. After you choose Create & Wire Unwired Cases just click on the associated input tunel and LabVIEW will create the links for you automatically.

 

link terminals.png

 

This should fix the resetting time stamp.

 

 

 

~~
Message 2 of 3
(3,626 Views)

hi nickf

 

thanks man! it's worked and I learn a new thing from you. thank you again for your clear answer and for your time.

0 Kudos
Message 3 of 3
(3,618 Views)