FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to set up an alarm log through Labview taking alrms in using inputs from fieldpoint

I am trying to set up an alarm log using error messages i have created myself. At the moment I have a write to spreadsheet file adjusted to take an array of strings instead of numbers where I save the results to a txt file. Here I create a database with Microsoft access which opens the txt file. This string array to spreadsheet VI is enclosed inside a case structure where in the event of an error the string explaining the error is saved to the txt file when the case becomes true. The problem i have is that while the error remains true the txt file keeps appending. I want to make a once off log of that error when it happens. Any ideas would be appreciated.
0 Kudos
Message 1 of 3
(3,364 Views)
Hi Noely,
Why can't you use a boolean trigger to generate the entry into your error log? The OpenG toolkit boolean trigger will take a rising edge (or falling) and generate a single pulse. This should allow you to place your write to spreadsheet vi in a case structure and it will only write to log once.

Ive attached a simple example outlining what I mean. Let me know if this is what you intended.
0 Kudos
Message 2 of 3
(3,347 Views)
I will try this and get back to you. Thanx for your help
0 Kudos
Message 3 of 3
(3,332 Views)