01-08-2013 04:13 AM
Dear all,
Anyone can explain what mean by this line of code:
ad<=(-5) mod 8;
I know the "mod" is the remainder. But, why need negative? What the different with ad<=5 mod 8? Thanks in advance
01-08-2013 06:07 AM - edited 01-08-2013 06:08 AM
This doesn't exactly look like a LabVIEW problem although you are here on a LabVIEW forum. And considering that we are on a LabVIEW forum it would have been very trivial to try it out in a LabVIEW VI with the Quotient & Remainder function. Try it out and you will see the difference! Doing so costs less time than posting here!
01-08-2013 06:31 AM
@rolfk wrote:
This doesn't exactly look like a LabVIEW problem although you are here on a LabVIEW forum. And considering that we are on a LabVIEW forum it would have been very trivial to try it out in a LabVIEW VI with the Quotient & Remainder function. Try it out and you will see the difference! Doing so costs less time than posting here!
Opss, sorry for posting the thread here . Forget this is LabView forum. Already post in the right forum, peace!
01-08-2013 06:34 AM
The difference when you try it in a LabVIEW VI, with starting up LabVIEW it costs less than a minute, is that one result of the mod is 3 and the other is 5. Think about it why!