LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 85 occurring for 4-digit numerical strings

Solved!
Go to solution

Hello, 

 

I have a labview program that measures the current vs voltage for a field emission device. The problem that I'm having is I recive the error 85 message whenever my current measurment reaches 4 digits, for example, 1000 uA. I've read that the error 85 means the scan from string function is reciving the wrong type of data, so my question is: how can I modify the scan from string function to accept up to 4 digit numbers? My block diagram is attached. 

 

Thanks

0 Kudos
Message 1 of 6
(2,870 Views)

@Zebulan wrote:

Hello, 

 

I have a labview program that measures the current vs voltage for a field emission device. The problem that I'm having is I recive the error 85 message whenever my current measurment reaches 4 digits, for example, 1000 uA. I've read that the error 85 means the scan from string function is reciving the wrong type of data, so my question is: how can I modify the scan from string function to accept up to 4 digit numbers? My block diagram is attached. 

 

Thanks


If you specify '%f' as FORMAT STRING, you need not do any changes.

Scan from String - with Format String

 

This error must be because of some string other than numeric is being input to the function. Make sure you put a probe and also be watchful for 'non printable' characters.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 2 of 6
(2,861 Views)

AHHHH.  No error handling!!!  You really should be passing your error clusters.

 

Anyways, you might want to set your format strings to be %f.  The other alternative is to just use the Fract/Exp String to Number function.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 6
(2,860 Views)

Thanks for the reply. I have tried formatting the string with %f and had no success.

Also, what do you mean by "put a probe"? Are you refering to a physical measurement while I conduct my experiment or is this an option in LabView? If it's a physical measurement probe I don't think that's possible since the current I'm measuring has values in the micro amperes range. 

0 Kudos
Message 4 of 6
(2,852 Views)

@Zebulan wrote:

Also, what do you mean by "put a probe"? Are you refering to a physical measurement while I conduct my experiment or is this an option in LabView?


http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/using_the_probe_tool/


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 5 of 6
(2,830 Views)
Solution
Accepted by topic author Zebulan

Thanks. 

I solved the problem today, turns out I needed to add a string width to my "number to decimal string" functions. 

 

I appreciate all your help guys! 

0 Kudos
Message 6 of 6
(2,794 Views)