How to wire a switch terminal case and depending on this value string value, run a case selected?

Hello world

In the schema-block sent VI, through serial comm, #2 byte is 00 or 01 (Hex). This byte must dictate which cases to run. If value = 00 Hex running case #1, Hex if value = 01 runs the #2 case. If none of the two, nothing should run.

How can I do this? I'm relatively new to LabVIEW, any comment is appreciated.

Thank you

Mahir

easiest of all wiring in the whole structure of the case rather than convert to string.

Then just back up the case selector and type what you want.

Tags: NI Software

Similar Questions

  • How to make a percentage of the value of a column and then insert this value in a column

    The table below should be the result I want to achieve. This means according to what value is in Column1 which corresponds to the percentage and what value is in Column2. Column1 will make a percentage of Column2. Like 80% of 1000 = 800, what will change in Column2 of 2nd record.

    Currently my code only select the current record and insert another copy that will duplicate the same record. But now I need to calculate and replace the values in column 2 according to the perentage. I did not have my code select here because I'm afraid of you all will get confused. I only put my code insert here, pls tell me how to make the formula in the code for the percentage of Column2 thanks.

    Orginal 1st record->                                                 column1 column2 
                                                                          
    80   1000  

    Inserted copy records which is 2nd record
    (what I want to achieved)   column1 column2 
                                                                          
    80   800


    My codes

     INSERT INTO table1 (column1, column2) VALUES (tran.column1, tran.column2);

    Did it using this, thanks.

    INSERT INTO table1 (column1, column2) VALUES (tran.column1, tran.column2 * tran.column1 / 100 );

  • I want to restore switch between windows and display the desktop icon

    a few days before these two icons was actually on the task bar and now I have deleted how restore it back
    (switch between windows and display the desktop icon)

    Hello

    Copy the new:

    C:\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch

    To your user account to:

    C:\Users\launch of \AppData\Roaming\Microsoft\Internet Explorer\Quick

    Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • just bought this mac book. How can I get my music and photos on this camera

    I just bought this mac book. How can I get my music library and photo in this device

    Connect the computers with an Ethernet cable and open Applications > utilities > Migration Wizard on both machines and run it.

  • To get high and low number in a string

    Hello

    I have the following

    < cfset question = "1,5,8,11,22,76,6,143,147" >

    How can I get the number maximum and minimum of this string?

    Thanking you in advance for your help!

    Concerning

    Delon

    Use the very aptly named ListToArray() function... and without a doubt to bookmark the documentation online ;-)  The functions of the display of the categories is invaluable.

    http://livedocs.Adobe.com/ColdFusion/8/functions-pt0_13.html

  • Display satellite C50-A546 cards how to switch between NVIDIA and INTEL?

    Hello

    How can I switch between NVIDIA and INTEL graphics cards?

    PS
    I have already installed all the drivers, but I can see that INTEL the card used chart!

    * OS: Windows 8.1 x 64
    * NVIDIA driver: 340, 52-portable
    * DirectX: 11

    Hello

    The Intel graphics chip, which is part of the central unit should be used for low performance applications, because it allows you to save energy and reduce the internal temperature.

    For best performance while game, it s advisable to use the external GPU (nVidia or AMD)
    This setting can be changed in the nVidia control panel s

    Here, you should choose manage them 3D settings (can be found on the left in the nVidia control panel)

    Now in the main window, you will find two global settings and program parameters tabs
    In the program settings tab, select the (game) program that needs to use the nVIdia GPU

    If it is not listed, click the Add button
    Then choose the graphic processor preferred for this program (generally must be nVidia processor high performance)

    Last but no less, in this program-specific settings, you can assign additional features to improve performance.

  • My wife and I bought hundreds of iTunes movies and music over the years. I have a terminal illness and won't last long. The account is in my name. How can I ensure that films and the songs that she and I have paid for are accessible for her after I spend

    My wife and I bought hundreds of iTunes movies and music over the years. I have a terminal illness and won't last long. The account is in my name. How can I ensure that films and the songs that she and I have paid for are accessible for her after I die?

    She needs to have your Apple ID and password. Your iCloud ID and the password if you have your own iOS device, so it can have access to these facilities. Even if she wanted to sell, it would need this information to remove the lock of activation before the sale.

  • How to switch web browser and which one should I use

    How to switch web browser and which one should I use thanks

    FireFox.
    http://www.Mozilla.org/en-us/Firefox/new/

  • When I download a new skin for Windows Media Player, how can I switch to it and keep it under tension?

    If I choose 'Open' in the download window, I can switch to him. Until I have switch to full Mode. If I go back to the fashion of the skin, automatically switches to 'Moral person' skin, and I can't switch back.  If I choose "Save" and save it in the directory 'Skins' of the directory "Windows Media Player", I can't apply the skin at all when I click on 'apply the skin '.

    How can I fix?

    Hello

    1. what version of Windows Media Player is installed on your computer?
    2 are you able to use the other skins?

    See the article below which explains how to change the skins for Windows Media Player. The article below is applicable if you have Windows Media Player 11 is installed.
    Change the appearance of Windows Media Player by using skins
    http://Windows.Microsoft.com/en-us/Windows-Vista/change-how-Windows-Media-Player-looks-using-skins

    I hope this helps.

  • How to activate the screen of welcome and fast user switch client services for netware

    How to activate the screen of welcome and fast user switch client Services for NetWare...

    How to restore and step to uninstall client services for netware

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the public on the TechNet site. Please post your question in the below link: http://social.technet.microsoft.com/Forums/en-US/winserverPN

  • I bought a new iMac, and now I don't know how to re-download/switch the photoshop Lightroom (1 year contract) - MONTHLY PAY - I bought this machine. Help, please?

    I bought a new iMac, and now I don't know how to re-download/switch the photoshop Lightroom (1 year contract) - MONTHLY PAY - I bought this machine. Help, please?

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • Common cause of failure of the Mirage server in clustered environment and how customers will be switched to the other server in a cluster

    Hello

    Can someone share me information about common cause of failure of the Mirage server in clustered environment.

    And how customers will be switched to the other server in a cluster to continue their operations from the server failed.

    Kind regards

    C Bathesha

    In general, Mirage servers are not lacking. It is very rare (and not, for example, to problems of storage or endpoitns, which are more common).

    May raise problems of overload, memory or hardware malfunction too little.

    After that you make server standard troubleshooting (the etc system event log), you must file a Service request by VMware.

  • How to cd in the terminal for MacOS/device training and records

    I tried to change the folder in the Mac OS disk. But when I give the ls command in terminal, I don't see this named device listed in the directory to go. Can you please suggest how to move to this directory in the drive unit / MacOS?

    Put a / in front of the space in the path.

    (141677)

  • How do I save a tech 'show' and a 'running config"of MDS switches

    Hi, guys

    I am a newbie of DMS switches.

    but I had a request this week asking me to actively save a tech 'show' and a 'running config"MDS switch...

    so my questions are:

    (1) if I want to save the configurations of MDS, including commnds should I launch? or simply 'see the tech' enough?

    (2) is that the MDS itself have the Save function? for example, you can ftp configuration somewhere?

    Please help point me in the right direction or y at - it of the official referece docs that I can refer?

    Thanks in advance!

    (1) the configuration of MDS backup that you want to run this command:

    copy running-config

    and then, you have several options where you can send in for example you could tftp it

    copy the running-config tftp://yourftpserver/mdsbackup.txt

    (2) I don't think there is a native solution that performs scheduled backups, but that is easy to write a small bash/perl script.

    @dynamoxxx

  • How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?

    I want to integrate the ANSI C sample program ReadDigPort - ExtClk.c in my own big package.

    I want to use the internal clock of the BNC NI USB-6259 (.. 80 kHz 120 kHz).

    In the document:
    High speed M: Series Multifunction DAQ for USB - 16-bit, up to 1.25 MECH built-in BNC connectivity. / s,.
    is written:
    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?
    With what other subsystem on the device can generate a source of the clock? How?

    It is possible to set a clock on an internal counter (for example ' Dev1/ctr0"):
    Creates channels to generate digital impulses that define the freq and dutyCycle and adds the channel of the task that you specify with taskHandle.
    DAQmxCreateCOPulseChanFreq (taskHandle, "Dev1/ctr0" units, clockName, idleState,
    initialDelay, freq, the duty cycle); works

    But it is not possible to drive this internal clock to a terminal (for example "/ PFI0/Dev1"):
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "/ PFI0/Dev1", clockName, units, idleState, '))
    initialDelay, freq, the duty cycle); does not work: error DAQmx: measurements: type I/O of the physical channel does not match the type of I/O required for the virtual channel you create. Name of the physical channel: PFI0. Name of the virtual channel: clock

    The sample clock source can be derived from an external terminal (for example "/ PFI0/Dev1"):
    Sets the source of the sample clock, the sample clock rate and the number of samples to acquire or generate.
    DAQmxCfgSampClkTiming (taskHandle, "/ PFI0/Dev1", maximumExpectedSamplingRate, DAQmx_Val_Rising, ")
    DAQmx_Val_ContSamps, bufferSize); works. Acquire or generate samples until you stop the task

    But it is not possible to derive the internal counter of the clock (for example ' Dev1/ctr0"):
    DAQmxCfgSampClkTiming (taskHandle, "Dev1/ctr0", maximumExpectedSamplingRate, DAQmx_Val_Rising,
    DAQmx_Val_ContSamps, bufferSize); does not work. Error: Acquire or generate samples until you stop the task: make sure that the name of the terminal is valid for the specified device. See Measurement & Automation explore valid names of terminals. Property: Property of DAQmx_SampClk_Src: DAQmx_SampClk_ActiveEdgeSource device: Terminal Source Dev1: Dev1/ctr0

    Hi datafriend,

    using what it says is correct:

    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    This means that if you do not use an external signal as clock you can use the sample clock to HAVE it on board or at the output of the internal counter.

    There are also 2 ANSI C examples in this regard:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4485

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4488

    So in both cases you have to use a fictitious task you need only for the generation of the internal clock (HAVE or CTR)

Maybe you are looking for

  • Satellite Pro Graphics Driver - OpenGL version low-income L870 question

    Trying to recover a part of my working on my new L870 3D graphics software, he complains that the opengl version is too weak at 1.1. The ATI HD 7670 M supports up to 4.1. I downloaded realtech VR OpenGL extensions Viewer, it also reports OpenGL 1.1.

  • Pavalion a1630n: replacement motherboard

    I would like specific instructions on how to replace the motherboard in a Pavilion a1630n. I searched on the internet and HP Support Site for instructions, but nothing helped. Is there a video or instructions availabe? Help please!

  • iPhoto retains close on its own

    Clicking to open iPhoto, it opens and remains open only for 2-3 seconds maximum. Then the dialog box saying: iPhoto quit unexpectedly (click open to open the application again. Click report to view more detailed information and to send a report to Ap

  • Common bug Variable programming read/Open Timeout

    I hope someone else has a preview of the question that I see when you use a network I/O published variable or static variable in general. There seems to be a bug when accessing variables shared by programming.  In the image below, I'm trying to acces

  • TestStand error when using waveforms

    The error I get is attached.  I also enclose a labview def type.  For somereason, when I have a picture of these clusters in a vi for a custom step type.When I go to the adapter module and you try to assign this table to a stationoverall, I have, whe