Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Send Email using Gmail from a Labview-RT target

Hello, I just tried out the gmail.vi for sending emails from labview, works great.  Is it possible to implement this same function on a real-time target like a cRIO runing labview real-time 2009.  It doesn't seem that the real-time targets accept the .net function calls.

 

Thanks,
Dave

0 Kudos
Message 1 of 19
(10,729 Views)

Dave,

 

I'm pretty sure the .NET calls are OS-specific and so should not work under the Real-Time operating system.  I know the SMTP VIs don't allow an email to an authenticated server (GMail), but should work in RT.

Message 2 of 19
(10,706 Views)
I have problem in using smtp vis with crio 9014, i have this error code 53, Manager call not supported
0 Kudos
Message 3 of 19
(10,617 Views)

Hi Serialdiver,

 

What model cRIO controller are you using? 

0 Kudos
Message 4 of 19
(10,605 Views)
I'm using a 9014 crio controller with 3.3.0 software!
0 Kudos
Message 5 of 19
(10,603 Views)

Hi Serialdiver,

 

There is currently a Corrective Action Request (#55009) where this error is given by the SMTP VIs on a VxWorks cRIO, such as the cRIO-9014.  Give the set of VIs I've attached to this post a try and see if it works. 

0 Kudos
Message 6 of 19
(10,598 Views)

The VIs in the zip above work well for me. They are in French, but they send emails on my cRIO-9073 in LabVIEW 2009 without any issues.

 

In order to use them effectively without overwriting my normal SMTP VIs, I extracted the zip to "C:\Program Files\National Instruments\LabVIEW 2009\Targets\NI\RT\vi.lib\Utility". This lets LabVIEW use these updated VIs whenever it is deploying to a realtime target, but otherwise to use the original (non-French) VIs for normal PC targets.

 

 

-Jody 

Message 7 of 19
(10,513 Views)

Hi,

I have the same problem with Labview 8.6 with a compact field point application. Is it possible to solve it?

Thanks

0 Kudos
Message 8 of 19
(10,326 Views)

Hi manzo,

 

Did you try the VIs that were attached above? What model cFP controller are you using?

Message Edited by Smootastic on 02-16-2010 03:23 PM
0 Kudos
Message 9 of 19
(10,304 Views)

Hi, I had problems using labview 8.6. Now I'm using 9 and it works.

Thank you so much

0 Kudos
Message 10 of 19
(10,212 Views)