LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
CL_eisenwr

Bring NXG C Node to LabVIEW

Status: New

I just found out about LabVIEW NXG's C Node. I know my team would love to have it in LabVIEW to use for bit masking in a familiar syntax. The Expression and MathScripts nodes have issue with 64-bit values and give unexpected results. A quick test in C Node does fix these issues.

__________________________________
Bill Eisenhower
Certified LabVIEW & TestStand Developer
2 Comments
crossrulz
Knight of NI

As far as bit masking, what is difficult about the AND, OR, and Logical Shift?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
CL_eisenwr
Active Participant

U64s did not work properly for values values > 2^31 for the expression node. There seems to be some incorrect casting/assumptions of U32/I32. It would be nice to have this done more inline with the familiar syntax.

 

Example 1Example 1Example 2Example 2Example 1 ResultExample 1 ResultExample 2 ResultExample 2 Result

__________________________________
Bill Eisenhower
Certified LabVIEW & TestStand Developer