02-09-2009 11:06 AM
Hello all,
I would like to know if it is possible to change the IP Address on a real time system that is locked?
Thanks,
Adam
Solved! Go to Solution.
02-10-2009 01:52 AM
Hi Adam,
what type of real time system do you mean? If you have a PXI or cRIO and you have locked your device from MAX, then you need a password to unlock it before you can change the IP.
Mike
02-10-2009 03:58 AM
Hi Mike,
I really did not explain myself well.
I am developping a real time based device that I want to sell to my clients locked because I don't want them to have access to the FTP.
However the communication with the device is made using TCP/IP and so I want them to have the possibility to change the IP Address. I have done this using the replication tools from LabView RT. The problem is that when I lock the RT system I am not able to change the IP - as expected.
So my question is: can I programatically change the IP address on a real time system the is locked?
Tks,
Adam
02-10-2009 08:56 AM - edited 02-10-2009 09:03 AM
Hi Adao,
I think It's possible, have a look to this KB :
How Do I Programmatically Change The IP Address of My Real-Time Controller?
Changing FTP Server Password for FieldPoint or CompactRIO Real-Time Controller
I hope that will help you.
Regards
Yann C.
France
02-10-2009 08:57 AM - edited 02-10-2009 09:02 AM
Hi Yann,
your links don't work for me.
Mike
02-10-2009 09:09 AM - edited 02-10-2009 09:14 AM
Sorry,
Changing FTP Server Password for FieldPoint or CompactRIO Real-Time Controller
I search another way to solve your problem.
Regards
Yann C.
France
02-10-2009 09:19 AM
Hi Yann,
On the link you supplied it only shows how to change the FTP Server Password on a Real-Time Controller on MAX.
I need to do this programatically on a locked real time controller.
As a stated before I lock the real time controller using MAX but I want the end customer to be able to change the IP Address. Is this possible?
tks,
Adam
02-11-2009 02:28 AM
Yann C.
France
02-03-2010 05:42 PM
There is also a VI for this purpose (LV 8.5.1 at least) called "Set IP Address.vi" in "System Replication.llb" (look for it on the help menu on the block diagram under User Libraries/RT System Replication).
From what I have encountered just changing the .ini file is not the same as using this VI. It may work in most cases, but not for a problem I was wrestling with when I was developing an application for automating replication.
The issue I had was not being able to read from the FP of the FPGA from the RT Host code. (For this project I did not embed the bitstream into the exe, which is default when building the executable for RT Host. I have the bitfile set to run automatically on power up. So this case may be unique.)
When I changed the IP address of the target system (compared to the image I had) then I was unable to read the FP I/O of the FPGA. When I changed the IP back to original crio's IP, it was working again. On the other hand, when I used the Set IP Address.vi then the system worked fine even after applying a different IP. The difference I found between a working system and a non working syste (that had the same IP applied to them, but using different methods), was due to a change in system\config3.mxs file (this changes was done by LV in the background at some point). Somehow this file is updated if you use the Set IP Address.vi (everything works then). I verified this by copying over one of two config3.mxs files that I had previously backed up and was able to observe that one file caused FPGA FP to be readable while the other didn't (all else equal).