Hello,
i am using DSC modbus IO server to communicate with PLC. i used shared variables in my VI.Now when i run VI it start communication with PLC automatically. when i change Port of PC in which plc connected it shows error and i have to change port setting in modbus IO server property.
As i want to make this VI as separate EXE. i need to place this port setting in VI or add some programing so that it can automatically detect system port on which PLC connected
Please suggest a detail solution that how can i solve this problem.
As i am new for labview please explain in detail and with screenshots if possible.