04-01-2012 02:06 PM
Yes I will please give me a days time. Need to go to lab tomorrow and do it. I will asap.
Thanks for the help so far.
04-02-2012 12:40 PM
The below attachment shows:
1. The actual waveform generated by another software ( displayed as two's complement formaty )
2. The waveform in my labview
3. the code showing the output connecting to the waveform ...
04-02-2012 12:53 PM - edited 04-02-2012 01:22 PM
Since your data seem to wrap at around 64k, it seems that the correct representation would be I16, NOT I32.
Can you attach a VI that contains the I32 array with real data in the bad waveform graph? SImply take the VI, run it so the graph shows data, "right-click the graph...data operations...make current values default", save under a new name and attach the VI. If you want, you can delete all code except the graph terminal.
Maybe split the I32 number and cast the lower half to I16, for example.
04-02-2012 02:14 PM
here it is , I hope this is what you asked for.
04-02-2012 02:20 PM
sorry this one!
04-02-2012 02:24 PM
Your graphs still do not contain any default data as instructed.
04-02-2012 02:37 PM
Sorry ... is this what u wer asking for ? I dont see any options called data operations when I right click. But this is how I could export the data
04-02-2012 03:08 PM
@abikutn wrote:
Sorry ... is this what u wer asking for ? I dont see any options called data operations when I right click.
The option is only available in edit mode, i.e. after you stop the VI.
04-02-2012 03:11 PM
Ok now I get what you were saying. Apologies since I am new to LV.
04-02-2012 03:24 PM - edited 04-02-2012 03:25 PM
Yes, using the lower half as I16 graphs the data correctly. (maybe the dll node and it's code is configured incorrectly, no way to tell).
(The attached VI has the data from your graph as diagram constant.)