For Windows:
If your network admin imposes specific addressing requirements or if you are having trouble with a link-local connection between your Ethernet cDAQ device and your computer, you may need to configure a static IP address on your cDAQ device.
-
The factory reset the Ethernet cDAQ device by holding down the reset button for more than 5 seconds. This will put the device into a default state and configuration. See the manual for the device-specific default configuration.
-
Connect the Ethernet cDAQ device to the Ethernet port on your computer or the network you would like to connect the device to.
-
In Measurement & Automation Explorer (MAX), expand My System»Devices and Interfaces. Right-click Network Devices, then Find Network NI-DAQmx Devices.
Figure 1. Find Network NI-DAQmx Devices
-
In the Available Devices list, select your Ethernet cDAQ device, then click Add Selected Devices.
Figure 2. Add Selected Devices
-
On the Network Settings tab (1), choose Static in the Configure IPv4 Address dropdown (2), and enter a local IP address (e.g. 192.168.2.10) in the IPv4 Address field. Click Save to apply the settings. You will lose connection while the device restarts.
Figure 3. Network Settings
- Make sure the cDAQ chassis is connected to the same subnet as the one you just assigned to it. If you are using a Windows computer, you can find the subnet the device is connected to by connecting a computer to the network the device is using, running the ipconfig command, and looking at the IP address and subnet mask assigned by the router.
- In MAX, under Network Devices, right-click your cDAQ device, then click Add Device.
For Linux:
With an Ubuntu target, these suggestions on configuring the static IP address using NI-NAX are not possible since the
nidaqmxconfig tool does not provide this level of abstraction. Thus instead the following approaches are recommended:
- Configure the static IP on a Windows PC and then connect the chassis to the Ubuntu target
- Modify programmatically the IP using LabVIEW as detail in this resource