Configure The Timing; Start The Session; 4.10 Read Data - 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

Table 4-4 Sync Out Sources Supported by the CUeiVRSyncOutLine Class (Cont.)
Sync Out Source
UeiVRSyncOutLineTooth0
...
UeiVRSyncOutLineTooth7
UeiVRSyncOutLineZTooth0
...
UeiVRSyncOutLineZTooth7
UeiVRSyncOutLineDirection0_1
...
UeiVRSyncOutLineDirection6_7
UeiVRSyncOutLineTorque0_1
...
UeiVRSyncOutLineTorque6_7
UeiVRSyncOutLineEndofMeasurement0
...
UeiVRSyncOutLineEndofMeasurement7
UeiVRSyncOutLineSyncLine0
...
UeiVRSyncOutLineSyncLine3
4.8
Configure the
Timing
//configure session to use Point-by-Point DAQ mode
vrSession.ConfigureTimingForSimpleIO();
4.9
Start the
Session

//Start the session.

vrSession.Start();

4.10 Read Data

//Create a reader for channel 0 and link it to the session's data stream.
CUeiVRReader reader(vrSession.GetDataStream(), 0);
© Copyright 2024
United Electronic Industries, Inc.
Set sync out line to high when any tooth is detected on
channel n
Set sync out line to high when Z tooth is detected on
channel n
Set sync out line to high when detected quadrature direction
is clockwise on the channel pair
Sync out line pulse whose width is equal to time between
zero crossings on the channel pair
Sync out line pulse when end of measurement period is
reached on channel n
Sync out line signal from sync line n
Only Point-by-Point data acquisition mode can be used to transfer data between
a Framework application and the DNx-VR-608.
Point-by-Point mode transfers one sample at a time to/from each configured
channel of the I/O board. The delay between samples is controlled by the host
application (e.g., by using a Sleep function), thus limiting the data transfer rate
to a maximum of 100 Hz. This mode is also known as immediate mode or simple
mode.
After the session is configured, you can start the session manually:
If you don't explicitly start the session, it will automatically start the first time you
try to transfer data.
Channels on the VR-608 are read independently. You need to create a reader
object for each configured channel:
February 2024
DNx-VR-608 Variable Reluctance Interface
Programming with the High-level API
Description
Chapter 4
36
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