07-31-2014 08:34 PM
its seem everytime i tried to run there is error 85 on the scan of strings.
i scanning a text delimated to a gui, im stuck tried so many ways in the forum. plz help me.
07-31-2014 09:26 PM
Have a look at what the error code says. It says that the string format does not match what you are trying to select from it. So the two points to looks at are the format string that you are using and the string that is being presented to the scan from string.
You will want to use the Highlight Execution (Lightbulb button in the block diagram) and probe (right-click line and select probe).
Also, you may want to drop the time between loops down from 1Second per loop. If you are going to do 40000 loops thats about 11 hours waiting for your program to complete.
I'm going to give you the benefit of the doubt and assume that you made the second one by accident.
07-31-2014 09:47 PM
hey they thanks yup i upload the second vi by accident. the error code stated is that input string does not contain data in the expected format. i dont the understand the probe part as when i 'right click' i cant right click. or the error comes from my text delimited format.
thanks in advance.
07-31-2014 10:02 PM
07-31-2014 10:21 PM
olay i tried it it shows string not executed. btw im nem with labview.
07-31-2014 10:30 PM
When you have the probe window up try running the VI with the Lightbulb lit up. You should be able to see the data flowing along the wires. When you get to the string entering the scan from string compare the string that is entering to what you are trying to read from the string.
08-01-2014 01:12 AM
i dunnoe or dun understand what u mean trying to read from string..
08-01-2014 06:53 AM
Your file doesn't have seconds in the data, but you are trying to extract seconds. Get rid of the last ":%d" in your format and it should work just fine. Or if you want to make it a lot more efficient, use "%<%m/%d/%y %H:%M>T" as your format and you will get a timestamp out.
I went ahead and did some cleaning up as well. You have a lot happening in your parsing that was just unnecessary.
08-04-2014 01:43 AM
to crossrulz ,
thanks alot with the vi u send ive realised use way simplified which good. but i still can run it. it show an error of "
LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @." when i run it..
im using the same file.
Thanks aot it advance appreciate it much
08-04-2014 02:36 AM
im sorry i can't run your vi.