LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sensor values not updating and showing on indicators

hello friends,

my input string values are not updating on meter and also their is no deflection on indicators

help me with necessary changes and steps

thankyou

0 Kudos
Message 1 of 7
(3,742 Views)

Hi abhi,

 

you need to parse your received string more carefully!

 

Start debugging your VI by using probes, then change the conversion part…

 

- Why do you use BytesAtPort, when your serial communication uses a TermChar?

- That string looks very familiar to me: Can't you discuss your problem with your collegue(s)?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,737 Views)

why aren't indicators not showing any change and even i have misplaced data appearing i.e temperature reading displays on humidity.

sorry but no collegues are available who are familiar with labview

what changes i have to make. 

please update the necessary changes in VI

thank you

0 Kudos
Message 3 of 7
(3,722 Views)

Use "Scan From String" function efficently, be carefully while connecting format sting input.

-
Amit
CLAD
0 Kudos
Message 4 of 7
(3,707 Views)

Hi abhi,

 

convert your strings more carefully!

 

One possible solution might be:

check.png

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 7
(3,694 Views)
Duplicate of http://forums.ni.com/t5/LabVIEW/how-to-display-array-values-on-indicators/m-p/3135587

Still have not paid any attention to answers there. Why would the poster pay attention to answers on this thread? Stop asking if you won't follow the directions that have been given.
Message 6 of 7
(3,687 Views)

If the values are showing on the indicators but they are not changing, it is because you are looking at the first line of the concatenated string ever time the loop runs.  You never look at the second or third line. 

Capture.PNG

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 7 of 7
(3,659 Views)