03-20-2012 04:57 AM
I created one xcontrol for pressure sensors . I am able to display the output correctly but i could not able to use the output for other inputs .
how to extract the xcontrol output
for clear understanding please see the attached vi testing .
03-20-2012 05:37 AM - edited 03-20-2012 05:41 AM
Hi Nagaa,
you only get the input data - the same value as could be read from the wire directly...
But:
Your XControl could export some more properties and methods. That way you can easily read also those converted values: create a property "converted value" (or named similar) that gives back the displayed value. All that is explained in the help for XControl creation...
Btw.: Did you ever thought about using units display abilities of LabVIEW? LabVIEW supports atm, bar, Pa, psi, Torr, mHg. But who the hell is using other units than given by SI?
03-20-2012 09:31 AM - edited 03-20-2012 09:32 AM
I always measure velocity in furlongs per fortnight
Units are very powerful, and like any great magic, can result in serious unintended circumstances.
I've tried them a couple of times and decided they were more difficult to use than the value provided. Maybe it's better now, but I'm still on LV 8.6 😞
http://forums.ni.com/t5/LabVIEW/Why-do-very-few-programmers-use-LabVIEW-unit-labels/td-p/1119746
03-21-2012 06:51 AM
Thanks for replying mr.GerdW
As i am new to labview i am just practicing how to create x controls .
As u suggested to add more properties i tried some trial and error methods but its not coming so please help to compleate remaining part
Thank you
raja
03-21-2012 07:00 AM
@PhillipBrooks wrote:
Units are very powerful, and like any great magic, can result in serious unintended circumstances.
Though I have never used LabVIEW Unit labels, I am interested to know what unitended circumstances it could have?
03-21-2012 07:25 AM
Hi Fragger,
just one classic circumstance: try to square a value with a unit!
- What's the result of squaring "1m", when LabVIEW takes over?
- What's the difference when using a simple multiplication function instead of the square function?