Read Torque (Rev. 2); Read Fifo Data; Data Read From Fifo - Ametek DN VR-608 Series User Manual

8-channel variable reluctance sensor interface for the powerdna cube and rack series chassis
Table of Contents

Advertisement

4.10.2 Read Torque
(Rev. 2)
//Read one value.
double torqueData
reader.ReadTorque(1, &torqueData, NULL);
//Print torque data.
std::cout << "% torque:" << torqueData << std::endl;
4.10.3 Read FIFO
Data
//Request 10 uint32's from the FIFO.
uInt32 fifoData[10];
reader.Read(10, fifoData, &numVals);
Table 4-6 Data read from FIFO
Mode
Timed
At TimedModeRate
Z-Pulse
Z-tooth found
N-Pulse
N-teeth encountered
Quadrature
At TimedModeRate
Decoder
Torque
N-teeth encountered
© Copyright 2024
United Electronic Industries, Inc.
The ReadTorque() method returns the torque ratio from a channel configured
for Torque Mode. See Section 4.5.2 for information on torque sensor
configuration. The other channel in the pair, which is configured for N-Pulse
Mode, is read using the Read() method described in Section 4.10.1. The
N-Pulse channel returns RPM.
If FIFO mode is enabled, you can read count register data from the FIFO with
the following call:
Table 4-6 summarizes what events will cause data to be stored in the FIFO for
each mode. The data will consist of various counter/timer registers and
optionally, the time stamp. Each returned parameter takes up one uInt32, and all
are returned in each call.
Event
Data[0]
CRH
CRH
CRH
CR
CRH
February 2024
DNx-VR-608 Variable Reluctance Interface
Programming with the High-level API
Data[1]
Data[2]
CRR in [31:16]
CR
CRL in [15:0]
CRL
CR
CRL
[TS]
CRR
[TS]
CRL
[TS]
Chapter 4
38
Data[3]
[TS]
[TS]
www.ueidaq.com
508.921.4600

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dna-vr-608Dnr-vr-608Dnf-vr-608

Table of Contents