1
Support Questions / Re: "The path is not of a legal form" error
« on: July 21, 2023, 03:20:02 PM »
I believe I found the source of the problem but it makes no sense to me.
If I run my application in debug mode with a command line parameter I get the error.
If I don't run a command line parameter the path passed to .Read() works as expected.
Example:
RemakePart.exe 17165 in debug mode, Dim val as string = _EthernetCommsMain.Read("RFID_Security.AOI_RFID.To_App_Reset_Request") produces the error.
RemakePart.exe in debug mode - no error, read PLC's path and returns the expected value.
Open CMD.exe and run RemakePart.exe 17165 from the same bits/folder - works as expected.
I am not sure what to make of this but I wanted to share what I found.
Thanks,
Shawn R
If I run my application in debug mode with a command line parameter I get the error.
If I don't run a command line parameter the path passed to .Read() works as expected.
Example:
RemakePart.exe 17165 in debug mode, Dim val as string = _EthernetCommsMain.Read("RFID_Security.AOI_RFID.To_App_Reset_Request") produces the error.
RemakePart.exe in debug mode - no error, read PLC's path and returns the expected value.
Open CMD.exe and run RemakePart.exe 17165 from the same bits/folder - works as expected.
I am not sure what to make of this but I wanted to share what I found.
Thanks,
Shawn R