SOLVED !!
Thanks a lot for your inforamation. I was working on that way.
But there's one big problem. The data units are extremely random.
In the data the first collum is voltage, but on another measurement it's current
!!
I wrote now a VI that can cope with this, including your shift registers !
Kristof
"Rolf �stvik" wrote:
> On Tue, 27 Feb 2001 11:41:56 +0100, Kristof Poppe
> wrote:
>
> >I already worked with that. But the difference is that the data is sometimes
> >two collums, than three, another is just one collum, and all with nA en mA's
> >mixed.
> >I now convert is form mA to E-3A and then I convert it to an array.
> >
> >
> >"Rolf �stvik" wrote:
> >
> >> On Tue, 27 Feb 2001 08:56:42 +0100, Kristof Poppe
> >> wrote:
> >>
> >> >I got a sting with some measure results. But the form of that string is
> >> >nog suitable for further processing.
> >> >I like to put these results into an Excel sheet or something.
> >> >
> >> >The form is
> >> >
> >> >-5V 10nA
> >> >-4V 20nA
> >> >
> .
> .
> .
> >>
> >> To split the string use "Scan From String" with
> >> 'Format String' set to "%fV %fnA"
> >> To rebuild use "Format Into String" with
> >> 'Format String'set to "%.2f %fE-9"
> >>
> >> Change the 'Format string' to you get what you need
>
> For example a string like this:
> -5V 10nA 5mA
>
> First a format string with "%fV"
> then in a while loop (with some shift registers) use
> Use "Scan from string" with " %f[^ ]"
> Dont use a shift register on the input string.
> wire The 'Initial Scan Location' and 'Offset past scan'
> to shift registers
> (you get a a number output and a string output)
> The number output is the value
> The string is mA, nA, uA.
> Send the string through "Index & Strip" which
> has an input array with "A", "mA", "uA"....
> Use the number from that to select a case which select your
> exponent
> end your while loop when 'Offset past scan' is <=the lenght of the
> string.
>
> (Formatting of the end string is left for you)
>
> Hmm, not easy to describe graphical programming with text.
>
> If you want, send me some of the input data and how you want it
> formatted by e-mail and i can send you a VI.
>
> --
> Rolf