08-29-2011 07:28 AM
Details on 'very wrong'. Does this happen with my simple example? If not, attach your code.
08-29-2011 08:30 AM
Yes, it happens when I run your code. I am using LV2011.
08-29-2011 09:33 AM
Sorry. The multiplier is in seconds and should be 1 and the wait is in milliseconds and should be 1000.
09-06-2011 12:07 AM
Thanks. Now it works.
But I must admit that I have problems understanding how Labview works. I have a chart and a property node setting xscale: Multipler, Offset, Minimum and Maximum. What i want to acheive is to show a chart for the next two hours. I do a measurement every 10 seconds. Multipler=10, Offset = your suggestion, Minimum=0 and Maximum=3600.
I thought that if a set a property in the block diagram this property would be replaced by the property node value when I start the program. It does not seem so.
09-07-2011 08:21 AM
OK.
I think that I understand it now. I use the Get Time/Date function and converting the output to DBL (seconds). (As you suggested). This is the Offset. The Minimum property is set to the same value. 3600 is added to this value to set the Maximum proeprty. Then the chart show the last hour of data.
06-25-2014 09:19 AM
I like your chart, but I can't find how to change the time to binary. Your chart does exactly what I want. I am taking temperatures every 5 seconds and writing them to a strip chart for 24 hours and then saving the file and starting again. All I get is zeros for time when I put your property nodes into my code, but again, I can't find how to change time to binary.
Ron
06-27-2014 09:14 AM
You can set a charts X-axis display format to binary in its properties. Right-click on the chart > Properties. On the Display Format tab, select Type = Binary.
06-27-2014 06:49 PM
06-30-2014 05:06 AM
NIQuest,
I can't select the binary option. I think I am going to opt for using labels and forgetting about this AGAIN. Again, why is this so difficult? From the posts I have seen, it isn't just my stupidity. I can get the time labels up and running on the waveform graph, but then the data doesnt' respond properly. It just sits there and doesn't update.
06-30-2014 09:06 AM
Hmm. Take a look at this quick example. I am able to change my chart on the fly. If you are in the default strip chart mode and the chart has enough points to be scrolling that may explain why your x-axis appears not to change. It's changing but it's off the screen in the past (to the left). If you can't select binary, perhaps you wired something to it that can't be represented that way???
It's true the chart and graph displays aren't quite as full-featured as some new GUI packages provide but keep in mind that LabVIEW is a programming language at heart and (unfortunately) has never considered fancy GUI features as a top priority. Spend some time with the graph and chart properties page and learn all the options and I'm sure you'll get comfortable with working with them.