LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP email sending and executable

Hi Kabanga,

i created a project and try it and if i reset the counter to 0 it works for me.

Mike

0 Kudos
Message 11 of 23
(1,006 Views)

Hi Mike,

the reset is also perfectly  working in my code (edit mode).  And I also added an "wait until next ms multiple" (500).
It is still sending emails the whole time it runs?
Is it possible to check some parameters while the exe is running? something like "probe" in edit mode ?

Best regards
Kabanga

0 Kudos
Message 12 of 23
(989 Views)

Hi Kabanga,

afaik it is not possible to use probes in an executable, but you can create indicators to see your states. If it is possible for you, you can upload a part from your "real" project and i try it on my pc.

Mike

Message 13 of 23
(984 Views)

Hi Mike

how to create these indicators? could you advise me?

Best regards
Kabanga

0 Kudos
Message 14 of 23
(976 Views)

Hi Kabanga,

i mean the "normal" indicators. Right click on a wire and select create indicator.

Mike

Message 15 of 23
(972 Views)
Hi Mike,

ok, I'll use the indicators and let you know what I observed!

Best regards
Kabanga
0 Kudos
Message 16 of 23
(966 Views)

Hi Mike,
I think that the idea of using indicators was good!!!   I observed that both inputs of "Equal?"  are  0. One of the input is changed when the user click some LED on the Front Panel. So, as far as we got no click  the VI will be continually sending emails.
Is there any way to do so that the inputs of "Equal?" are differents even when the user didn't click?
I observed also that now even in edit mode emails are being sent when the programme runs.

Best regards
Kabanga

0 Kudos
Message 17 of 23
(954 Views)

Hi Kabanga,

i´m not sure now what you mean. How can both values be 0 if one constant is 12?? Where do the serial values come from and what do you want to do?

Mike

0 Kudos
Message 18 of 23
(951 Views)
Hi Mike,
I'm very sorry for all that confusion. I'd post my entire code here, but I have no permission to do so.
The "12" is in fact not a constant. That input varies from 0 to 12 and it state depends on how many LEDs the user clicked (please see attachment. I just put 8 LEDs for explanation. There are 12 LEDs in fact). At the beginning all LEDs are off. So we have 0 on both inputs of "Equel?"

Best regards
Kabanga
0 Kudos
Message 19 of 23
(948 Views)

Hi Kabanga,

no problem, i only want understand what you try. Smiley Happy Is it necessary that minimum one LED is on to send an email? If yes, check this and combine both states.

Mike

0 Kudos
Message 20 of 23
(943 Views)