Binary word control?

I've come across this more than one time, so I thought I'd ask if there was a simple way to do it.
I have old test software that used binary word inputs in the procedures to access memory registers, input control words, etc. for processor based operational tests.  The interface of the old system was something like this:
REG:   1|0|1|0|1|1|1|0|1|1|1|1|0|0|0|0
VAL:   0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1
Where the register number was input in order to obtain/control the values in those registers.
I've been porting over to LabView, which I should say is turning out to be more of a re-write, since LabView is so easy to get flow going from scratch.  When I come across this however, I can't see how I can have the user navigate through the bits to toggle say, bit2 of the value in order to observe some action taking place in the UUT.
Would the best alternative be a custom control that converts decimal 1 and 0 enums to binary word data?  Or is there an easier way to do this...?
Thanks in advance!
J Sines
"I have made no decision...
My main concern now is to open as many options to the future as I can."
-- from Stephen Baxter's "The Time Ships"

You have several options.
You could for example make a lenght 16 boolean array, then use "boolean array to number" to form the U16 number for use in the code. (depending on how you look at it, you might want to reverse the array to get the lowest bit on the right). For display of the result, just reverse the process and create a boolean array indicator.
You could just create a plain U16 numeric control, but set the format to binary, width 16, show leading zeroes.
etc.
See if this helps.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Oracle binary and control files

    Hi All,
    I want know whether the oracle binary and control files are they related in anyway.
    I have my physical files on a SAN storage and my oracle binary files on a local disk.
    In case if I delete my oracle binaries and restore it from a backup, will I be able to start my database without any issues.
    Since all my oracle datafiles,controlfiles and redofiles are located in SAN storage.

    Oracle binaries and control files are related in some way because Oracle version is recorded in control files:
    oerr ora 201
    00201, 00000, "control file version %s incompatible with ORACLE version %s"
    // *Cause:  The control file was created by incompatible software.
    // *Action: Either restart with a compatible software release or use
    //          CREATE CONTROLFILE to create a new control file that is
    //          compatible with this release.When restoring Oracle binaries on UNIX you should take care about setuid bits on oracle executable to avoid local connection issues by non oracle Unix accounts.

  • Read doc file using the Word Binary file format

    I want to be able to parse a Word file (xyz.doc).I want to be able to get to the actual text in the file and also get the "document properties" associated with this file.(This is the stuff you enter when you hit the File>>Properties button in Word)
    I have the binary file format of MS word 6.0 and I suppose these "document properties" are stored within a segment in this file format.
    Can anyone help me identify which segment in the Microsoft Binary word format this will be in???
    (Ya and ofcourse I want to achieve all the parsing purely in Java!!..)
    Thanks,
    Supriya

    IF you use MFC, yes. Don't ask how, this is the Java
    forum. As to the JAva API, no. There is no API in Java
    to deal with Microsoft docs, this is Java, not
    Micorsoft. Ya I know that!!:P
    You can write your own code, using the
    information in the doc. The info you refer to is
    locted on the header portion. As to how to read it,
    best go to a Microsoft forum. Once you understand the
    format, then post any Java related questions here,
    i.e. how do I oppen a file to read/write etc. Good
    luck, you will need patience, but you will leran a
    lot...Thanks anyway for your reply!:)..Will try with patience

  • Enterprise control for Windows Location Services/Provider/Privacy in Windows 8.1

    Hi All,
    Is there option (Group Policy/Registry) in Windows 8.1 to disable users to Enable or Disable (one word: control) Windows Location/Privacy global options for Metro/Windows Store/Windows Store LOB Applications?
    Is there option (Group Policy/Registry) in Windows 8.1 to disable users to Enable or Disable (one word: control) specific application
    in Windows Location/Privacy options for Metro/Windows Store/Windows Store LOB Applications?
    Thank you in advance.
    Regards,

    Hi,
    According to your description, I guess APP locker maybe helpful.
    By using APP Locker, you can:
    1. Define rules based on file attributes that persist across application updates, such as the publisher name (derived from the digital signature), product name, file name, and file version. You can also create rules based on the file path and hash.
    2. Assign a rule to a security group or an individual user.
    3. Create exceptions to rules. For example, you can create a rule that allows all users to run all Windows binaries except the Registry Editor (Regedit.exe).
    4. Use audit-only mode to deploy the policy and understand its impact before enforcing it.
    5. Create rules on a staging server, test them, then export them to your production environment and import them into a Group Policy Object.
    6. Simplify creating and managing AppLocker rules by using Windows PowerShell cmdlets for AppLocker.
    For more details about APP Locker, Please refer to the link below:
    http://technet.microsoft.com/en-us/library/hh831440.aspx
    Roger Lu
    TechNet Community Support

  • Forced open word document when value for merged field required in document is blank

    Is there any way that I can make a word 2010 document open? The word document contains fields which are linked to a window form fields which have values input by users which then are saved to the database and also merged into the document's fields. In other
    word, when the controls (per example a textbox) in the windows form have no value input into them, the word document will not open.
    Thank you in advance

    Hello Amy12,
    Your requirement is still not so clear to me. So I assume you just want to load a Word Document inside WinForm application:
    You can refer this article
    http://www.codeproject.com/Articles/3582/Word-Control-for-NET
    By the way, webbrowser control can also help you open a word document, see MSDN article here:
    https://support.microsoft.com/kb/304662?wa=wsignin1.0
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Best way to access Word doc from Forms 6i

    We have a requirement whereby the user can press a button on the form, and this starts up Word and opens a document. The user can update the doc, and save it, and on exiting Word, control returns to the form.
    I know that we can use DDE for this, but I don't want to do that.
    We want to restrict access to this Word document to only those people who have access to the form. I was thing about actually holdinh the word document in the database.
    What would people recommend?
    Is it better to use LOBS/BLOBS etc?
    Or should I be using iFS? What are the benefits of each?
    Many thanks in advance.
    Harry
    null

    i use openssh tunnel for x11vnc, then tightvnc at work (plus ssh in windows) to access, see the x11vnc wiki for info, i followed the info on this page for the ssh tunneling.
    Last edited by toxygen (2010-02-11 08:08:30)

  • Saving MS Word Document to Database

    My question is how would I go about saving a MS Word document to a 9i Database. I am using webforms, so using an OLE object wont work. I am using a JavaBean to get the file name, but that is all i can come up with so far. I have a column in my database of type Long Raw which I intend to store the binary Word file in. If you know how I can save this MS Word file, please let me know, your help is much appreciated.

    With this code, you can load file (filename)into word:
    for Windows NT
    Runtime.getRuntime().exec(new String[]{"cmd", "/c", "start winword.exe \""+filename+"\""});
    for Windows 98
    Runtime.getRuntime().exec(new String[]{"cmd", "/c", "start winword.exe \""+filename+"\""});
    Later use fileupload utility to load you file into forms server

  • [WPSL]Windows App Certification Kit Test Fails, binary is built in debug mode

    Hi,
    Windows phone 8.1 App fails Windows App Certification Kit test (WACK Test).
    It is producing below error in Debug configuration test,
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    Impact if not fixed:  Windows Phone Store doesn’t allow a debug version of an app. 
    How to fix:  Please make sure the app isn't linking to any debug versions of a framework and it is built with the release configuration
    And i got a solution like,
    Universal Apps (And Silverlight 8.1 Apps) have a different certification requirement. You cannot publish assemblies built in debug mode.
    You'll need to contact the NuGet authors of ICSharpCode and ImageTools and have them provide you with a version built in release mode.
    How to proceed with this solution. I'm very help full if any solution provided.
    Thanks and Regards,
    Ranjit.

    Hi Franklin,
    Thanks for your replay. I created my package in 'Release' mode only.
    Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1. In "Release" mode i created my build, but i'm having this error in WACK(Windows
    App Certification Kit) test.
    I'm able to run my App in windows phone 8.1, but if i submit it to store then will be rejected definitely.
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    The WACK test fails in debug configuration test, for "Phone.Controls.dll "
    it is built in debug mode.
    There should be a solution like, how to convert .dll to release mode.
    Please help me in this.
    Thanks 
    Ranjit.
    Hi ranjit,
    >>Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1
    Okay, this may be due to the upgrading process, could you tell us what the detailed version of your Visual Studio is(for example: Visual Studio 2013 Update 4)?
    You may need to create a new Windows Phone 8.1 Silverlight project and try to upload it to Store, if this problem can be resolved, I think this should be related to the upgrading process, you may need to start from scratch by recreating a WP8.1 SL project.
    To exclude environment facts, I would also suggest you retesting it on a new machine with the latest IDE.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Windows App Certification Kit Test Fails, binary is built in debug mode

    Hi,
    Windows phone 8.1 App fails Windows App Certification Kit test (WACK Test).
    It is producing below error in Debug configuration test,
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    Impact if not fixed:  Windows Phone Store doesn’t allow a debug version of an app. 
    How to fix:  Please make sure the app isn't linking to any debug versions of a framework and it is built with the release configuration
    And i got a solution like,
    Universal Apps (And Silverlight 8.1 Apps) have a different certification requirement. You cannot publish assemblies built in debug mode.
    You'll need to contact the NuGet authors of ICSharpCode and ImageTools and have them provide you with a version built in release mode.
    How to proceed with this solution. I'm very help full if any solution provided.
    Thanks and Regards,
    Ranjit.

    Hi Franklin,
    Thanks for your replay. I created my package in 'Release' mode only.
    Actually my project in windows phone 7.1 and i upgraded it to windows phone 8.1. In "Release" mode i created my build, but i'm having this error in WACK(Windows
    App Certification Kit) test.
    I'm able to run my App in windows phone 8.1, but if i submit it to store then will be rejected definitely.
    The debug configuration test detected the following errors:
     1)The binary Phone.Controls.dll is built in debug mode.
    The WACK test fails in debug configuration test, for "Phone.Controls.dll "
    it is built in debug mode.
    There should be a solution like, how to convert .dll to release mode.
    Please help me in this.
    Thanks 
    Ranjit.

  • Selected list items to Word document

    I found online many posts to generate a word document with all items included in a list.
    But is is possible to have the generation triggered by the user and to include only a subset of the list items?

    Hi  ,
    According to your description, my understanding is that you want to generate a word document with selected list items in your SharePoint 2010.
    You should look into the Word Control Toolkit, which uses the Open XML format SDK to achieve what you require.
    The basic functionality is that you use the Edit Control Block on a selected list item to generate and populate a Word document using a template you can select from a drop-down list.
    Here's some links to get you started:
    Generating Documents from SharePoint Lists with Open XML Content Controls
    http://blogs.msdn.com/b/ericwhite/archive/2009/10/14/generating-documents-from-sharepoint-lists-using-open-xml-content-controls.aspx
    Word Content Control Toolkit (Codeplex)
    http://dbe.codeplex.com/releases/view/5508
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Include word file to AIF

    Hi all,
    I've the following requirement. The end user can upload a ms-word file. Now I've to put the content of the word file in a reserved space in a adobe form.
    My question is: is this possible?
    Best regards,
    John

    There is no functionality in Adobe forms to be able to dynamically embed word within it.  You would have to extract the text content out of the word document first, within Web Dynpro. You should search the forums on that topic as it has been discussed before (very recently in fact).  The summary - it isn't going to be easy to do.  If you use the legacy binary word format (DOC) it really isn't possible to read the content within Web Dynpro.  If you are using the DOCX (XML based format in Word 2007 and higher), then the file content is XML. This is a little easier to read because you can at least get the XML content in ABAP. However then you still have to parse the XML and remove the formatting - no small task. You could rquire the word document is saved in some text only format, but this will require a manual step on the users part before they even upload the document to Web Dynpro ABAP.

  • Show 8 bit binary data on graph

    Hello..
    I have an 8bit binary numeric control and I want it to be shown on graph so that it would look like a digital bit pattern just like image below.
    Please Help..

    Try something like the attached draft (LabVIEW 8.2).
    convert number to boolean array
    convert boolean array to (0,1) array
    graph (0,1) array.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    GraphBits.vi ‏13 KB
    GraphBits.png ‏8 KB

  • How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    You are trying to copy a link, it is most likely in a different color such as the words "Microsoft's own forums" in his post. In Word highlight the word or words, control click on them, select Hyperlink, then Edit Hyperlink, then delete the link from the top box. It will then have a button asking if you want to "Remove Link", click on it.

  • Forbidden Words - NOT WORKING - Günter HELP YOUR A STAR

    Hi again,
    I am having massive issues with the forbidden words control.
    ERROR *********************
    Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/yyorkshi/public_html/lincolnshirenetworks.org.uk/includes/tng/triggers/tNG_ChkForbi ddenWords.class.php on line 191
    Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/yyorkshi/public_html/lincolnshirenetworks.org.uk/includes/tng/triggers/tNG_ChkForbi ddenWords.class.php on line 191
    Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/yyorkshi/public_html/lincolnshirenetworks.org.uk/includes/tng/triggers/tNG_ChkForbi ddenWords.class.php on line 191
    Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/yyorkshi/public_html/lincolnshirenetworks.org.uk/includes/tng/triggers/tNG_ChkForbi ddenWords.class.php on line 191
    Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/yyorkshi/public_html/lincolnshirenetworks.org.uk/includes/tng/triggers/tNG_ChkForbi ddenWords.class.php on line 191
    Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/yyorkshi/public_html/lincolnshirenetworks.org.uk/includes/tng/triggers/tNG_ChkForbi ddenWords.class.php on line 191
    Warning: Cannot modify header information - headers already sent by (output started at /home/yyorkshi/public_html/lincolnshirenetworks.org.uk/includes/tng/triggers/tNG_ChkForbi ddenWords.class.php:191) in /home/yyorkshi/public_html/lincolnshirenetworks.org.uk/includes/common/KT_functions.inc.p hp on line 464
    END ********************
    Cheers again,
    Joe
    P.s. Günter I owe you a beer or ten as you have helped me out a few times! Cheers again and if your in UK let me know and ill get you a few jars in.
    I also owe a few beers to a few others so you will also get one

    Hi Joe,
    as much as I´d like to accept your generous offer and sink a few beer on your account, I really have no clue why exactly this happens. In theory tNG_ChkForbiddenWords.class.php can be broken, so please try with renaming the "includes" folder to "includes_bak", have ADDT regenerate "includes" from scratch, and see if this problem still exists.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Exte4rnal application sending binary documents to workflow

    How can and external application send binary word documents to workflow?
    I have tested the AQ XML Servlet and found it usefull to use for applications external to oracle to send notifications which may include text documents, to workflow. I am not sure what to do If the document were binary.
    Thanks,
    Yves.

    I Base 64 Encoding a standard that would be available to other applications external to Oracle? That is if my external application is written is C++, If I encode a document, will Oracle be able to decode it?

Maybe you are looking for