12-19-2012 05:13 PM
I got an error, please see the attachment. The runme.bat is "mercierxmodem COM11 "xmodem" c:\MercierPromptsEN.bin", its path is c:\runme.bat. I still can't make it work. 😞
12-19-2012 05:26 PM
@weny wrote:
I got an error, please see the attachment. The runme.bat is "mercierxmodem COM11 "xmodem" c:\MercierPromptsEN.bin", its path is c:\runme.bat. I still can't make it work. 😞
Where else is Com11 open???
12-19-2012 05:55 PM
Now I added another visa close before run this batch file, still doesn't work. The result I got is running forever till I close the cmd.exe window. But if I set Wait until Completion to F, I got nothing. Please see the attchment. Thanks!!!
12-20-2012 10:20 AM
Well now the problem appears to be different. So you're sending the file via xmodem... but is the client ready to receive it?
Did you add the VISA close there for troubleshooting purposes? Normally, I'd trace the issue back to where it should've been closed and then close it there.
And I'm sure you know this, but setting the flag to false merely makes the VI ignore the fact that the command line is hung, and it's not really working properly?
Is this the only way to do it? Instead of calling it from the command line, is there a dll it hooks into that you can call directly?
12-20-2012 11:52 AM
Taking a A long shot here.
Try removing the working directory input and just use command line input ONLY.