Hi!
I am rewriting an old LabVIEW application and at the same time I have replaced the associated hardware. I would need to rewrite the watchdog fonction and I need some advices to do so. The old watchdog signal was generated from a Racal VXI device and today I have a NI PCI-6052E device.
Briefly, I need to generate a digital output at low-level as long as everything is OK. As soon as a software hang or similar problems occure I need to switch my digital output to high level. This signal controls a relay that will disconnect critical equipments. I have found an example (http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E48B56A4E034080020E74861&p_node=DZ52071&p_submitted=N&p_rank=&p_answer=&p_source=External) that looks pretty much
like what I need, but I am not sure that my device works with this VI.
I enclose the old watchdog VIs. The INIT_WD VI is ran at start up. It configures the VXI device so that when the trigger goes off, the values in the buffer 'T' are read one by one every 1,25 seconds. The RELANCE_WD VI is ran every 5 seconds (at the end of each series of measurements). It starts the trigger and the first value of 'T' is read. When a software hang occures, the RELANCE_WD will not be ran, the buffer will be read to the end and a high level signal will be sent to the output.
Today the sampling rate (and then the watchdog refresh rate too) is set to 5s. I would like to customize this interval. What is the shorest and the greatest delay I can program (from a 'watchdog point of vue')?
I do also use a PCI-DIO96 device. If you know an easier way of programming my watchdog using this device, I would appreciate any suggestions.
I hope this makes you understand my problem, but please do not hesita
te to ask for more details.
Thank you!