Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

appending saved data from serial port

Hi

 

I'm fairly new to Labview and I would be really greatful if someone could help me with this. First of all i'm polling data from my gsm from a specific memory location using AT commands ( AT+CMGR=1). Then i'm trying to save the data in a text file. I want to repeat this process each time I recieve a message on my gsm. However my best approach to this is to delete the current message from my gsm, so that the next message can be recieved on the same memory location 1. This would already be saved on my txt document using write to text file. So i'm having trouble to write another AT command to wipe the contents from my memory location 1 in the GSM. My other problem is whenever i append the files by adding the saved file at the end of the current file, it keeps repeating forever, but i dont want that! I only want to add once whenever a message is recieved on my GSM.

 

Again please could someone give me any suggestions of what to do, i've been at this since last week.

 

My file is attached.

 

Regards,

 

Hamid Q.

0 Kudos
Message 1 of 2
(2,930 Views)

Hi Hamidq,

Are you still having trouble with this? Let me know if you are still working on it and I would be happy to help you out.

Cheersm Tom

0 Kudos
Message 2 of 2
(2,859 Views)