How to implement an OR condition for 2 strings?

Hello, I have a flash memory external data from serial port to LV, and I would sense when incoming data is complete. In my microcontroller code, I attributed a characters EOS (to mark the end of the data), however, I would like to check if EOS is arrived OR a continous FFFFFFFFFFFF is sent by flash mem (indicating that there is no more Flash). How can I make ORing these two strings?

After reviewing your post, I indicated my own question.  See attachment.  As stated earlier, you will need to determine where the F 10 is received.  You could just output a Boolean to the Golden Gate, once you have received enough Fs or string as in my example.  Your choice.

Tags: NI Software

Similar Questions

  • How to implement point filters fixed for FPGA

    Hello!

    I am applying the bandpass filter Butterworth for FPGA.

    I managed to develop filters of fixed point that suits my needs, but I don't know how to implement on a table in a project after the FPGA code generation. I tried to understand it in the examples, but I was not very successful.

    My time to finish what runs, any help would be really appreciated...

    Any suggestions?... some examples?

    Thanks in advance

    I've already done that and solved the problem.

    In any case thank you and have a nice day

    Ljubica

  • How to implement a WYSIWYG editor for WebApp in Business Catalyst

    I created my own WebApp in Business Catalyst and I want to implement a WYSIWYG editor for custom fields of multi line string.

    Can I use the one that BC is used in the WebApp admin interface?

    I see they use radeditor and I wonder if I can implement this in my own WebApp interface?

    I worked around this by implementing my own tinyMCE function, but the only thing that escapes me is the ability to insert images through a picker file dialog box. In my view, there is a paid plugin to tinyMCE to implement a file picker, but I don't know if it would work with Business Catalyst, or if I then it must also implement an ASP connector with it to find the files (which I guess we wouldn't have access to).

    Can we use WYSIWYG in British Colombia application in our own WebApp intefaces?

    Hello

    Could you please visit this link and see if this helps you to achieve what you are looking for.

    One-third of the online resources for web developers

    Under "Improved the text editor"

  • How to implement by scanning image for Blackberry 5.0 and later version OS devices?

    Hi all
    I need to develop the functionality of drag in an application. To do this, I added five bitmapfield in five different verticalfield Manager and these five verticalfiled have been added in a horizontalfield with the Horizonatal Scroll property manager. And try to implement features of shot using Touch events. Code below works for Blackberry OS 5.0 devices, but its does not work in Blackberry 6.0 and later OS devices.

    protected boolean touchEvent (TouchEvent message)
    {

    try {}
    int x = message.getX (1);
    int y = message.getY (1);

    int eventCode = message.getEvent ();
    if(eventCode == TouchEvent.Down)
    {
    DX = x;
    DY = y;
    }
    Another yew (eventCode is TouchEvent.UP)
    {

    UX = x;
    UY = y;

    disX = Dx - Ux;
    disY = Dy - Uy;

    If (disX > (Display.getWidth () / 3) & this.index)<>
    {

    If (this.index<>
    This.index ++;
    vfmImage [this.index] .setFocus ();
    System.out.println ("disX:" "+ disX +" different: "+ (Display.getWidth () / 3) +" Index: "+ this.index);

    }

    ElseIf (disX < display.getwidth()="" -(display.getwidth()="" +="" display.getwidth()/3)="" &&="" index=""> 0)
    {

    if(this.index>0)
    -This.index;
    vfmImage [this.index] .setFocus ();
    System.out.println ("disX:" + disX + "different:"+(Display.getWidth()-(Display.getWidth() + Display.getWidth () / 3 ")) +" Index: "+ this.index);

    }
    on the other
    {
    if(index==0)
    {
    vfmImage [1] .setFocus ();
    }
    on the other
    {
    vfmImage [this.index - 1] .setFocus ();
    }

    vfmImage [this.index] .setFocus ();

    }

    }

    }
    catch (System.Exception e)
    {
    Dialog.Alert ('catch');
    e.printStackTrace ();
    }
    Return super.touchEvent (message);
    }

    Thank you
    Sylvie

    Hello

    Use this api
    http://www.BlackBerry.com/developers/docs/5.0.0api/NET/rim/device/API/UI/extension/component/picture...

    Kind regards
    pp

  • Any idea on how to implement the discussions threaded for physical record in URM.

    I have a requirement of implementation of the functionality of dicussion threaded for physical records in URM. It is currently only available for electronic records only.

    Thank you

    Vanina

    We finally reached by taking the output of the component box discussion threads and rename all the services, change some db queries (since all the material metadata element are present in different tables) and also by the way dSource = physical parameter so that the system makes a distinction between electronic and physical records. Also I am not suggesting to ovveride resources of the existing component rather get all resource definitions in your new device. This will eliminate the dependence between two components, and each will work independently.

  • How to implement if-Condition or at RANDOM

    Hi all

    I could able to reach the result if I use alone as 'USA' below

    <? xdoxslt:set_variable($_XDOCTX,_'X',price)? >

    <? If: COUNTRY = "USA"? >

    <? xdoxslt:set_variable ($_XDOCTX, 'X', xdoxslt:get_variable($_XDOCTX,_'X') * 100)? >

    <? xdoxslt:get_variable($_XDOCTX,_'X')? >

    <? end if? >

    How to do the same IF condition for several countries

    'FRANCE' and 'GERMANY '.

    I can write it in the same statement, or should I write in the different if statements

    Hello

    You can also use these two ways,

    1. choose the statement

    2 ELSE IF statement

    Please check the question/answer, correct if this has answered your question.

  • Hello, please tell me how to subscribe only 2 requests for a single implementation plan. Thank you

    Hello, please tell me how to subscribe only 2 requests for a single implementation plan. Thank you

    Please see our plans:https://creative.adobe.com/plans

    In the case where you can't find a plan consisting of applications, you want to subscribe.

    Subscribe to unique app membership plans.

    I hope this helps.

    Concerning

    Megha Rawat

  • How to implement MÜDE for different locations

    Hi guys,.

    I am in a quandary how to implement MÜDE for developers from different countries.

    I have developers who are in 3 different countries and I need to make them all run on the same repository.

    I want to implement the project absed MUDE and wouldn't an administrator to merge the repository presented by developer.

    The developers will be responsible for changes in the repository.

    How can I go about it?

    Thank you
    Saurabh

    Hello

    See this link for the development of multi user below

    http://oraclebizint.WordPress.com/2008/03/27/Oracle-BI-EE-101332-multi-user-development-of-repositories-mud/

    Concerning
    NGO

  • Programming of a conditional FOR the timing of the STOP button on the loops

    I have a conditional FOR loop with a STOP button, however, the nature of LabVIEW data flow, the stop button is now being questioned at some point before the end of the loop. A control not having no entry, I can't connect to the last operation of a single iteration of the loop to trigger the vote on the STOP command, and I prefer not to use a flat sequence just for the power button if I can avoid it. I've considered using a structure of the event, but I don't want to force the loop to wait that the stop button to be pressed, I want just the loop to EXIT, * IF * the stop button is pressed... but I want the stop button to be questioned at the end of the loop, so if the user presses the button stop at any time in the loop , at the end of the iteration, the loop will end... that makes sense? At present, given that the stop button is called once at some arbitrary during the iteration of the loop time, if the user presses the stop button after he is questioned, the loop must run an extra iteration, and I don't want that to happen.

    ... in any case, I guess I'm looking for a more elegant way to implement that having to use a flat sequence just for the stop button.

    Sorry, but you'll have to use a sequence structure.  This is why they are there.  Sometimes they have their purposes.  Here is how I would handle it.

  • How to create the shared library for linux real-time target in labVIEW Windows?

    I use myRIO running linux in real time. In my project, I need to pack some C code, so I tried the node library function call.

    I know that I should use the tools compile cross - compile linux on Eclipse to compile c code in linux .so library. But the problem is that call library function node does not recognize the .so file because my labVIEW runs on a Windows PC.

    What should I do to fix and how to combine C code with labVIEW during programming for devices shipped as myRIO?

    Basically, you must also create a Windows DLL that exports the same functions. These functions can be empty stubs if you do not want to run the code correctly on Windows, otherwise you will need to consider how to implement the equivalent functionality on the Windows API.

    Then you can write in your node library call as the name of the library ". "*" and the name of the shared library Windows ".dll" while the Linux version is called "name of your library > .so". LabVIEW will replace the * after the comma in the name of library with everything that is the preferred extension shared library for the platform it is running on and therefore load the right shared library.

    Alternatively you can wrap call all the nodes of the library in a structure that contains the node library in the case of Linux RT and all what you want to run on other platforms in the case of default or a case of specific platform, call the conditional compilation.

  • How can implement you not with Tim Capsule and AirPort their simulation on the iMac?

    Hello

    How can implement you not with Time Capsule and AirPort their simulation on the iMac?

    I don't know what you're asking.

    AirPort Extreme is a wireless router.

    A Time Capsule airport is an AirPort Extreme with a built-in hard drive for data storage.

    An iMac is a Mac computer.

    An iMac is not a wireless router, so he is unable to perform the functions of a wireless router.

  • How to implement the reading of data from a matte file on a cRIO?

    Hi all!

    I'm still not sure, it is plausible, but I'll ask rather before you begin complicating. So far, I found no useful information on reading in the data to a device of RT from a file (type of a simulation test - data is simulated).

    I have the MatLab plugin that allows the storage of data read a MAT file, which has a number of columns that represent the different signals and lines representing the samples at a time (depending on the time of the sample - sample every time has its own line of signal data).

    I have no idea how to implement this at cRIO.

    The idea is:

    I have some algorithms running on the controller of RIO in a timed loop. As the entries of these algorithms I need to access each of the values of columns in the row, which is the time of the sample (sort of a time series - without written actual times).

    I am fairly new to RT and LV development, so any help would be appreciated.

    Thank you

    Luka

    Dear Luka!

    I think the reading of all the samples in a single channel is exactly what you need here, because reading the files may take some time and is not deterministic, so it is best to read all the data in memory (or if this is not feasible due to problems of size, fairly large pieces may be sufficient). The table read can be provided and then in the loop simulating outings, something like this:

    I used here separate channels so it's more graphic, but you can build all the channels in a 2D array and array index corresponding to the samples fom 1 who. You can also use for loops with indexing as tunnels are setup and then you won't need the index functions and the number of iterations is also set automatically, but you have to take care of synchronization settings.

    Best regards:

    Andrew Valko

    National Instruments

  • How to implement the wafer map using LabVIEW?

    Hello LabVIEW Masters!

    I have a project which includes control and searching for information on a PROBER. One of the difficulties I have now is how to implement a WAFER card using LabVIEW. According to the requirements of my client, the element of pads varies between 6 k and 23 k. I guess that do everything (a = a ctl/indicator led) will be a hell of a task, especially on how to effectively manipulate each elements. Does anyone have a better idea on the way whose that?

    Please, I seriously need your help...

    Thank you and best regards,

    Dennis DG

    Hi Dennis,

    This wafer GerdW post card appears to me as a sort of histogram (for example http://www.ni.com/white-paper/4158/en#toc3);

    Altenbach post well this example that shows how to use a plot of intensity to create a 2d histogram:

    http://forums.NI.com/T5/LabVIEW/overlay-plots-as-intensity-graph/m-p/211222#M119248

    Learn how it works and try to adapt it to your specific task.

    Alex

  • How to implement Canopen on FPGA to run the engine using NOR-9881?

    Dear,

    Your support will be highly appreciated,

    There is only one available for NOR-9881 example.
     
    Please note that the following materials were properly connected:
    cRIO-9024, cRIO-9113, OR-9881 and motor Nanotec (SMCI36 against L2818L0604-T5X5), the following
    sites Web shows the engine Nanotec in details:
     
    http://us.Nanotec.com/products/660-L28-linear-actuators-with-trapezoid-spindle/
     
    http://us.Nanotec.com/products/1041-SMCI36-stepper-motor-and-BLDC-motor-position ing-control /
     
    The main problem is how to configure the inputs and outputs, where, in most examples, the entry and exit have been automatically
    configured.
     
    the following three examples and I wonder how to start:

    1 - example Nanotec: dependent VISA controls for data transfer
     
    http://us.Nanotec.com/support/application-notes/LabVIEW-example/
     
    2 - reference example CANopen for series C OR - 9853 Module CAN:
    the NOR-9853 has default Can0 which was used in the code

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/6093
     
    3 - from finder labView example: search for 9881 then choose
    NOR - CANopen_cRIO.lvproj, which depended on SDO orders for transfer orders
     
    The attached picture shows that NEITHER-9881 can be seen, after compilation and
    loading the bitfile FPGA.
     
    Please, please advice me:
    1. how to start?
    2. how to create variables of entry for NI9881?
    3. how to implement CANopen mode FPGA? where there is no CANopen palette.

    Thanks in advance and

    Hello!

    From my understanding, the 9881 can be treated from the FPGA, but only from the application of the RT. I think that the point 3 of your post examples of the use of the module fine.

    Kind regards

    Georg

  • How to choose a material suitable for my application

    How to choose a material suitable for my application. I expect a generic response that will suit all scenarios. Normal 0 false false false MicrosoftInternetExplorer4

    After a few details about your request.

    What types of signals you want to acquire?  How many?  How often, once a day, once per second, thousands per second, millions per second?  Do you need to output analog or digital inputs or outputs?

    You need a conditioning of special as for thermocouple signals, gauges of constraint, accelerometers, amplification of the tensions, the reduction of tensions, current loops?

Maybe you are looking for

  • Installation of window on Portege M200

    Hello I recently got a Portege M200 by a friend, but the operating system has become corrupt (so why I got it) I I copy of windows xp, I want to install but the significant problem of the M200 series having no cdrom or floppy :( I have a cdrom usb bu

  • Satellite M70 - when I use FN + F5, nothing happens

    Hello I have a Satellite M70 (PSM70E).I had to reinstall the laptop, unfortunately, I don't have the recovery CD. Have almost all the drivers installed.However, when I press Fn + F5, nothing happens.Previously, I have a menu. Could choose the externa

  • Is the model ME918LL/A from Amazon later?

    Before I commit, I want to just make sure the Airport Extreme Base Station available on Amazon is the latest model of Apple. It is listed under the number ME918LL/A model. Owen

  • Excerpts from continuous data acquisition

    Hello I want to make an acquisition of continuous data with a NEITHER-6133 @ 1ms per channel. The data must be stored on hard disk. At the same time, I want to take excerpts from acquisition to calculate different values. The acquisition of the extra

  • Pavillion G7 2247us Admin password

    My computer was stolen and found, but now when it is powered, a blue screen appears this request the administrator password or power on password.  After 3 failed attempts, I get System disabled 52668395 Need to know if it is something that can be fix