LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hex & Reading board VI

Solved!
Go to solution

forget how bothersome linking VI's is!! 

0 Kudos
Message 11 of 18
(889 Views)

Zip all the VIs and attach one file.

 

Lynn

0 Kudos
Message 12 of 18
(884 Views)
Solution
Accepted by topic author dhanna

Hi dhanna,

 

in your array you defined a HEX number like "6065710800000699" in an I64 array.

In your connect.vi you defined an I32 number which CANNOT hold that number. Thus it gets coerced to I32-MAX of 0x7FFF.FFFF…

 

Always use the correct datatype. Create constants by right-clicking the corresponding terminal…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 18
(881 Views)

think whats needed is now there?

0 Kudos
Message 14 of 18
(879 Views)

Hi dhanna,

 

yes, it's all there.

 

You need to learn how to use those different datatypes and after that change the datatype of your numeric constant!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 15 of 18
(870 Views)

shouldnt matter about the representations as all i've done is change the original array to have that new hex code (which represents a different board) in. as opposed one of the boards it had (606578000000000E)

0 Kudos
Message 16 of 18
(870 Views)

Hi dhanna,

 

I can't comment on what you changed and what you didn't changed.

All I see is a coercion dot and a datatype mismatch!

 

I suggested a possible solution. You might look for other solutions if mine is no option for you…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 17 of 18
(865 Views)

got it!! one of the data types had to be 64, so kudos!!
the other mistake was i mistyped a number into my Hex code........ 😞

 

thanks guys, shall give kudos for our help

0 Kudos
Message 18 of 18
(850 Views)