06-06-2014 04:26 AM
Hi,
i have 2 question
1) how to plot array horizontally on Build Table ?
2) how to change Date/Time realtime same as PC Date & Time on Build Table ?
this is my screenshot
06-06-2014 05:40 AM - edited 06-06-2014 05:43 AM
You have to obtain the computer time at the time the values are created (each individually). See the attachment for a solutions using primitives.
A curious question: Where did you find Build Table Express VI? I cannot ind it when searching for a VI.
06-08-2014 08:33 PM
Hi ghighuphu,
Sorry for delay to reply, its almost like what i want but i mean the time&date is just one column on the left column, and the data on the right of time&date column.
sorry i`ll attach my VI
06-08-2014 10:44 PM
Transpose the array before you wire it to the indicator.
06-09-2014 02:08 AM
Hi Ravens,
i tried it but still didnt understand, the data turn right one by one, sorry for my bad experience on Labview
06-09-2014 02:21 AM
06-09-2014 02:45 AM
Hi rhiesnand,
Express Vis in LabVIEWs are easier ways to implement but has limited customisation and functionality.
please see the attached screenshot. this is the optimised way to get your requirement done.
1) Use transpose 2D array to get your first solution
2) Use date/ time string VI to get the current date and time then create a 2D array out of data and time.
06-09-2014 04:37 AM
Hi ghighuphu,
Right, that exactly what i need. so the data will be like this
| Time&Date | Data1 | Data2 | Data3 | Data4 | Data5 |
| Time&Date | Data1 | Data2 | Data3 | Data4 | Data5 |
| Time&Date | Data1 | Data2 | Data3 | Data4 | Data5 |
| Time&Date | Data1 | Data2 | Data3 | Data4 | Data5 |
| Time&Date | Data1 | Data2 | Data3 | Data4 | Data5 |
| Time&Date | Data1 | Data2 | Data3 | Data4 | Data5 |
did you get it what i mean ?
Hi ramktamu,
if using that i think the data will write on the table continously to the right column.
06-09-2014 08:35 AM
Hi rhiesand,
Sorry I misunderstood your requirement.
The corrected answer as you required is attached is as follows.
But this code will not add for new date. you will require a while loop and shift register to check if the date has changed for further modification.
The above code works perfectly as per your requirement.
06-09-2014 09:21 AM
This is one of those times when the express vi is really being used as a "Screw-Hammer" It is not intended to do what you desire.
Try this