CVI 2017, Win7, two different computers.
Trying to get the CalibrationAudit example to work with my cDAQ hardware.
The first function call passes the target char pointer, to obtain a session handle: NISysCfgInitializeSession(target, NULL, NULL, NISysCfgLocaleDefault, NISysCfgBoolTrue, 10000, NULL, &session)
As long as target is equal to "localhost" the app gets the calibration information for cDAQ assembly and displays it. See figure below.
But when I use an IP address, the function call returns an error, as shown below:
This does not make sense, since "localhost" works, I can ping the chassis, I can connect to its web server, etc.
I must be able to connect with IP addresses, because this capability is needed on a system with four distributed cDAQ chassis.
What have I set wrong, or what other thing needs to be done to get this function call to work with IP addresses?
I even tried doing leading zeros for the last two fields, and got this: