From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help! Labview IP change!

All files from project

Download All
0 Kudos
Message 11 of 18
(1,160 Views)

Please put all in a zip file to create one single attachment so we can unzip into a separate folder. The possibilities of conflicts with similarly named files already in my download folder is just too big.

0 Kudos
Message 12 of 18
(1,154 Views)

Hi ml,

 

which part of "the forum accepts ZIP files" didn't you understand?

@Christian: even worse the lvproj references the current folder as "autopopulate"…

 

You need to edit your MainControl.vi, the "init" case of the PLC communication state machine is important to your question!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 18
(1,152 Views)
0 Kudos
Message 14 of 18
(1,141 Views)

labview.jpg

0 Kudos
Message 15 of 18
(1,134 Views)

Im not exactly sure, but it looks like you just need to change the string constant in the 'init' case of PLC to LabVIEW Communication loop in MainScreen.vi. Its hard coded to 192.168.3.101,1,0 right now. I would put this in a config file so you can easily edit it. 

Message 16 of 18
(1,110 Views)

Can you help me with a config file for IP adress? Because I dont know how i can make it. 

Thanks!

0 Kudos
Message 17 of 18
(1,106 Views)

Help>Find Examples>Fundamentals>File Input and Output>Configuration. 

 

That should give you a good starting point. If you get stuck, I would start a new topic specific to that question. 

0 Kudos
Message 18 of 18
(1,097 Views)