Post a new topicPost a reply Page 4 of 5   [ 43 posts ]
Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Help Required
PostPosted: Mon Jul 30, 2012 8:02 pm 

Joined: Wed Jul 11, 2012 11:53 am
Posts: 23
Dear Sir,


We are very thankful to you for your constant help.
Sir I need another bit of help from you, sir I am unable to copy the readings coming on serial monitor, Sir please help us in this regard too.


Thanks and Regards,


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Tue Jul 31, 2012 8:41 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7516
rahimgiki,

Yes, you are true, sometimes Ctrl+C does not work with serial monitor of Waspmote IDE.

However, you can use other serial monitors like cutecom (for Linux) Hyperterminal (For Windows) Just google a bit and choose your preferred.

Best Regards.


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Tue Jul 31, 2012 12:53 pm 

Joined: Wed Jul 11, 2012 11:53 am
Posts: 23
Dear Sir,
Thank you very much for regular replies and fruitful help. Fortunately, our problem is solved by setting API =0 in wasp mote gateway.
Our second problem of crt+c is resolved by utilizing the Cutcool software.
But Once again thank you very much for a very fruitful discussion.

Best Regards
Rahim GIK Institute.


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Tue Jul 31, 2012 12:57 pm 

Joined: Wed Jul 11, 2012 11:53 am
Posts: 23
rahimgiki wrote:
Dear Sir,
Thank you very much for regular replies and fruitful help. Fortunately, our problem is solved by setting API =0 in wasp mote gateway.
Our second problem of crt+c is resolved by utilizing the Cutcool software.
But Once again thank you very much for a very fruitful discussion.

Sorry, the software for output is coolterm.

Best Regards
Rahim GIK Institute.


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Tue Jul 31, 2012 1:25 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7516
rahimgiki,

You are welcome.

We are here to give Waspmote user our best support.

Any other questions please feel free to ask.

Best Regards.


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Fri Aug 10, 2012 12:58 pm 

Joined: Wed Jul 11, 2012 11:53 am
Posts: 23
Hi,
I need your helping in sending multiple strings via a single send comond. currently, i am using four commands for it. The four parameters are sensed and need to be send. But using this approach the some are missing and batteries are drain out in one or two days.
xbee802.send("0013A200407620F4",temp);
xbee802.send("0013A200407620F4",humidity);
xbee802.send("0013A200407620F4",soilhumidity);
xbee802.send("0013A200407620F4",lw);


I need to replace these commands with single one. Thanks in advance.

Regards
Rahim Khan


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Fri Aug 10, 2012 5:00 pm 

Joined: Fri Nov 25, 2011 2:28 pm
Posts: 62
rahimgiki wrote:
Hi,
I need your helping in sending multiple strings via a single send comond. currently, i am using four commands for it. The four parameters are sensed and need to be send. But using this approach the some are missing and batteries are drain out in one or two days.
xbee802.send("0013A200407620F4",temp);
xbee802.send("0013A200407620F4",humidity);
xbee802.send("0013A200407620F4",soilhumidity);
xbee802.send("0013A200407620F4",lw);


I need to replace these commands with single one. Thanks in advance.

Regards
Rahim Khan


Hi, I might be missing the point - but here goes:
Are trying to send a string containing 'temp,humidity,soilhumidity,lw' ?

If I were I would try to build the string before sending it all at once - assuming you're trying to get all those values to the same destination, all at once.

You can use the sprintf helper function to write the values to a string - warning, you'll need to convert floats to strings before using them in the sprintf function.
The sprintf helper is here: http://www.libelium.com/development/was ... torial0004 (see part 4).


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Sat Aug 11, 2012 9:35 am 

Joined: Wed Jul 11, 2012 11:53 am
Posts: 23
Dear sir,
Thank you very much for response.
Are trying to send a string containing 'temp,humidity,soilhumidity,lw' ?
The Answer is yes and also to the [b]same destination ie gateway.[/b]
I have already converted these float values to string using "Utils.float2String(value_humidity,humidity,2)" and similarly for other variables and i have used sprintf(data,"%s%s%s%s",temp, humidity,soilhumidity,lw);
but when i the data to the gateway using xbee802.send("0013A200407620F4",data);
Nothing appeared at the serial monitor.
Please guide me in figuring out this problems. I will be waiting.....
Thanks.

Best Regards
Rahim


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Mon Aug 13, 2012 3:02 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7516
rahimgiki,

try printing "data" value on your screen to see if your conversions and the sprintf functions is working as you expect.

Regards.


Top
 Profile  
 
 Post subject: Re: Help Required
PostPosted: Mon Aug 13, 2012 8:30 pm 

Joined: Wed Jul 11, 2012 11:53 am
Posts: 23
try printing "data" value on your screen to see if your conversions and the sprintf functions is working as you expect.
Dear Sir,
Thank you very much for your reply. I have check the code given on the previous post regarding sprintf(); function. It works fine for simple string like sprintf(data,"%s%s%s","Hello","\t This is Wasp mote","\t Tested"); and the desired output appears at the serial monitor. However, when i put sprintf(data,"%s%s%s%s",temp,humidity,soilhumidity,lw); it does not display any thing on serial monitor. I have checked it via usd and xbee802.sed("address",data); but no output.
please sir, tell me what is the problem.
I will be waiting for your kind reply.
Thanks.

Best Regards
Rahim Khan


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 4 of 5   [ 43 posts ]
Go to page Previous  1, 2, 3, 4, 5  Next


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use