LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing boolean data with NI-XNET read vi

Hi,

 

I created a data base of multiplexed signals and I'm trying to parse the boolean signal from the signal list that contains a mixture boolena and decimal values but I'm not sure if this the right way to do it. How should the boolean signals in my signal list be parsed. See attached unfinished code.

 

Thanks

0 Kudos
Message 1 of 2
(2,389 Views)

Hi SolPS,

 

Here is a screen shot that may help, but I think we may have a little confusion here still.  First off, I see that you are breaking your frame up into 8 individual bytes.  The last three seem to contain your decimal signals, leaving you 5 more bytes of data.  However, you only have 5 more boolean values, which is only 5 bits.  Do you know where in these 5 bytes you'll find your boolean values?  Are they all in the same byte?  Or is each byte being used for a single boolean value?

 

Best,

Jeff S.
National Instruments
0 Kudos
Message 2 of 2
(2,350 Views)