LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I get LabView to trigger on when a measurement reaches a certain value?

Solved!
Go to solution

1.  I'm running an expirment in another room, and I would love to be able to leave it, then have it email me (or something, let's just say run an .exe or comparable) so that I can know to come back and monitor the experiment.

 

Is there functionality for that in LV that I haven't seen?  What about in 8.6 or future releases?

 

2.  I'm having serious hangs with my XP SP2 and LV 8.5.1, running a VI that loops continuously, although I think today that maybe I figured it out.  It was possibly because of my anti-virus software, AVG Free. 

 

Are there known stability issues with anti-virus software, or in the XP edition in general?  I am getting hangs between 20 minutes and a few hours in, but then only rebooting fixes it.  I just uninstalled AVG Free (obviously not a permanent fix), and am trying it without.

 

 

 

0 Kudos
Message 1 of 10
(3,551 Views)

With respect to your first question: This gets asked all the time. LabVIEW has built-in functions for sending emails. They are limited to using servers that don't require authentication (which are almost non-existent nowadays). Your other option is to use .NET (example), or the older OpenG smtp VIs (here).

 

With respect to your second question: The problem is most likely your computer or your code. If you post your code then someone on these forums can take a look at it to see if they spot something. 

0 Kudos
Message 2 of 10
(3,547 Views)
Solution
Accepted by topic author jumpman junior
If you want your program to perform a specific action based on a measurement, the most basic way is to use the comparison functions. The inputs are polymorphic so you can wire a variety of data types to an input. You can then just wire the output to a case statement. You have email functions on the Data Communication>Protocols>SMTP Email palette.
0 Kudos
Message 3 of 10
(3,546 Views)

Those 2 listed exactly what you want to do.

 

What I was going to say is that you can use your cellphone carrier's phone email to have it send a text message to you.  For AT&T its like "phone number"@att.txt.com   Its kind of nice since you can go eat lunch and still know whats going on.

0 Kudos
Message 4 of 10
(3,510 Views)

Hey thanks, that information is very helpful.   I am implementing that now.

 

Just a quick note about #2. above, which hasn't been mentioned (separate topic probably).  Really quickly, I wanted to say that uninstalling AVG Free has appeared to fix all hangs.

 

So if you're seeing the processor usage for the LabView.exe go to 100% and stop responding, you might want to look into anti-virus as a contributing cause.

 

Thanks again!

0 Kudos
Message 5 of 10
(3,506 Views)

AVG free???

 

I use that on all our machines in the company and the ones that I send out to people and never had an issue. 

0 Kudos
Message 6 of 10
(3,497 Views)

Yes, AVG Free.  I was having issues, and then one day I noticed that the hang happened EXACTLY as AVG started scanning.

 

I have since uninstalled it and it has been running without issue.

 

If it matters, I am running on XP SP2, inside of a VMWare Fusion emulator on a MacBook Pro.

0 Kudos
Message 7 of 10
(3,453 Views)

LOL....

 

One of my biggest problems has been World Or War Craft.......!!!!!!!!!!!!!1

 

I found that some of the factory workers are playing it on the PCs and messing up the databases. The don't know anything on the PC, but how to play WOW and check their emails. It drives me crazy, and getting the customer to pay for the problem solving is a real pain.

0 Kudos
Message 8 of 10
(3,436 Views)

WOW....classic.

 

A bit more info from me....I had seen LabView work for days straight without a reboot, until today.  Today, it hung again.

 

I feel very strongly that LV is the offending party here.  AVG happened to be very good at triggering it.  You find that WOW (or something) can also trigger LV problems.  I'm not surprised.

 

If anyone from NI is listening and would be willing to chase this problem, I would be happy to help.

 

0 Kudos
Message 9 of 10
(3,428 Views)

I just had a problem last week with it again too....   We had over a 100 man hours of people doing database review and repair, manual inventory counting, and everything else.  He was playing the game while operating a mini-bulk filling station...  It has something to do with the ODBE.           I really hate that game.

 

I have been joking about writing an anti-virus program that recongizes that as a virus. 

0 Kudos
Message 10 of 10
(3,402 Views)