LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data spreadsheet formatting

thaank youu 🙂
Aquaphire

---USING LABVIEW 6.1---
0 Kudos
Message 11 of 19
(1,303 Views)
Hey. I came back and took a detailed look at what you did.. Amazing man. It's exactly what I wanted.

Thanks so much.
Aquaphire

---USING LABVIEW 6.1---
0 Kudos
Message 12 of 19
(1,296 Views)
Actually, I just talked to my supervisor. He's not happy. lol...

I'll try to fix it on my own but if anyone stumbles upon this post,

what Donald did in saveclock6_mod2.vi is perfectly what I wanted...but my supervisor prefers it in this type of format:

TIME DATE Random number
TIME DATE Random number
TIME DATE Random number
TIME DATE Random number
TIME DATE Random number
TIME DATE Random number



Type output.

The out put now is such that:

Date Date:
Time Time:
RANDOM NUMBER RANDOM NUMBER

etc...

before transposing it was


Date
Time
RANDOM NUMBER
Date
Time
RANDOM NUMBER

etc...

I've been playing with deleting rows/columns and rotating them with only partial success. Any help is welcome.
Thanks all
Aquaphire

---USING LABVIEW 6.1---
0 Kudos
Message 13 of 19
(1,286 Views)
Neeeevermind, im a moron i got it 😄
Aquaphire

---USING LABVIEW 6.1---
0 Kudos
Message 14 of 19
(1,283 Views)
Hey Aquaphire,

Listen to me: YOU ARE NOT A MORON!!! 😉

Configuring the structure of a spreadsheet file can be quite confusing, especially if you need the data saved in rows, as you originally thought your boss wanted. Now, columns are much easier to deal with, so my recommendation is doing something like this if you don't have to save to file continuously:



Hope this makes your boss happy - it definitely creates the type of data that you requested:

1:17:57 AM 6/30/2005 0.637581
1:17:57 AM 6/30/2005 0.549127
1:17:57 AM 6/30/2005 0.477390
1:17:57 AM 6/30/2005 0.418013

Have fun!

Message Edited by Philip C. on 06-30-2005 01:20 AM

- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
Message 15 of 19
(1,281 Views)
yup indeed... that works too! and its way simpler than the other one.

thanks!

Oh, since I'm at it, I was wondering if it was possible to add a header to this string format (like u did).

I can manage it since it's an array in the your "mod2" vi... probably the same way: recreating an array outside the loop...

Ill attach both my VI's
Aquaphire

---USING LABVIEW 6.1---
0 Kudos
Message 16 of 19
(1,259 Views)
(that was theone u just proposed to me)

and this is the one I was fixing from yesterday.

I was in the process of trying to add a counter using a formula node but that kinda failed... If you have any suggestions.... What I was doing was that I'm trying to add a counter such as:

1. date time
2. date time
3. date time

etc...

since I dont have a for loop or while loop, there are no iterations to use.. so i tried using a formula node. doesnt really work.
Aquaphire

---USING LABVIEW 6.1---
0 Kudos
Message 17 of 19
(1,258 Views)
Just use the loop you have. I do not have LV6.1 so I cannot easily modify your VI. The attached VI shows how to use a shift register to create a row counter.

Lynn
Message 18 of 19
(1,251 Views)
Jupp!! exactly what I did! Thanks 🙂
Aquaphire

---USING LABVIEW 6.1---
0 Kudos
Message 19 of 19
(1,248 Views)