当前位置:文档之家› 时间轴图表模板

时间轴图表模板

时间轴图表模板

波形图表中时间轴的设置

Displaying Current Time on a LabVIEW Chart Primary Software: LabVIEW Development Systems>>LabVIEW Base Package Primary Software Version: 2009 Primary Software Fixed Version: N/A Secondary Software: N/A Problem: I have noticed that setting the time as Absolute Time on a Waveform Chart will cause 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 these default values. To display the time as both absolute and current, use the following property nodes: 1. Offset and Multiplier:Multiplier Property o Right-click your chart on the Block Diagram. o Select Create?Property Node?X Scale?Offset and Multiplier?Multiplier. o Right-click the new property and select Change All To Write. o Wire in the numeric value 1/x, where x is the number of samples displayed per second. 2. Offset and Multiplier:Offset Property o Drag down the previous property node to create another entry. o If the property node does not say XScale.Offset, left-click the new property entry and navigate to X Scale?Offset and Multiplier?Offset. 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 set the time Display Format to Absolute, do so by either: 1. Changing the formatting settings in LabVIEW. o Right-click the chart on the front panel and select Properties. o Click the Display Format tab.

相关主题
相关文档 最新文档