DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I plot signals in the same "X" axis without crating a new channel?

It sounds like you're saying that your channels are waveforms (they have a "~" to the left of them in the Data Portal), and that for one or more of your channels the "Waveform x-offset" property is not set to 0, and you're not sure why.  Well, where does your data come from?  If you do have waveforms, then you must either be acquiring the data with LabVIEW or CVI or loading the data with a DataPlugin.  What type of data file is it?  Typically if some waveforms have a non-zero offset, it means they were acquired later than the other waveforms, and the graph picture you posted would then reflect that reality by plotting the "later" data further to the right on the X axis.  You can always manually or programmatically set the offset to 0 if you want to show all the graphs starting at 0 on the X axis, as it sounds like you have already done on your end.  If the non-zero offset is just wrong, then I suggest you talk with either the programmer of the LabVIEW or CVI code that acquired the data or the programmer of the DataPlugin to discuss how that property is being set.

If you don't have waveforms, then I don't understand you yet, please explain further.

Cheers,
Brad Turpin

Dear Bra

You are right, my signlas are waveforms. My data comes from a Vi that made in Labview 7.1 (LVM file), the vi made 1 record of 7 channels (6 real channels and 1 calculated) each second. How can I set a zero offset in LabView?

Thanks for your help

Regards,

Héctor

0 Kudos
Message 11 of 12
(1,001 Views)

Hi Hector,

If the waveforms have different offsets in the LVM file, then they probably were acquired at slightly different times, and you may want to retain that information in the data file.  I suggest you simply set the waveform offsets programmatically once you load the channels into DIAdem, like this:

FOR i = 1 TO GlobUsedChn
  IF ChnPropValGet(i, "waveform") = "Yes" THEN
    Call ChnPropValSet(i, "wf_start_offset", 0)
  END IF
NEXT ' i

Ask if you have further questions,
Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 12 of 12
(991 Views)