LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to include wait time , measure time and ramp rate in labview code

Hello,

    In the attached the VI I am monitoring (i) frequency (from a frequency counter) , (ii)  2 temperature radings using a LAKESHORE 350 . The frequency changes with temperature(which is controlled with a heater). I need to include an option to control the ramping up rate (with temperature step size) for the heater, and need to include a wait time and measure time for the frequency reading. For e.g.- step size = 1 Kelvin, wait time =1sec, measure time = 5sec. So after the temperature goes up by 1 Kelvin, the loop waits for 1sec and then measures the data generated for 5sec. Then does an average over the data points and this value is stored. I am completely new to Labviw. Detailed explaination (if possible with what options I need to add to the VI itself) would be really appreciated. Thanks a lot. 

NOTE - The first atachment is the main VI, the other 2 are subVI's.

0 Kudos
Message 1 of 6
(4,514 Views)
if you are beginner, you should start to learn LV programming, starting with the basics. Do you have access to Core1-2 online courses? You could go through those.

What you describe for your application can be easily done with a properly setup state machine.
0 Kudos
Message 2 of 6
(4,477 Views)

Thanks for the prompt reply. The thing is I need to do this urgently (in the next couple of days) for a project and am really running short on time . It would be really appreciated if you could send me the VI with the necessary structures on the block diagraml . If that's not a problem for you. Cheers in advance.   

0 Kudos
Message 3 of 6
(4,471 Views)
Sorry, i am travelling in the next days without LabVIEW.
0 Kudos
Message 4 of 6
(4,463 Views)

Okay. Can someone please help me out? This is really  urgent. My final year project depends upon it.

0 Kudos
Message 5 of 6
(4,454 Views)

@sourav0089 wrote:

Thanks for the prompt reply. The thing is I need to do this urgently (in the next couple of days) for a project and am really running short on time . It would be really appreciated if you could send me the VI with the necessary structures on the block diagraml . If that's not a problem for you. Cheers in advance.   


We don't work for free, we help out those that are willing to learn.  Hows that quote from Lincoln go?

 

"Give me six hours to chop down a tree and I will spend the first four sharpening the axe."

 

There is some free training at the end of this page that I don't think you are interested in.

 

https://forums.ni.com/t5/Community-Documents/Unofficial-Forum-Rules-and-Guidelines/ta-p/3536495

 

As for advice I'd say you need a state machine that goes from one state to the next, keeping track of if it taking data, waiting, or other modes.

 

http://www.ni.com/white-paper/3024/en/ 

https://www.ni.com/en/support/documentation/supplemental/16/simple-state-machine-template-documentat...

0 Kudos
Message 6 of 6
(4,433 Views)