‎05-17-2010 08:23 PM
Hello,
I have a 2d array that is u16 (0-65K) and trying to subtract a "dark" from it. The problem is that it sometimes yields to negative numbers and it does a wrap around and shows the values as 65K. Is there a truncate function or something to make them zero. Sorry if this is a simple question. I have only been doing labview for a couple of weeks.
Thanks
Solved! Go to Solution.
‎05-17-2010 11:07 PM - edited ‎05-17-2010 11:08 PM
imageproblems,
Have you considered casting the U16 to I32, making your subtraction, coercing the value such that it does not fall below zero and finally casting it back to U16?
I don't know but this might work for you...
Cheers, Matt
‎05-18-2010 11:10 AM
‎05-18-2010 11:12 AM
‎05-18-2010 11:19 AM
imageproblems wrote:
Sorry, I meant to click the solution on your post and clicked it on mine. Wheres the undo button. Thanks again.
THe Options drop-down (top right) has a option to remove the solution marking.
Ben
‎05-18-2010 11:31 AM
Sorry. I dont see it. I see an options menu on each reply but that has nothing about clearing it. Looking at the screen, i see a thread option on the left but that has nothing about clearing the solution either.
‎05-18-2010 11:36 AM
‎05-18-2010 12:22 PM
imageproblems wrote:Sorry. I dont see it. I see an options menu on each reply but that has nothing about clearing it. Looking at the screen, i see a thread option on the left but that has nothing about clearing the solution either.
The options menu to the upper right of the message that you incorrectly marked.
‎05-18-2010 12:38 PM
Got it.
Thanks sorry for the hassle.
‎05-19-2010 08:15 AM
Hassy wrote:This is a fantastic website and information is also outstanding like ccnp magnificent in study affairs. I am very mindful about ccsp. results. I want help or good resources that prepare me and give best guidance for cisco certification. Have you any awareness about it?
__________________________________________________________________________
crm certification ll db2 certification dumps ll ence ll itil braindump