LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help...Urgent!!!! VI hangs after 7 min

I made a VI in Labview, it works fine but only problem is it stops recording data after 7 min , it is recording 3 thermocouple temperatures and one pressure. Please help!!

0 Kudos
Message 1 of 6
(2,855 Views)
I don't think anyone can troubleshoot with so little information. Why don't you attach your program.
  • What is your program architecture (State machine, stacks of sequences, etc.)
  • What is the data rate?
  • What happens after 7 minutes (recording stops but program keeps running? program stops?)?
  • What stops the main loop in the code (boolean, error condition, etc)?
0 Kudos
Message 2 of 6
(2,853 Views)
Thanks for responding.

My VI is a program for recording real time....time vs temperature data from three thermocouples
and Pressure vs time...The rate is 100HZ........If I make it small my program goes crazy and gives
sinusoidal waves even at constant temperature.
After 7 min the my real times goes off and graphs also goes ....and nothing gets recorded in the excel file.

I dont know much about Labview..this is first time I'm using it so I'm sorry if my questions are incomplete.



0 Kudos
Message 3 of 6
(2,850 Views)

Sorry, you're not helping us solve the problem. Descriptions such as "goes crazy" and "goes off" are meaningless. Does it always happen exactly after 7 minutes?

If the program is still running after 7 minutes, switch to the diagram and enable execution highlighting. You should be able to figure out where it gets stuck.

If you temperature reading strongly depends on sampling rate, something else is terribly wrong. Could it be your sine is an alias of the 50Hz power supply?

Why don't you attach your program? It would really help! 🙂

0 Kudos
Message 4 of 6
(2,846 Views)
Hello,

I'm not able to attach my VI file as it says this extension is not valid.
Here is a print screen of my block diagram.
Let me know how can I attach my program.


0 Kudos
Message 5 of 6
(2,833 Views)
Seems odd. What is the extension of your file?
 
I cannot tell much from the picture, especially since we are unable to see how the express nodes are configured.
 
(One thing strikes me as a bit strange: Why do you filter first and then select signals, instead of the other way around? ;))
0 Kudos
Message 6 of 6
(2,818 Views)