DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

ChnLinGenImp not converting units value

Solved!
Go to solution

Hello,

I am using the command ChnLinGenImp in a channel creation such as below.

--> Call ChnLinGenImp(SpecChannelName,length,SpecNumber*1,0,Unit) 

 

The issue that I am running into is, I run a convert unit's script that converts the units if they are incorrect.  However the convert portion does not convert the IMP channel becuase it is an IMP channel.  Is there anyway around that besides going to ChnLinGen command?

 

 

0 Kudos
Message 1 of 3
(5,837 Views)
Solution
Accepted by topic author Jcheese

Hi J,

 

The only two options I'm aware of in DIAdem 2012 are:

 

1)  Give in and make an explicit channel instead of an implicit channel and let DIAdem's unit conversions handle everything

 

2)  Manage your implicit channels separately and re-create them each time there is a unit change-- but you have to manage the offset and factor conversions yourself

 

For linear unit conversions such as degC to degF, I could imagine DIAdem automatically operating on the offset and factor values of the implicit channel, BUT not all unit conversions are linear, and there you need to be able to operate on the channel values-- you can't apply a non-linear conversion to a y = mx + b equation and get another y = m'x + b' equation.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Message 2 of 3
(5,809 Views)

Thanks!

0 Kudos
Message 3 of 3
(5,806 Views)