取消
显示结果 
搜索替代 
您的意思是: 

Read numbers sent by Arduino in Labview

已解决!
转到解答

How do you retain decimal places with this example? I am busy reading from 5 flow meters and it keeps rounding down the flow rates to 1 significant figure. I have tried messing around with the format string but keeps round down the flow rates to 1 significant figure.

0 项奖励
11 条消息(共 14 条)
634 次查看

Hi Brasslike,

 


@Brasslike wrote:

How do you retain decimal places with this example? I am busy reading from 5 flow meters and it keeps rounding down the flow rates to 1 significant figure. I have tried messing around with the format string but keeps round down the flow rates to 1 significant figure.


Which string do you receive?

Which formatstring do you mess with - and in which way do you mess around?

Mind to share your VI with typical data included?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
12 条消息(共 14 条)
631 次查看

Dear GerdW

 

I was messing with the format string on the "spreadsheet string to array" function. I do not know how to send you the data but here is a screenshot with some probe readings.

Brasslike_0-1665483890518.png

 

0 项奖励
13 条消息(共 14 条)
626 次查看

@Brasslike wrote:

Dear GerdW

 

I was messing with the format string on the "spreadsheet string to array" function. I do not know how to send you the data but here is a screenshot with some probe readings.

Brasslike_0-1665483890518.png

 


Hi,

your system seems to be using a comma (,) as decimal point. Try to use "%.;%5.2f" as format string, which will use a point as decimal point.

 

UliB

0 项奖励
14 条消息(共 14 条)
598 次查看