04-06-2011 09:56 PM
Hi,
I'm currently facing an issue with my VI, when it reaches the "Scan from string" function this function can be found in this sub vi,(display mas and ana data with auto starting time on the interface.vi), I would receive this error
"Error 85, The input string does not contain data in the expected format."
Under the attachments are all the files in which I use in my VI, including the data files.
I would appreciate any form of help given.
04-06-2011 10:25 PM
So your input string should be three integers separated by a colon. Can you probe the input wire and show us what you have going into the Scan From String function when you get the error?
04-06-2011 10:41 PM
Hi,
The input string value that causes the error lies between 18:15:00-18:30:00. Below is one of the screenshot I have taken. After receiving the input string value of 18:15:00, the error will occur. Hope that you have a solution for it. Thank you for replying!
Regards,
Kok Wan
04-06-2011 10:47 PM
You've already asked this question in your original message thread. Please don't create new threads when you've already asked the question. Stick with the original!
Also, don't change the extension of your enormous file size bitmap image to .jpg to get around the forum bans on bitmaps. BMP's are banned for a reason.![]()
04-06-2011 10:49 PM
So it errors after 18:15:00 on the next input value? What is the next value after that?
Also, we usually try to be mindful of the size of the images we upload. If you don't know of an easy way to compress your images, try the code capture tool available over at LAVA.
http://lavag.org/files/file/63-code-capture-tool/
Eric
04-06-2011 10:57 PM
Hi,
I'm sorry for uploading the big .jpg file, as i do not know how to capture screenshots in LabVIEW. But I am currently downloading the application to take the screenshots directly from LabVIEW.
The next input string value is 18:30:00, it is at an interval of 15mins.
04-06-2011 11:03 PM
Well, how did you capture that screenshot? If you pasted into Paint, then make sure you save it as a .jpeg, or better yet, a .png file before you save it.
Another problem with your screenshot is that it doesn't show the error 85. The data coming out of the scan from string looks okay based on the string going int.
And no more in this thread. You were already being helped here, so please post in that thread.
04-06-2011 11:08 PM
Hi,
If i were to capture the process whereby the error is being encountered, it will block the input string value that is being shown. That is why i took the screenshot before the error actually occurs.
04-06-2011 11:13 PM
I posted some suggestions here.
04-06-2011 11:13 PM
So how do you expect someone to help you to debug an error when you don't show the error?
Go to other thread. No more in this thread. And when you do post in that thread, attach a simple VI of just the functions giving you a problem, along with the input string that is causing it saved as a constant.