Jump to content

LV2010 Send SMS problem


Princo

Recommended Posts

Hi all, I new on forum and on LabView.

I have some problem when send the sms to modem over rs232.

In my condition, send sms is weight greater then (box) ex. 50kg and mesured value is 60kg. I received sms that is 50,11kg , every time receive the value greater of condition is, this is only when put some weight on load cell.

Second case when the weight is present on load cell, then start the program the sms is around the final value.

I just want to receive sms, only the final value.

The problem is because the measured output iserted avtomatic in sms (format into string) no wait to stabilize the value.

I apologize for my bad English

Please help

koncna_vaga_1112011-2.vi

post-26863-0-55716900-1323178285_thumb.j

Link to comment

Take a look at the attached code. I have modified your code so that the initialize and shutdown portions are not executed on every iteration of the loop.Instead of acquiring one point of data , the VI measures 100 data points, scales and averages the result. I used the threshold VI to checks that the contents of the array exceed Weight Limit Threshold.

The assumption is we have a steady reading. You may need to modify this part of the code, but hopefully it gives you an idea of how to proceed.

Hope this helps.

koncna_vaga_edited by DC.vi

Link to comment

There is a long-running thread over at NI with the user asking this question: http://forums.ni.com...ew/td-p/1793088

Thanks. I am not going to waste any more time on this. I don't mind doing someone a favor when sat in my hotel room watching TV, but this looks like it is ongoing.

Correction, it looks like it is turning into a marathon!

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.