1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 <2015> 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 <2015> 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: streamdevice mbbiDirect mask |
From: | Mark Rivers <[email protected]> |
To: | "'Silver'" <[email protected]>, tech-talk <[email protected]> |
Date: | Sun, 19 Jul 2015 17:22:26 +0000 |
Ø
If I want to mask it with a value 0xC1(b"1100,0001"), how to set NOBT/SHFT field? My understanding is that you cannot do that. I think the NOBT and SHFT fields are designed to allow you to set a contiguous set of bits to 1 in MASK. It does not allow a mask with arbitrary locations of 1’s and 0’s. The standard asyn device support does support longin records with an arbitrary mask. Mark From: [email protected] [mailto:[email protected]]
On Behalf Of Silver hi, in the website of streamdevice, it says: Normal Operation
Depending on the format type, different record fields are used for output and input. The variable DOUBLE format (e.g. Not allowed. LONG format (e.g.
If Output:
If Output:
ENUM format (e.g. Not allowed. STRING format (e.g. Not allowed. In my case, I use mbbiDirect and get a value as 0x29 (b"0010,1001") in VAL field. If I want to mask it with a value 0xC1(b"1100,0001"), how to set NOBT/SHFT field? Thanks a lot in advance. Best wishes Geyang 2015-07-19 |