LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time/date to file upon command

Hello,

I'm an absolute beginner at Labview and am only in posession of Labview 6.1 (so I can't open any new VI's).

I'm attempting to write the simplest code ever, which is that upon pressing "ENTER", the Time/Date is stored onto a spreasheet.

Ultimately, the point of this is recording the exact time, whenever the pressure reaches a certain value by pressing enter.

What I would like to do is make the spreasheet into Array format such as:

Time Pressure (psi)

12:01:21 100
12:03:22 200
12:04:24 300


So far I've managed to write a loop that records the time... every second and save it to file, since I don't know how to make the "enter" command. And even at that, the file will only record ONE value.


Please help.

Thanks
Aquaphire

---USING LABVIEW 6.1---
0 Kudos
Message 1 of 3
(2,036 Views)
This should help if it saved correctly.

Message Edited by jhoskins on 06-22-2005 07:40 PM




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 3
(2,024 Views)
Hi,

Please find attached VI for your reference 🙂

As for the [Enter] to save data,
1. Right-click on the Save Button
2. Select "Advanced"
3. Select "Key Navigation..."
4. Assign a Key to the control

Done 🙂

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 3 of 3
(2,016 Views)