1-82
Note:
To modify the number of channels sent, (packet size) edit the Packet Size
parameter found in the RZ_UDP_Send macro setup properties.
Receiving Scalar Data Construct
When data is received, the NewPack signal will output a logic high (1) denoting
that a packet header has been found. As data is being received, the Busy signal
will output a logic high (1) and as soon as the header has been received,
NewPack will go low (0). The Busy signal will then remain high until the entire
packet has been received. The duration of the busy signal is then dependent on the
number of channels to send (packet size). Each high duration of the Busy signal
results in one received packet. This means a single packet received results in one
sample received per channel.
If reset goes high (1) at any time, receiving data is halted and the macro will wait
until a new header is found. Any data that was received will still be available on the
multi-channel output.
Note:
Since the data packets are received serially, multi-channel data is not received at
the same time on the Output. There will be a time shift in channels two and higher
directly proportional to the channel number.
In this circuit construct, software triggers are used to send commands to the
peripheral device (head tracker). The multi-channel output contains the tracking
information and can be further processed and/or stored to the data tank.
UDP Test Application
In addition to the RPvdsEx macros, the UDP Ethernet interface also provides a
software test application which can be used to connect to a specified UDP interface
in order to send or receive packets from an RZ multi-processor device. The UDP
Test Application was written in MSVC++ to illustrate the portability of the UDP
Ethernet interface.
The UDP Test Application is installed to: C:\TDT\RPvdsEx\Examples\RZ UDP\
Running the Application
Once the application is running, connecting to a UDP interface and sending, or
receiving packets from an RZ processor is extremely easy.
Packets can be loaded, saved, and edited. Additionally, the packet format can be
converted to double or integer format.
RZ-UDP Communications Interface
System 3
Need help?
Do you have a question about the RZ2 and is the answer not in the manual?