LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CURL Error 363700 on compact rio

Trying to send an SMTP email from a compact rio (with alarm information) and I get:

 

Error 363700 occurred at LabVIEWSMTPClient.lvlib:Send.vi:2280001.

Possible reason(s):

LabVIEW:  An internal error occurred when setting a CURL option.

 

Does anyone know what this means?

 

 

 

 

0 Kudos
Message 1 of 12
(4,797 Views)
Well a quick check of Google shows that curl is a library or executable that sends email.

How is your send configured?

Can you send any emails?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 12
(4,746 Views)

Thanks- No, can't send any emails from the RIO, but the exact same code works from a desktop PC.  

There isn't much to configure for SMTP on port 25 - just the address of the server, sender email, to: address and message contents, its all pretty simple, that's why i'm stumped. (  I did upload the SMTP library to the cRIO (else it errors on the open handle.vi).  )

 

smtpsnip.png

0 Kudos
Message 3 of 12
(4,656 Views)
Oops, if the SMTP library is making calls to this CURL external code, it will be the x86 version of the code. That could be a problem...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 12
(4,645 Views)

Which RIO are you using? SMTP is not supported on VxWorks and only partially supported on Pharlap (http://digital.ni.com/public.nsf/allkb/ACDA5B0F5940674B862572D1007D45EA)

Aaron L.
Applications Engineer
National Instruments
0 Kudos
Message 5 of 12
(4,617 Views)

Thanks for the response.  This is a CRIO 9704 running VXworks.

0 Kudos
Message 6 of 12
(4,536 Views)

Thanks for the response - as SMTP is not supported, any ideas of a workaround or alternative?

 

 

0 Kudos
Message 7 of 12
(4,482 Views)
Is the crio connected to a pc? If so you could create a separate process there that does nothing but send emails. The crio would then pass the data up to the pc and get a status back.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 8 of 12
(4,468 Views)

That's what i'm doing. but that creates more potential points of failure.  Given that these are critical alarms the design philosophy is to keep it as close to the hardware as possible. 

0 Kudos
Message 9 of 12
(4,455 Views)
OK, I get that, but regardless of how close you get the email to the crio, you're still talking about email -- not particularly noted for its reliability is critical situations

It would seem that the potential failure is a lot higher between the pc and the email server, than it would be between the pc and the crio.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 10 of 12
(4,443 Views)