Hi all, i need to read data from a text file and write in keil µvision program. How to open file, read, write and close file works in µvision programs. Thanking you,
"i need to read data from a text file and write in keil µvision program" What do you want uVision to do with the data that it reads? What data from uVision do you wnat to write to the file? How does this relate to the original thread? http://www.keil.com/forum/docs/thread7044.asp
"How does this relate to the original thread?" Its related to that thread only but i got an idea that we can store the selected data in VC GUI in a text file then we can retrieve that data from text file in µvision programs. Is it possible to read data from a text file and send data to a text file from µvision programs?. Thanking you.
"i got an idea that we can store the selected data in VC GUI in a text file then we can retrieve that data from text file in µvision programs." So what exactly do you want uVision to do with this data once it has read it from the file? And what data do you want uVision to write to the text file?
"So what exactly do you want uVision to do with this data once it has read it from the file?" for example i have to give receivers addres to vision when it is in transmitt mode. so user will select the receivers address in GUI and that address will save in a text file , so µvision program has to read the address from text file like that. Thanking you, if you have some idea please help me. Thanking you.
I think it exists at least 2 solutions - use one serial port from Keil and a second from another application running in parallel which provide all needed infos - use the AGSI interface and write a plugin best regards Dirk
Hi Thx for ur message, but is this AGSI interface can use to read and write from .txt file ?
Yes, with an AGSI Plugin you can do many things. If you need some assist look at http://www.jasys.de/prod_sw_e.htm or write to plugin@jasys.de
"i have to give receivers addres to vision when it is in transmitt mode." uVision does not have a "transmit mode" What do you mean by this? Are you talking about running code in the uVision simulator?
Keil's AGSI documentation: http://www.keil.com/appnotes/docs/apnt_154.asp You might also want to look at: http://www.keil.com/appnotes/docs/apnt_143.asp http://www.keil.com/appnotes/docs/apnt_144.asp http://www.keil.com/appnotes/docs/apnt_145.asp http://www.keil.com/appnotes/docs/apnt_170.asp