03-19-2025 03:16 AM
NI max Think DAQ has a differen IP even if i change it
the tasks thinks the same as nimax
if I ping the ping is on the IP I like
the program thinks it has another IP
03-19-2025 06:13 AM
This is a "link local" IP address. Your cDAQ is set to DHCP mode but there is no DHCP server to get a local IP address from. The device then will self assign a link local address. But if this device is connected to a Ethernet port on your PC that has an incompatible subnet, the DAQmx driver can't really communicate with it to set it to a new address. This is a limitation of the NI device communication layer.
There are two ways to deal with this:
1) If your PC receives also a DHCP address from a DHCP server on your company network, simply connect your cDAQ chassis temporarily to this same main network so that it can query a valid DHCP address from that server. Then configure the cDAQ chassis to whatever private address you want and reconnect it back to your local private network with the same subnet as you just configured the cDAQ with.
2) Change the local network adapter on which you connect the cDAQ, temporarily to use DHCP too. Since that private network has no DHCP server, your PC will then self assign another link local address to its network adapter and you can now communicate with the cDAQ. If you want to use fixed IP addresses anyhow, reconfigure the cDAQ to whatever fixed address you want and then change the PC network adapter back to a compatible fixed network address.