LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Increment Value and plot the graph

Hello,

 

I am setting a starting point and stop point with a step value and checking the number of time the LED blinking and want to plot it in a graph (No. of. LED blink vs time). I have used a Sub-VI which works perfectly when I execute it separately. But when I implement in the main VI there's no response on the LED blink. 

Here is the block diagram of my program:

jrengg_0-1678205144429.png

Is there any other way were I can execute the above mentioned question?

or

Is there any mistake that I have made in my design?

Please give your valuable feedback and response.

 

Thank you.

0 Kudos
Message 1 of 2
(717 Views)

Unfortunately, we cannot troubleshoot pictures, especially if there are unknown subVIs.

 

Please attach your code, explain how you use it, explain what you see and what you expect to see instead. (Since we don't have your instrument, substitute simulated data)

 

Your code has extremely poor architecture.

  • You definitely don't need a stack of while loops, one is sufficient! Think "state machine"!
  • There is no timing
  • a shift register where the value is never used seems silly
  • converting a DBL to DBL seems pointless.
  • etc....
0 Kudos
Message 2 of 2
(709 Views)