In the auto refresh mode the measurement value is updated automatically after each acquisition.
More...
Functions
- int MX370x__TransducerInitAndStartAutoRefresh (xsd__unsignedLong ulTransducerSelection, xsd__unsignedLong ulChannelMask, xsd__unsignedLong ulAverageMode, xsd__unsignedLong ulAverageValue, xsd__unsignedLong ulDivisionFactor, xsd__unsignedLong ulTriggerAction, xsd__unsignedLong ulHardwareTriggerCount, xsd__unsignedLong ulHardwareTriggerFilterTime, xsd__unsignedLong ulByTriggerNbrOfSeqToAcquire, xsd__unsignedLong ulOption1, xsd__unsignedLong ulOption2, xsd__unsignedLong ulOption3, xsd__unsignedLong ulOption4, struct MX370x__Response *Response)
- Initialise and start the transducer auto refresh acquisition mode.
- int MX370x__TransducerGetAutoRefreshValues (void *_, struct MX370x__unsignedlong17ArrayResponse *Response)
- This function get the auto refresh counter value an the channels values.
- int MX370x__TransducerStopAndReleaseAutoRefresh (void *_, struct MX370x__Response *Response)
- Stop and release the transducer auto refresh acquisition mode.
Detailed Description
The analog acquisition is initialised and the values of each channels are stored in memory on the Ethernet module MSX-E370x.
The PC reads the data asynchronously to the acquisition via the data socket or a SOAP function.
You can define a mask of all channels that should be acquired.
In the auto refresh mode you can activate the channel average value computation on the module:
- Average value calculation per channel : Each channel is acquired x times to compute an average value for the channel.
- Average value calculation per sequence : All sequences are acquired x times to compute a average value per channel.
You can start the acquisition by a hardware trigger in the auto refresh and sequence mode.
The hardware trigger can react to a rising edge, falling edge or both edges.
You have the following possibilities:
- Initialising a filter on the trigger input to avoid errors
- Defining a number of edges before a trigger action is generated
There are two trigger modes:
a) One shot
b) Sequence
a) One shot:
After the software start, the module is waiting for a trigger signal to start the acquisition. After this the trigger signal is ignored.
b) Sequence:
After the software start the module is waiting for the trigger signal and acquires x sequences (also adjustable) and then wait again.
There is also the possibility to stop the acquisition with the hardware trigger.
This can only be do when :
- the hardware trigger is not used to start the acquisition.
- the hardware trigger is used in one shot mode to start the acquisition.
In the case of the hardware trigger is used to start the acquisition in one shot mode, then the hardware trigger start condition can restart the acquisition !