Setup Windows XP PC as FTP Server for NI Smart Camera

Updated Jan 24, 2018

Reported In

Driver

  • NI-IMAQ

Other

  • NI 17xx Smart Camera
  • Windows XP

Issue Details

The NI 17xx Smart Camera transfers inspected frames for storage via the ethernet RJ-45 port to a File Transfer Protocol (FTP) server on the network.  I do not have an FTP server on my network.  How do I configure my 'Image Logging' step in Vision Builder AI to save images to my networked Windows XP PC?
 

Solution

Windows XP Professional allows you to install an additional component to run an FTP service in the background.  The FTP Service component can be set to run on Windows startup. You can also set a default folder on your root directory (typically C:\drive) to act as the FTP folder for storing frames from the NI Smart Camera.  The FTP Service is a component of the Windows Internet Information Service (IIS) in Windows XP Professional.

The steps below outline the activation of the FTP Service in Windows XP.
  1. On the Windows XP computer, click Start»Control Panel.
  2. Click Add/Remove programs and select Add/Remove Windows Components.
  3. Tick the box for Internet Information Services(IIS).
Figure 1. Windows Components Wizard
 
  1. Click Details and ensure that File Transfer Protocol is ticked.

Figure 2. Internet Information Services(IIS)
 
  1. Click OK and Next, and then Finish.
  2. In Control Panel, Select Administrative Tools»Component Services.
  3. Click on Services(Local) and select FTP Publishing.

Figure 3. FTP Publishing
 
  1. Right-click on FTP Publishing, select Properties, and configure settings. Click OK.
  2. Locate FTP folder on C:\Inetpub.
    This folder will be accessed by any network device by addressing ftp://[IPAddress of PC].
  3. In Vision Builder AI, add an Image Logging step from the Additional Tools section.  Tick Enable Image Logging - Inspect Active Image and insert IP address and login details.

Figure 4. Vision Builder AI Steup

Note: A reboot may be required to activate this service after installation. Windows Firewall, installed with Windows XP Service Pack 2, may also initially block the FTP Service from receiving data. The FTP port can be unblocked by changing the Windows Firewall settings by navigating to Start»Control Panel»Windows Firewall.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful