From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-17-2013 04:13 AM
Exactly that is my point. Do you have any link regarding that.
10-17-2013 04:20 AM
10-17-2013 04:31 AM
May be my words were not correct.
Thanks for your concern.
10-17-2013 05:12 AM
Ranjeet_Singh ha scritto:
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?
It's very likely that M/F"D:A.hex" as an argument of a command line program is not valid.
Try with /M /F"D:A.hex".
The full command line would be
cmd /c ICD3CMD /M /F"D:A.hex"
I'm suggesting this without knowing anything about the programming application.
10-17-2013 05:21 AM
pincpanther..I just want to tell about argument....
10-17-2013 05:28 AM
I don't understand. I was talking about the argument too.
So what's the full command line you are trying?
10-17-2013 06:07 AM
See my fisrst post. That is complete syntax.
/M/F"A.hex" is the arguments that need to be passed each time.
10-17-2013 06:12 AM
Hi Ranjeet,
you cannot call SystemExec with just arguments. You have to give a full command with it's argument!
When you have to submit new arguments again and again, then what's the problem in calling the (full) command repeatedly?
10-17-2013 05:14 PM
Sounds like this may be something similar to what mySQL does when you start a command line session by running mysql.exe....The command prompt changes to
mysql>
until you type 'exit'....which returns you back to standard prompt. Sending another command to SystemExec using only parameters is not going to use the existing session.
10-17-2013 11:04 PM
@GerdW wrote:
Hi Ranjeet,
you cannot call SystemExec with just arguments. You have to give a full command with it's argument!
When you have to submit new arguments again and again, then what's the problem in calling the (full) command repeatedly?
This take 25 sec each time. When I will pass the only arguments which needs to be passed each time then it will take 2-4 sec.. Becasue if I pass all the argument each time it does all the thing from initialization till programming which lasts for 25 sec. Only programming takes 2-4 sec.