LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hex & Reading board VI

Solved!
Go to solution

see attached VI

I've generated a code (6065780000000699) onto a board which i hope this vi will read and confirm is connected, instead i'm getting it read as, 7FFFFFFF which is NaN. therefore wrongfully confirming i've no board attached.

 

any idea?

 

0 Kudos
Message 1 of 18
(3,162 Views)

Hi dhanna,

 

try to convert string to num like this:

check.png

 

Btw. attaching a VI that contains a missing (for us) subVI is pretty senseless…

Best regards,
GerdW


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

 

but it should be reading from the sub vi 'ADC selector' which ia an array, where that code is kept, im hoping to hvae about 20 different codes in here for different parts.

0 Kudos
Message 3 of 18
(3,144 Views)

Hi dhanna,

 

no subVi, no answer…

Best regards,
GerdW


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

'ADC number' i meant to say, its in 0 of the stacked sequence structure?

0 Kudos
Message 5 of 18
(3,116 Views)

Hi dhanna,

 

again: WE CANNOT SEE YOUR SUBVI!

 

As long as we don't know anything of your subVI we cannot provide any more help!

Best regards,
GerdW


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

can i ask, what you mean by not seeing it? the sub VI's not loading (like the ? symbol) or what?

0 Kudos
Message 7 of 18
(3,097 Views)

Yes, you attached Untitled 1.vi, but you did not attach connect1.vi

0 Kudos
Message 8 of 18
(3,091 Views)
0 Kudos
Message 9 of 18
(3,086 Views)

Hi dhanna,

 

the subVI "array.vi" is missing!

 

You get an I64 array from this (missing) subVI…

Best regards,
GerdW


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