LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change range in tag configuration editor

i m communicating serial based instrument with labview7.0, when my instrument sends negative values in communication the value 655355 is get displayed.plz can anybody tell me how to display negative values in trends.

 

Regards,

Anisha

0 Kudos
Message 1 of 6
(2,661 Views)

65535 is a value that can be seen in an unsigned 16 bit integer (U16) which ranges from 0-65535.  It sounds like you want to set yourself up a signed 16 bit integer (I16) which ranges from -32768 to 32767.

 

Just set your datatype for the value accordingly.

 

Without seeing any further code, or know what your instrument is, that is the best I can answer.

0 Kudos
Message 2 of 6
(2,659 Views)

but my value is -3 ,for -3 value in istrument labview is showing 65535 value.so i want to know how should i set range in labviewdsc so that it will show -3 value.

 

 

Regards,

Anisha

0 Kudos
Message 3 of 6
(2,649 Views)
You have to set the datatype to be I16 and not U16.  It's been a long while since I used LV 7.1, and I never used LV 7.0, so I really don't remember where you define that in the tag configuration editor.
0 Kudos
Message 4 of 6
(2,631 Views)

can you tell me where that setting is available in tag configuration editor in higher version.Because in L7.0 i have checked all settings but coudnt find these settings in Tag Configuration Editor.

 

Regards,

Vijtin

0 Kudos
Message 5 of 6
(2,622 Views)

can you tell me where that setting is available in tag configuration editor in higher version.Because in L7.0 i have checked all settings but coudnt find these settings in Tag Configuration Editor.

 

Regards,

Vijtin

0 Kudos
Message 6 of 6
(2,622 Views)