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,161 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,155 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,153 Views)
0 Kudos
Message 14 of 18
(1,142 Views)

labview.jpg

0 Kudos
Message 15 of 18
(1,135 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,111 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,107 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,098 Views)