Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically read scaling units from cRio

Hi.

In cRio platform, when configuring an I/O variable, it is possible to define also the engineering unit.

Is there a way to programatically read these defined units?

Thank you

 

Labview 2019, DSC module, RT module

0 Kudos
Message 1 of 3
(1,649 Views)

Looks like you should be able to do it by wiring a reference to a Property Node for your Shared Variable since you have DSC Module.

http://zone.ni.com/reference/en-XX/help/371618K-01/lvdscprop/sharedvariableio_p/

Looks like Scaling:Units is the one you're looking for. 

Hope this helps!

0 Kudos
Message 2 of 3
(1,613 Views)

Hi.

A strage behavior is happening. By using Shared Variable IO Property i can read many properties, but when i select "description" property or "units" property an error is occurring.

0 Kudos
Message 3 of 3
(1,605 Views)