Displaying Current Time on a LabVIEW Chart
Primary Software: LabVIEW Development Systems>>LabVIEW Ba Package
报山名
Primary Software Version: 2009
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem:
I have noticed that tting the time as Absolute Time on a Waveform Chart will cau the time display to start at 6:00 PM, 12/31/1903. How do I display the Absolute Current Time?
微量元素检查有必要吗Solution:
Without any timing information in your data, a LabVIEW chart will take the default values. To display the time as both absolute and current, u the following property nodes:
1. Offt and Multiplier:Multiplier Property
o Right-click your chart on the Block Diagram.
o Select Create»Property Node»X Scale»Offt and Multiplier»Multiplier.
赵孟頫行书代表作
o Right-click the new property and lect Change All To Write.
o Wire in the numeric value 1/x, where x is the number of samples displayed per cond.
2. Offt and Multiplier:Offt Property
沈嘉欣o Drag down the previous property node to create another entry.
o If the property node does not say XScale.Offt, left-click the new property entry and navigate to X Scale»Offt and Multiplier»Offt.
o Place a Get Date/Time In Seconds on the block diagram.
o Place a To Double Precision Float function on the block diagram and wire it to the property node as shown below.
If you have not already t the time Display Format to Absolute, do so by either:
1. Changing the formatting ttings in LabVIEW.
春天像健壮的青年o Right-click the chart on the front panel and lect Properties.
o Click the Display Format tab.
o Select Absolute Time as the Type.
o Select System time format from the two drop down boxes on the right.黑米酒
o Click the OK button.
2.
3. Using the Display Format:Format Property.
o Place a property node on the block diagram.
o Select X Scale»Display Format»Format.
o Wire in the numeric value 7 to lect Date and Time.
You can view an example demonstrating the u of the property nodes at Developer Zone Community: Display Current Time on a LabVIEW Chart with Absolute Time Setting. Note the wait function inside of the while loop. It is required for tting the rate of the loop to generate the correct number of samples per cond.
大作文Related Links:
鹰牌马桶
Developer Zone Community: Display Current Time on a LabVIEW Chart with Absolute Time Setting LabVIEW 8.5 Help: Offt and Multiplier:Multiplier Property
LabVIEW 8.5 Help: Offt and Multiplier:Offt Property
LabVIEW 8.5 Help: Display Format:Format Property
KnowledgeBa 2WOE97DS: 'Seconds To Date/Time' Function in LabVIEW Does Not Return 12:, Jan 01, 1904 When I Input Zero Seconds
KnowledgeBa 2V4FANW0: Wrong Timestamp Listed in Waveform Data Type
KnowledgeBa 2HDCFJV5: Universal Time and LabVIEW