LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plot numeric waveform with absolute time

Hi all,

This code was working with Labview 2009, but it doesn't seems to work with 2010, do I make something wrong ?

 

 

 

Regards,

V-F
0 Kudos
Message 1 of 13
(2,966 Views)

Hi ramses64,

 

you're right.

Your example isn't working with LV2010 SP1.

 

I tried so solve your problem with a workaround.


Please check it, if this is ok for you.

 

Best regards

Dippi

Message 2 of 13
(2,947 Views)

Hi,

thanks for your answer.

This solution doesn't solve my problem : I want to display digital signals (same problem on mixed graph) on absolute time, not relative.

And my signal hasn't constant dt, so I used this method in LV 2009, and that was working...

 

Regards,

 

 

V-F
0 Kudos
Message 3 of 13
(2,941 Views)

Hi ramses64,

 

I installed LV 2009 SP1 and tested your example.

 

And it doesn't work...

What can we do now?

 

regards

Dippi

0 Kudos
Message 4 of 13
(2,928 Views)

Hi,

on my previous (dead) computer, I had 2009 F3 (download here : http://joule.ni.com/nidu/cds/view/p/id/1542/lang/fr )

Could you please test with this patch Smiley Wink (I'm really sure that this method worked before !)

 

Best regards,

V-F
0 Kudos
Message 5 of 13
(2,925 Views)

Hi ramses64,

 

I set up a complete new system.

Then I first installed LabVIEW 2009 (without any Patch)

==> See Screenshot "LV2009_Test.jpg"

 

Afterwards I installed F3 patch

==> See Screenshot "PatchF3 Update.jpg"

 

At least I tested your example with LabVIEW 2009 F3

==> See Screenshot "LV2009F3_Test.jpg"

 

Somehow it doesn't work.

Because of that, I can't go to R&D and show them that behaviour.

 

Regards

Dippi

Download All
0 Kudos
Message 6 of 13
(2,899 Views)

Hi,

thanks for your reply,

I will install LV2009 with F3 patch, and will prove to you that I'm not dreaming (I hope !) Smiley Wink

I'll come back soon.

Best regards,

V-F
0 Kudos
Message 7 of 13
(2,884 Views)

Hi,

I have no time to test with a blank OS, and LV 2009 with F3, but I think (and I'm sure) this is a bug.

My problem : I want to plot a numerical XY graph, with absolute time : instead of writing a huge quantities of datas, I want to write only when a change occurs, to avoid useless datas, and overcharging CPU !

Is there a way to do this ?

Regards,

V-F
0 Kudos
Message 8 of 13
(2,869 Views)

Hi ramses64,

 

see attached example.

I delete the FIRST timestamp.

Because of that your time starts now at zero...

 

Like this it works...

 

Please take a look at it...

 

Thanks

Dippi

Message 9 of 13
(2,856 Views)

Hi,

what you've done is ploting the datas in relative time.

What I want is to plot it in absolute time...

 

Relative time : starts at 0, no date, no reference

Absolute time : start at a date, date included

 

Sorry, it's not what i'm trying to do.

The problem I think is that the X value of waveform has for max 4294967295, which is 32 bits. When you convert a timestamp to dbl, you need a 64 bits format.

 

 

So the problem is there !

 

Best regards,

V-F
0 Kudos
Message 10 of 13
(2,849 Views)