LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Watchdog base

Hi all,

 

Two questions concerning watchdogs (e.g. for use in CRIO 9068 or 9033):

1. Is the LabView watchdog software based or hardware based?

2. Is there a header file to add watchdog functionality in c/c++?

 

Thanks in advance for your answers,

 

Jens

 

0 Kudos
Message 1 of 4
(1,837 Views)

yes and no.

You are programming here with c API an FPGA, there are VHDL Files generated in the background and the bitfile is distributed to the hardware.

What you are basically doing is righting code to the hardware. Therefore the whole programming is in hardware, therefore it is reliable.

 

A watchdog is not directly included as a function, yet here:

http://zone.ni.com/reference/en-XX/help/372928G-01/

 

But you can very easily build one yourself. It is basically a counter which counts to a certain number and --- provided it is not resetted---   resets the target.

0 Kudos
Message 2 of 4
(1,784 Views)

I think the watchdog functionality built into some LabVIEW RT CompactRIOs and PXI systems is a hardware watchdog and it will reset the CompactRIO if you stop 'poking' it from within your RT application. Obviously you might not want your controller to reset if the RT application stops working which is why we generally implement our own watchdog functionality (from Windows/RT to FPGA).


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 4
(1,774 Views)

Ok, I will build my own watchdog on the FPGA (with LabView) which is triggered by C code using the FPGA C API.

 

Thanks for your Answers.

0 Kudos
Message 4 of 4
(1,763 Views)