LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

genrate alarm

Solved!
Go to solution

hi,

 

   I have created SQL database and store some element expiry date in this table. Now i want to genrate a alram when today date and expiry date are equal. And i don't know, how do i do that. please someone help me.

--
Thanks & Regard
Nitin Jain
0 Kudos
Message 1 of 4
(2,442 Views)
Solution
Accepted by topic author nitinjainitm@yahoo.co.in

Hi Nitin,

 

try this:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,435 Views)

hi GerdW,

 

    Thanks for your reply. Could you please tell me, how am i know which element has been expired.

Becouse i have 3300 element and all element expiry date is store in SQL Table. i know how can i read this table but generate alarm is the main problem please help me

 

 

 

--
Thanks & Regard
Nitin Jain
0 Kudos
Message 3 of 4
(2,407 Views)

Gerd's example shows you exactly how to generate an alarm. I don't think you really know how to do the query. It would be simply setting it to return all items with an expiration date less than or equal to the current date. All rows returned would be expired.

0 Kudos
Message 4 of 4
(2,394 Views)