3 digital inputs for the structure of the case

I'm in the early stages of development a VI that will monitor 3 digital input lines. Only a single digital input will be active at any time. For each digital input, a VI runs under different.  Currently, I use 3 structures distinct case (attached).

Is it possible to use a case structure (3 cases over a default value) to monitor three digital input lines?  Specifically, how to convert Boolean data (digital input lines) to a data type recognized by the terminal selector?

Thank you

Bill

Adding to my post from yesterday.

In defining an enum for each possible value with a descriptive name, it is easier to follow what the code is doing.

The attached VI (7.1 LV) shows how I could manage three types Boolean controlling a press to ensure that security is set, and the part is in place when the operator chooses to activate the press.

This approach allows you to treat each of the 9 possible States only.

Of course, this approach is not feasible for more than 5 bits (Boolean) (unless you have an intern to the no, not me!)

Ben

Tags: NI Software

Similar Questions

  • Is it save to use the digital output as a digital input for another channel signal

    Hi all

    I know it's a stupid question, but I don't have another generator of signals by hand. What I want to know is, can I use the signal digital output of my USB-6001 as an input for the same signal device, but on other digital port? I wasn't directly because I don't want to burn the device...

    Thank you

    Done all the time. No problems.

  • Windows cannot verify the digital signature for the drivers required for this device

    I get this error from a specialized device that uses a usb/network card connection built-in.  It is with windows 7 Home premium.  Now I know that the source of the driver.  It is the latest driver and labeled for use with Vista.  I need to override this security check, so I can use this equipment.  It is an integral part with me a living. It is likely absolutrly nothing wrong with the driver.  I downloaded from many sites without modification.  This equipment worked well under Vista.

    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might be installed a file that is signed incorrectly or damaged, or maybe it's a malicious software from an unknown source. (Code 52)

    I found the answer by looking for other sites, it's probably here somewhere as well.  Restart the computer.  During restart, press "F8".  Select Disable Driver Signature Enforcement in the start menu.  This fixed the problem of driver in my case.

  • Error: "Windows cannot verify the digital signature for the drivers required for this device (Code 52)"

    Original title: Wireless cannot verify the digital signature for the card driver from son - after an automatic update of the software.

    We downloaded an automatic update of our HP Pavilion laptop running Windows 7.  This disabled somehow the wireless network adapter.  Readings of the error; "Windows cannot verify the digital signature for the drivers required for this device.  A recent hardware or software change might be installed a file that is signed incorrectly or damaged, or that might be malicious from an unknown source. (Code 52) ».  We tried 2 system restore - problem persisted.

    I solved this problem to roll back the driver to that before the driver that is currently installed.  The wireless activated immediately when done.

  • Whith USB Device error: "Windows cannot verify the digital signature for the drivers required for this device...". (Code 52) »

    Original title: open usb drivers problem

    My Dell laptop stops working with USB storage drivers. The removable driver icon is displayed in the devices window and printers with a yellow triangle around!
    I've tried different USB drivers and the problem persists. I tried troubleshooting, and it does not help.
    In the Properties window, I get the following message:

    "Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might be installed a file that is signed incorrectly or damaged, or maybe it's a malicious software from an unknown source. (Code 52) »

    I don't remember making any hardware/software changes and do not know how to solve the problem.

    You are welcome.

    Something seems not quite right so contact the store can be a good idea.

    Back to the initial problem as I understand it, is that when you insert an external drive, you get the error 'code 52?

  • Windows cannot verify the digital signature for the drivers - code 52

    original title: driver sata code 52 ts-h653t

    My CD/DVD drive has stopped working today.  Getting a code 52:
    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might be installed a file that is signed incorrectly or damaged, or maybe it's a malicious software from an unknown source. (Code 52)
    Have run Microsoft FIXIT and resolving issues that have been of any help.  Tried to uninstall the driver and restart the computer, nothing.  The CD player is factory installed and worked for nearly 2 years without any problem.  Model driver is TS - H653T SATA.  Did not bring any changes to the computer today before what is going on has begun.  Thanks for your help!

    Also, try following the steps under "Windows 7 or Windows Vista" in the MS KB article:

    http://support.Microsoft.com/kb/982116

    These measures, to remove the UpperFilters and LowerFilters, values if they exist, in the registry key named can help.

    Create a System Restore Point beforehand and restart the computer after

  • The laptop recovery Toshiba Satellite L505-S5997 problem error: Windows cannot verify the digital signature for the drivers required for this device

    I have a Toshiba Satellite L505-S5997 computer laptop and my hardrive recently crushed, impossible to restart.  I installed a SEAGATE 500 GB/sata/GO 16 MB of Cache, 7200 RPM hard drive. I ordered recovery for the computer disks and many of the drivers will not update or install without error that tells me that "Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might be installed a file that is signed incorrectly or damaged, or maybe it's a malicious software from an unknown source. (Code 52) "error.  Also, when I try to update Windows 7 I get the ' Windows Update cannot currently check for updates, because the service is not running. "  You may have to restart your computer. "When I try to download the service pack from the Web site it is usually interrupted with another error.  I tried to go to the Toshiba website and download the drivers needed and utitilities but nothing seems to work.  I am at a loss to try to seek and find a solution.

    Are you sure that the original problem was caused by a failure of the HD, did you test that the hd with the utility bootable disk from audit?

    As if you reinstalled to a new HD using that the required all defined recovery Tosh disk drivers would have been installed in this process.

    Assuming that Tosh then rebooted successfully after recovery, windows update would have run some important updates automatically. If that failed then it would seem that something is happening with your system.

  • How to insert a block of digital signatures for the form fillable

    Just upgraded to Adobe Acrobat DC. How to insert a block of digital signatures for the form to fill out?

    Tools > prepare the form

    Insert a signature field

  • With the help of digital input for Boolean control?

    Hello!

    I have spent a lot of time to search but have not found a solution to this...

    I have LV 2015 with chassis NI 9188 and module NI 9425 DI.  Try to use the input signal to assign a State structure machine program and/or events in real time.  It would be acceptable to have an indicator show the status of the input line, since I can use it elsewhere with Value (Signaling).

    Please do not ask for the code - the problem is quite simple.  I just want to use the digital inputs to program control as a T/F.  I want just the program to analyze the State of the input and decisions - a bit like a PLC.

    All I seem to be able to extract is data of digital waveforms with a task DAQmx.

    It's not a trigger - I already use a trigger to start the analog acquisition.

    Formulate the problem in a simpler way...  What to do if you had a digital input module and you wanted to see the status of each input line in the form of a LED on your face in real time.  How would you do it?

    I really appreciate the help!

    greyhorn23 wrote:

    Formulate the problem in a simpler way...  What to do if you had a digital input module and you wanted to see the status of each input line in the form of a LED on your face in real time.  How would you do it?

    I would like to write what has been read to the Terminal.

    From what I can tell, you want to just read a single static value from your digital line.  You can then simply read the value of one and do some logic with her.

  • Western Digital IcePack for the SSD mounting: problem to share

    I liked the sled of adapter form factor of 2.5 to 3.5 Western Digital IcePack for my converted Momentus XT 500 GB disks hard/Intel SSD 2.5 "for proper installation in HP xw workstations.  Most of the jobs that I use have the standard plastic 3.5 "drive green HP monte that slide in case channels meant for this.  See PDF attached on the ice.  They are very solid and well built.

    It turns out that are the two colors of the interface... red and green circuit board. Green only those that I have seen include a molded projection that is supposed to interface with a cavity on the back of some disks 2,5 "hard, that allows the transfer of the drive jumper pins hard interface in the background of the ice SATA connector (which is exposed for easy access, therefore).

    I received only of briquettes with PCB red until today, and those who have not had this projection at the end of disk 2.5 "interface.

    My SSD intel is not riders and so no mating recess and therefore not necessary for this part of the interface, but they cannot drag on the projection as a result.  My 'red' briquettes version would accept the SSD and 2.5 "hard drives with a jumper pin recess in all circumstances (but not be able to allow the manipulation of rider to end exposed sea ice).  My "green version" briquettes will can return disks 2.5 "with the cavity of jumper pin into the rear end of the car itself.

    So, for me, red is the only type I want.  I did not use jumpers on the drives for years...  If you buy a guy on eBay who these new Western Digital be sure to communicate your needs for the Red version.  It is obvious through the sealed bags of mylar.

    Scott

    CHANGE > > > > > > see below... There is actually a few briquettes with PCB being red and have the projection causing trouble, too, but they seem to be a small minority.

    I've seen 2 WD briquettes with the Green circuit board, and each of them has had this additional projection that interferes with my Intel SSD to slip in the correct position.  You can see in the pictures that "bottom basket' of the SSD Intel a flower metal where the hard drive has a"container"recessed in the same region to take account of this protrusion.

    I checked all my Velociraptors currently here, which are 2.5 "hard disks that are mounted on the plateau of the Western Digital factory.  All those who have red cards (without projection).  This is despite the fact that make Velociraptor hard drives have the recess that would accept the projection, as does the 2.5 "hard drive shown in the first photo attached.  Thus, it seems that for the WD Velociraptors does not feel the need to provide this Green type of physical interface.

    The hard drives with the recess for the projection of mesh with the Green type perfectly, but they are also perfectly on the type of red.  So, for me, I would call the "universal" type red

    If they make a red PCB with the offending projection included is something I can't answer otherwise that to tell you I have never seen one of these and have used over 20 Red types so far.

    CHANGE > > > > > > > > > visitor, below, found a specific example of an ice floe that has a red PCB and a drive to interface with the projection.  Thus, they exist but appear to be a small minority.  See my last post on how to avoid the problem.

    Keep us informed if learn you more, take a look at the attached pictures.

  • When I wear the watch on my left wrist and Iset the orientation of the digital Crown for the side LEFT it also stops receiving notifications? I tested it again and again, but if the digital Crown is set to left on left wrist ir stops receiving notificatio

    When I wear the watch on my left wrist and I set the orientation of the digital Crown also for the side LEFT, he ceases to receive notifications, I tested it again and again, as soon as counsel for the Attorney general setting is left on the left wrist... notifications stops on the watch?

    Hello

    How notifications behave depends on the State of your devices and on the configuration of your watch. In order to provide notifications to your attention as soon as possible:

    -If your iPhone is unlocked, you will receive notifications on your iPhone instead of on your watch.

    -If your iPhone is locked or asleep and that your watch is unlocked and on your wrist, you will receive notifications on your watch.

    -If your watch is locked or allowed to do not disturb, notifications will be sent to your iPhone.

    More information: on your Apple Watch - Apple Support notifications

  • How to count the digital inputs of the sensor

    IImsmd MicrosoftInternetExplorer4 normal 0

    I use a PCI 6221 OR-DAQ device and I want to count the total number of times that a sensor is activated. The sensor is connected to a digital line.

    Tadhg salvation,

    If everything you want to count the number of times where the sensor is activate, the best way to ensure this is to use a line from the meter, in the case of the 6221 try pin 37, Cnt 0 Src/PFI8. And take a look at the example of counting code digital Events.vi that you can find from the Finder example under Hardware Input and Output > DAQmx > Counter measures > County Digital events.

    Alternatively, if you use a digital line, just read the line, and if the sample is true variable increment held in one register at offset, similar to the Count.vi DI attached

    I hope this helps.

  • Constants of output for the case of Structures

    Hello

    I have a pretty basic question about the case structures in labview. As indicated in the attachment below, using the structure case I've pretty much tried to create a three position switch. I'm trying out a value for the first (in the range and Coerce) and another value to the second. If [5-0] 0, [0 0] case for case 1 and case 2 [0, 5]. However when I try to connect all the way to the top, a broken line appears.

    How can I do this without error?

    Thank you

    Justin

    Something like this maybe? You need to change the task UP as well.

  • the video creator dazzle digital works for the xbox too?

    digital video creator dazzle 100 works for the xbox 360 as well?

    Hello

    I suggest you send the request in Xbox forums:

    http://forums.Xbox.com/xbox_forums/xbox_support/default.aspx

  • Free manuals (PDF or other digital format) for the 2.0 wireless optical mouse and wireless keyboard 1027)

    Are there downloadable manuals for the wireless Microsoft keyboard 1027 & 2.0 wireless optical mouse? I had a pre-owned game with NO manual... I really want to use all these extra buttons... like the 'Zoom' slider!, but cannot associate the buttons/cursor with specific functions on my PC.  Help, please!  If anyone knows how to get the free manual please point me in the right direction!  (It seems that there should be a manual PDF out there somewhere!

    Thank you
    Chadmans

    Hi Chadmans,

    I suggest you to return the item to get manuals.
    http://www.Microsoft.com/hardware/en-us/downloads

    If the problem persists, I suggest you to contact hardware Support for assistance on this issue.

    http://www.Microsoft.com/hardware/en-us/support/contact-us

    Hope this information helps. If you need more assistance or information on this question, reply to this post. I'll be happy to help you.

Maybe you are looking for