cyclic frames of NI-XNET CAN interfaces by adding Skip
Cyclic Frames and Transmit Time channels.
Before you begin, import an outgoing CAN cyclic
In embedded networks, cyclic frames are
frames that transmit at regular intervals. You can add the following frame fault channels:
- Skip Cyclic Frames—Skips transmission of a specified number of cyclic
frames across the bus.
- Transmit Time—Specifies the amount of time that must elapse between
subsequent transmissions of a cyclic frame.
Launch the VeriStand Editor.
In the Project Files pane, double-click a system definition file
System Explorer opens.
in the configuration tree.
Click a port.
Select a frame and click Add Faulting Channels
VeriStand creates a Frame Faulting section under the frame in the configuration tree.
Click Frame Faulting.
Depending on your goal, complete the following tasks.
|Skip the transmission of a certain number of frames.
- Click Skip Cyclic Frames to display the
Skip Cyclic Frames Configuration page.
- Specify the Skip N cycles for the number of cycles
to skip .
- Specify the Trigger channel to use to start
Skipping begins when this channel does not equal zero.
|Specify an amount of time that must elapse between frame
- Click Transmit Time to display the
Transmit Time Configuration page.
- Specify the time that must elapse in the Transmit time
[sec] field, or select Use trigger channel to set
transmit time? and specify a trigger channel from which to get
VeriStand uses the value of the channel as the transmit time, in
Save the system definition file.
After creating Frame Faulting channels, you can use them like other channels in VeriStand.
For example, you can map them to other channels or to controls and indicators in the VeriStand Editor or
Use the XNET page of the Options dialog box to configure VeriStand to
always create faulting channels when you import NI-XNET frames. You can also use the
Import NI-XNET Frames dialog box to automatically create channels on
a one-time basis when you import frames.