10-18-2013 12:19 AM - edited 10-18-2013 12:22 AM
Hi GerdW,
I came to know using batch command I can repeat the same command without initialization. -b is the command
I dont know how to do this?
Here is what I tried. When I tried this then it says error 87 LabVIEW: Error converting to variant.
What is wrong with that?
10-18-2013 01:04 AM
When I use command
C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\ICD3\ICD3CMD -b -p18f26k22 -v5 -e -m -f"D:\hex_file.hex"
from command prompt then it is working reliabely. But when I am passing through system exec then there is no error but no message also comes out.
10-18-2013 02:40 AM
Hi GerdW,
I am able to program but now I am facing some problem
1. When I set wait until true then output will be available only after completion or when user stops the application
2. If I set wait until complete false then output comes parallly in command prompt but not availbe in labview standard output.
This is as mentioned by help page but I need to display the message in labview standard output parallely.
How to acheive this?
10-18-2013 02:56 AM
10-18-2013 03:02 AM
This is what I was looking for but how to do this?
10-18-2013 03:19 AM
It's written in the thread's solution. Did you read it?
I guess you are able to read a text file by code.
10-18-2013 03:45 AM
I read it. but my doubt was if I want to create the installer for this application then I need to enter IP address for all the PCs.
Will ping<IP ADD> A.txt will read all the data of file A.txt. What will be path of text file and from where I need to call this PING?
Do you have any example for that?
10-18-2013 03:52 AM
Your interpretation is too literal. PING was only an example of a command line application generating text to the standard output.
Replace PING with your ICD3CMD utility with the proper command line. Try redirecting its output to a file manually from the command prompt.
If it works this way, you will be able to implement standard output catching by code.
10-18-2013 04:46 AM
I though you already tried this..Will try this
10-18-2013 05:36 AM
I tried but unfortunately this is not working
C:\Program Files\Microchip\MPLAB IDE\Programmer Utilities\ICD3\ICD3CMD -b -p18f45k22 -v5 -e -m -f"D:2003.hex" > D:\path1.txt
I googled about redirecting and they say > is the command but not succedded.