cancel
Showing results for 
Search instead for 
Did you mean: 

Help! Labview IP change!

Highlighted
ml88lm2
Member

Re: Help! Labview IP change!

Message contains an attachment

All files from project

altenbach
Knight of NI

Re: Help! Labview IP change!

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.

GerdW
Knight of NI

Re: Help! Labview IP change!

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
ml88lm2
Member

Re: Help! Labview IP change!

Message contains an attachment

It`s ok?

Tags (1)
ml88lm2
Member

Re: Help! Labview IP change!

Message contains an image

labview.jpg

paul.r
Active Participant

Re: Help! Labview IP change!

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. 

ml88lm2
Member

Re: Help! Labview IP change!

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

Thanks!

paul.r
Active Participant

Re: Help! Labview IP change!

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.