10-17-2013 12:44 AM
Hello all,
I am programming PIC IC using command line and passing arguments. In that If I pass the complete syntax then it does all the process and ends with programming. Now I do have a requirement in which I need to program multiple ICs.
My command line syntax is
cmd /c ICD3CMD /P18F26K22 /E /M /F"D:A.hex" -- This will do all the job from starting to end.
Here programming is done using argument M/F"D:A.hex"
When I need to program multiple ICs then I only need to pass M/F"D:A.hex" as arguments to system exec. How to achevie this?
10-17-2013 01:56 AM
10-17-2013 02:42 AM
This is not valid. I tried.
10-17-2013 02:44 AM
10-17-2013 02:51 AM - edited 10-17-2013 02:53 AM
I also didn't heard ..This is not considered with valid command line syntax maybe bacause we need to pass cmd /c and all.
10-17-2013 02:58 AM
Hi Ranjeet,
M/F"D:A.hex" is no valid command line syntax.
So again: what do you need to achieve?
You can read about proper command line syntax in MS help for the cmd tool.
You can read about correct syntax of your programming tool in it's manual.
What's the problem here?
10-17-2013 03:39 AM - edited 10-17-2013 03:40 AM
@GerdW wrote:
Hi Ranjeet,
M/F"D:A.hex" is no valid command line syntax.
So again: what do you need to achieve?
You can read about proper command line syntax in MS help for the cmd tool.
You can read about correct syntax of your programming tool in it's manual.
What's the problem here?
the problem here is in the manual there is no such command mentioned. spoke to them and waiting from last 5 days. I goolgled about expanding in RUN time but not found anything helpful.
Can you have any link?
10-17-2013 03:43 AM
Hi Ranjeet,
when it is a problem of the 3rd party software you're using you should ask the supplier of that software.
I don't use (or even have installed) that software you mentioned.
When you have problems using LabVIEW you can ask here in this forum...
10-17-2013 03:55 AM
@GerdW wrote:
Hi Ranjeet,
when it is a problem of the 3rd party software you're using you should ask the supplier of that software.
I don't use (or even have installed) that software you mentioned.
When you have problems using LabVIEW you can ask here in this forum...
I am calling 3rd party software using system exec.vi. Here I need to pass some of the argument using system exec.vi. Hence this is my problem of labview. Just need to pass the argument in RUN time.
10-17-2013 04:01 AM
Hi Ranjeet,
so you need to send new arguments to an already running executable, that was called with SystemExec?
I remember some kind of Pipe mechanism, maybe in the OpenG libraries, that would be useful for such tasks. Your problem is to supply new arguments over StdIn of the CMD shell...