03-04-2024 07:45 AM
Hello everybody,
I am currently developping an application based on cDAQ-9185 chassis. The function DAQmxGetDeviceAttribute ("cDAQ9185-221E537", DAQmx_Dev_TCPIP_EthernetIP, buffer) returns the IP address. Is it possible to configure this ip address?
Thanks in advance for your support.
Best regards,
James
Solved! Go to Solution.
03-04-2024 10:04 AM
Hello!
In MAX, expand "Network Devices" and click on the cDAQ. If it is not showing up, right click on Network Devices and click "Find Network DAQmx devices". You will want the device to be on the same subnet as the computer.
Click on the cDAQ and then click "Reserve Chassis" found at the top of the window. Once the chassis is reserved, click on the "Network Settings" tab found at the bottom. From the drop down menu, select "Static IP Address"- you can change the IP address from there. Once you click save you should be all set!
Page 19 of the user manual goes over the initial setup- you can find that linked here.
Hope this helps!
03-05-2024 02:34 AM
If you want to do it programmatically, you'll likely have to dig into the NI System Configuration library instead of DAQmx. DAQmx is for use of NI DAQ devices, while the NI System Configuration API is for discovering and configuring all sorts of NI devices.
03-06-2024 08:10 AM
Thank you all,
It works now.
Regards,
James
08-07-2024 11:05 AM
Tried this a couple of times. Something is missing and I'm not sure what. IP subnet is correct. Connecting over either either isolated switch or crossover cable shows the same results as being on the rest of the network - no connection and no way to connect to the unit. This is for both a cDAQ-9189 and a cDAQ-9185 chassis'.
Is there any support from NI at all now or did the new owner fire everyone?
Bob Taylor
Northrop Grumman Mission Systems, Baltimore, MD
08-09-2024 07:09 AM
Bob,