ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alarm system

I edit an alarm program, the problem is that i cant run it continuously. I had to restart the program and start it again for it to work. How do i make the alram to able to reset the system

Download All
0 Kudos
Message 1 of 7
(4,450 Views)

Hi lame,

 

how many threads about burglar alarm systems do you want to start? Why not keep it in one place?

 

Your VI

- needs some timing. No need to check alarms several times each microsecond.

- needs a way to reset old alarms. Right now you can't... (Hint: you're using shift registers. They are uninitialized...)

- has an "interesting" password check... No need for using the exactly same password when "retyping"!? No need for retyping the password when the VI is started again!?

- needs a loop to run continuously...

 

Best regards,
GerdW


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

I dont get what you mean by the shift register thingy.

0 Kudos
Message 3 of 7
(4,420 Views)

Hi lame,

 

when you don't know about "uninitialized shift registers" you should go through LabVIEW basics...

Best regards,
GerdW


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

How do i make the vi run without typing the password

0 Kudos
Message 5 of 7
(4,385 Views)

Hi lame,

 

what's the use of a password when you don't need to type it when you start your program???

Best regards,
GerdW


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

What i mean is, that when i start the vi and when restart the alarm, i dont need to retype the password again. How do i do that?

0 Kudos
Message 7 of 7
(4,324 Views)