Software Triggering | |||||||||||
Home | DAQ Techniques | Download as a PDF | View as one page<< Previous 1 2 3 4 5 6 Next >> Software Triggering, Part 5
Despite its speed limitations, software triggering for level detection might still be faster by a wide margin than what your PC host or a Programmable Logic Controller could do. If a response delay of one millisecond is acceptable, a Data Acquisition Processor might have the speed you need to detect critical levels AND control your processes. Or go back to start at page 1 of Software Triggering. Multi-Input ON-OFF ControlFor this example, an automated manufacturing process will inject a carefully measured amount of liquid into a bottle, and then the bottle will be moved to the next station for subsequent processing. For purposes of filling the bottle, there is a sequence of events.
We will concentrate on the triggering. The problem here is that one sensor starts the fill operation, while a completely different sensor stops it. A Programmable Logic Controller is a suitable alternative for this application if speed requirements are moderate and you don't need to worry about high measurement precision. A PLC can give you 1/30 or 1/60 second time resolution, but a DAP board can give you 1/1000 second time resolution easily. ON-OFF Triggering with DAPL Suppose that the optical sensor readings come in on input
data channel Suppose that the weight sensor readings come in on input
channel The DAPL system provides a special command called
TOGGLE ( IPipe0, inside, 0, 1000, \ IPipe1, outside, -32768, 24000, T_Fill ) The details:
Responding to ON-OFF Events The strictly alternating sequence of TOGGWT ( IPipe1, T_Fill, P_DigPort, "FORMAT=STREAM" ) The The rest is beyond the scope of this article, but to
summarize briefly, the data in pipe All of the examples so far determine triggering conditions by observing signals independent of the PC host. But what if there are conditions that only the PC host can detect? We cover an example of this in the last part of the series. << Previous 1 2 3 4 5 6 Next >> View as one page |