ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems setting IP address in Modbus I/O server

Hello, I purchased a company and all the software came with it, so now I need to get one of them working without in depth knowledge of the program itself. (fun!)

 

The problem I have is that the program is trying to access my slaves on a different IP address than what is set in the project explorer window (each slave has it's own IP, 6 of them)

When I go into the DSM and look at the IP address for each slave there is comes up with 192.168.111.51-56, I need them to be 192.168.1.51-56. If I set them in the DSm they just revert back once the program is run.

I have written a few programs in Labview in the past but nothing this complex. any idea where I can search to find out what is keeping the IP's at the old address?

btw if I change the slaves to 192.168.111.51-56 then everything runs smoothly, but the IP's need to get set to what the customer desires not what they are at now.

 

Thanks

0 Kudos
Message 1 of 4
(3,100 Views)

A text search on one of the IP addresses should quickly show all the hard-coded values.  If the program is saving the info to file, you'll need to search for file i/o or follow the data paths.  Should be a pretty quick thing.  I'd be happy to take a quick look if you want to email me your code.

 

robert@endigit.com

Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 2 of 4
(3,098 Views)

I did a text search already and came up with nothing.

 

The program is pretty big and complex, 3.5MB and 90 files. don't know if I could attach it.

0 Kudos
Message 3 of 4
(3,095 Views)

You can Zip the files into one.  Size shouldn't be a problem.

Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 4 of 4
(3,093 Views)