Configuring the System for RTX64 Vision

Follow these steps to configure the target system for RTX64 Vision.

Convert a supported device to RTX64 control:

Convert a supported Network Interface Card (NIC) from Windows control to RTX64 control. See the topic Converting a Windows Device to an RTX64 Device in the RTX64 Help for instructions.

All NICs supported by RTX64 will also work with RTX64 Vision (see the RTX64 Supported NICs document for the complete list). Based on internal testing, we recommend a NIC supported by one of the following drivers:

Configure the RTX64 Subsystem:

  1. Open RTX64 Control Panel.
  2. Navigate to Configure the RTSS Subsystem > Configure memory allocation behavior and make the following changes:
  3. Set Subsystem and application memory allocation defaults to Request from local memory pool (deterministic).
  4. In the Local memory pool size field, enter a value equal to or greater than 16,384KB. You should increase this value if your application requires additional memory.
  5. Select Auto expand and Auto shrink if you are unsure of the amount of memory you require.

NOTE: Since expanding the pool requires non-deterministic calls, we recommend that you calculate the total memory required by your application and set the pool size accordingly.

  1. Navigate to Configure the RT-TCP/IP Stack > Manage Interfaces and Filters and do the following:
  2. Add a new RTX64 interface. For more information, see the topic Adding and Deleting RTX64 Interfaces in the RTX64 Help.

NOTE: The RTX64 Vision sample and OpenCV code use the name RtGigE_01_Nic. If you specify a different name, you will need to manually replace RtGigE_01_Nic with that custom name in both the sample and OpenCV code.

  1. Configure the IPv4 address that you would want to use. For more information, see Configuring IPv4 Address and Netmask Pairs in the RTX64 Help.
  2. Enable a filter for the new interface and set the filter to RtGigE_Filter.rtdll, which can be found in \RtVision\bin\. For more information, see Associating a Filter with an RTX64 Interface in the RTX64 Help.
  3. Restart the RT-TCPIP Stack for your changes to take effect.

The system is now setup to run an RtVision application such as CannyTest (if OpenCV is being used).

NOTE: The RT-TCP/IP Stack must be started before you can run your RtVision application.

Related Topics: