FlexLogger

cancel
Showing results for 
Search instead for 
Did you mean: 

looping set of events

Hi 

 

 i want to loop a set of events over and over.

 

such as 

 

Event 1 :  after 10 seconds (elapsed time)  set NI-9482 relay 1 closed 

Event 2  : after 10 minutes and ten seconds (elapsed time)  set NI-9482 relay 1 open

 

now i want to repeat that over and over like a repeating timer circuit to start and stop a motor or pump or whatever it may be.  

 

any suggestion on how to accomplish looping ?

0 Kudos
Message 1 of 2
(1,307 Views)

There isn't a good way right now to do this with just what is built in to FlexLogger (more advanced sequencing is coming down the line and we will make sure this use case is covered).  There are two extension points you could use to achieve this behavior:

1. Write to SystemLink tags - All outputs in FlexLogger can be controlled using SystemLink tags (https://www.ni.com/documentation/en/flexlogger/latest/manual/using-systemlink-tags-to-exchange-data/).  Essentially you would write a little LabVIEW program (Python support is coming soon) to handle the automation.

 

2. Write a FlexLogger plugin (another small piece of LabVIEW code) which wrote a channel you could trigger your event/actions off of in product. Resources: http://www.ni.com/pdf/manuals/378088c.html and https://www.ni.com/pdf/manuals/378089c.pdf.  The idea would be once you started the test the plugin could output a value after 10 seconds and a different value after 10 minutes ten seconds.  You could create an event that watches that channel to send the correct output to the 9842.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 2
(1,284 Views)