ni.com is currently experiencing issues.

Support teams are actively working on the resolution.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Wafeform X-Values

Solved!
Go to solution

 

 

 Hello:

 

I am processing data in .MME format.  Each channel loads into the data portal as a waveform channel.  My issue is that the x-values for the waveform are in "seconds" and I require everything to be in "ms."  

 

Is there a simple way to do this conversiom?  I've tried some more complex, roundabout ways to solve the problem but I'm hoping for a more elegant, succint solution.

 

Thanks,

Alex

0 Kudos
Message 1 of 6
(3,660 Views)

Hi,

 

You can click at the unit property (the text in the list of properties of a channel). Then a 3-dot-button appears. If you click on that you get a dialog which let you convert the unit "s" into "ms".

 

Greetings

Walter

0 Kudos
Message 2 of 6
(3,650 Views)

I failed to mention that I'd like to perform the conversion in a script, if possible.

 

It's part of a larger dialog box and I'd like to have as little user input by the test operator as possible.

 

 

Thanks,

Alex

0 Kudos
Message 3 of 6
(3,648 Views)

Yes, this is also possible via script. The command is ChnUnitConvert

 

Greetings

Walter

0 Kudos
Message 4 of 6
(3,643 Views)

Thanks for the reply.

 

Will this work even for a waveform channel where I'd only like to convert the x-value?  It seems to me that with the command you've supplied, I would only be able to convert the y-values of the channel.

 

 

Thanks,

Alex

0 Kudos
Message 5 of 6
(3,641 Views)
Solution
Accepted by AlexVander

Good point. In this case you must use the command ChnWfxUnitConvert

 

Greetings

Walter

0 Kudos
Message 6 of 6
(3,634 Views)