Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

timed control loop

$
0
0

Hello

 

I am trying to control some devices (triggers for other devices, etc) at given "absolute" times, not related to any other events. I consider that the best way would be to use the sample clock of my PCI 6229 card.

 

Although this must be a very elementary question, I am not able to find a natural way  to solve. According to DAQmx help, I could use a "Wait for Next Sample Clock" to align the steps of a loop with time. However, I find it artificious to create a I/O task only to be used as a clock (apart from reserving useful resources).

 

I more text-oriented, so I use ANSI-C programming. I have had a lool to the "configured timed loop" VI but I cannot access its code. Furthermore, there must be a simple basic concept answer applicable to ANSI-C.

 

The application tries to control the feeding of differente gaseous reactives at different times to a chemical reactor. Apart from the time loop, the PCI 6229 is controlling several temperatures by reading thermocouples and switching on/off several heaters through relays.

 

Thank you

 

Carlos Soria-Hoyo

Sevilla, SPAIN


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>