cancel
Showing results for 
Search instead for 
Did you mean: 

scan from string

Gekides
Member

scan from string

Message contains an image

how do i extract the individual values and get them to display on waveform chart or thermometer? 

i have no idea on how to format strings as there aren't many examples given. can anyone help me? 

 

getting values from http.png

22 REPLIES 22
GerdW
Knight of NI

Re: scan from string

Message contains an image

Hi Gekides,

 

you may try this:

check.png

That's just one possibility, there are multiple others...

 

Next time you should attach a VI with some data instead of those pictures. So we don't need to retype all the text in your receive buffer display...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Gekides
Member

Re: scan from string

Message contains an image Message contains an attachment

those value won't be there all the time because it comes from Arduino and the Arduino isn't on all the time. Sorry. i will remember to attach the VI file

Thank you very much!!! may i ask how do i actually save those reading into microsoft excel? getting from http part 2(saving).png

GerdW
Knight of NI

Re: scan from string

Message contains an image

Hi Gekides,

 

try this:

check.png

You need to provide a filepath to avoid the file dialog pooping up in each iteration…

 

- Why do you use the format string "%,;"  when your numbers use the point as decimal separator?

- Why didn't you use the array constant input for SpreadsheetStringIntoArray as I have shown before?

- Why does your IP address has a point at the end?

- Why don't you use the CleanUp button?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Gekides
Member

Re: scan from string

sorry but can you send me this VI 

Thank you very much 

GerdW
Knight of NI

Re: scan from string

Message contains a hyperlink

Hi Gekides,

 

no, I can't - I didn't save it to my harddisc...

 

BUT: It's a snippet! And it's not that hard to recreate this with your own VI as starting point…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Gekides
Member

Re: scan from string

Message contains an image Message contains an attachment

new body.pngHi this is my new program and somehow i can't seems to get the value out again. can you help me with it?

GerdW
Knight of NI

Re: scan from string

Can you attach your VI in LV2011?

 

Thanks.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Gekides
Member

Re: scan from string

Message contains an attachment

sorry but i only got 2010. does this work??

GerdW
Knight of NI

Re: scan from string

Hi Gekides,

 

instead of putting pictures of your VI block diagrams into the block diagram of some LV2010 VIs you should use "Save for previous" from the File menu to downconvert your VI!

 

What should I do with some pictures? I'm not a painter…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019