
Configuring the PXIe-8521 in MAX
Use Measurement & Automation Explorer (MAX) to configure your National Instruments
hardware. MAX informs other programs about which devices reside in the system and how
they are configured.
1.
Launch MAX.
2.
In the configuration tree, expand
Devices and Interfaces
to see the list of installed NI
hardware.
Note
If you do not see your module listed, press <F5> to refresh the list of
installed modules. If the module is still not listed, power off the system, ensure
the module is correctly installed, and restart.
3.
Expand your module to see the list of ports.
4.
Record the NI-XNET interface name that MAX assigns to each port of the hardware. Use
this name when programming the PXIe-8521.
5.
For each port, configure the port mode to either Direct or Tap, depending on whether you
want to fully participate in network communication as an endpoint (Direct) or monitor an
existing network connection (Tap).
6.
For each port, configure the PHY state to either Master or Slave, depending on the
corresponding state of the PHY that you are connecting to.
Note
Two PHYs that are physically connected must be configured to use
opposing PHY states. One PHY must be configured to be the master, and the
other PHY must be configured to be the slave.
7.
Self-test the hardware by selecting the item in the configuration tree and clicking
Self-
Test
in the MAX toolbar.
The MAX self-test performs a basic verification of hardware resources.
Programming the PXIe-8521
You can program the PXIe-8521 using both the NI-XNET API and the operating system's
standard network stack API. Both APIs can be used simultaneously. Select an API based on
the needed function, listed below:
API
Functionality
NI-XNET
•
Monitor
•
AVB endpoint
•
IEEE 802.1AS synchronization
•
Trigger synchronization
•
Port configuration
Operating System Network Stack
•
Network sockets (TCP/IP and UDP/IP)
NI-XNET provides many of the advanced data access and timing & synchronization
capabilities for the device, while availability of the OS network stack provides a
PXIe-8521 User Manual
|
© National Instruments
|
9