Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

FGV Timer

Hello,

        I am trying to copy one of the "FGV Timer.vi", but there are lots of errors in the block diagram:

        1. The "time target" shift register is not enabled.. the line is dashed..I simply added a shift register, is it correct?

 

        2. on the right side, "has time elapsed" has a bad terminal.. maybe it is related to the first question.

 

         Thanks so much!

0 Kudos
Message 1 of 11
(3,794 Views)

Hey,

 

  1. You haven't connected any data to your shift register. LabVIEW doesn't what type of data you use so he just shows a black dashed line... Send something to the shift register inside your loop or just initialize it.
  2. Hover over the red cross and it says "Wire: Wire has loose end" > the wire is not connected to anything.
CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 2 of 11
(3,791 Views)

thanks.. but the sample VI that I copied from, that Register did not connect to anything.

then, how to initialize it?

 

 

0 Kudos
Message 3 of 11
(3,787 Views)

I connected it to the " time target" indicator, as enclosed..

 

but it did not seem right for me since it is not the same in the sample VI.

0 Kudos
Message 4 of 11
(3,785 Views)

What sample VI did you use ? I highly doubt there was nothing connected to the shift register inside or outside the loop.

 

Example here :

 

idjuven.png

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 5 of 11
(3,784 Views)

CLD 3 and 14 in the success package..

0 Kudos
Message 6 of 11
(3,782 Views)

idjuven.PNG

 

The command highlighted is sent into the shift register inside the loop, thus setting the data type used by the mentionned shift register.

CLAMaxime -- Kudos are a great way to say thank you
0 Kudos
Message 7 of 11
(3,779 Views)

THanks, but how to do it?

 

I still get the dashed line, if I disconnect the register to the indicator..

0 Kudos
Message 8 of 11
(3,775 Views)
CLD 3, look at the Start Timer case 😉
CLAMaxime -- Kudos are a great way to say thank you
Message 9 of 11
(3,773 Views)

thanks so much.. problem solved:)

 

do we need to put the "default case" as the first case always?

0 Kudos
Message 10 of 11
(3,769 Views)