myRio digital simple matter of e/s

This is probably the simplest question, you can get, but I have a requirement to the output of the digital output on the FPGA-say D0 pin on the port B. I use a switch for that and it works fine when I have a while loop with timer it contains. When I take off the whole loop and have the switch and the digital output on its own it doesn't work anymore. Why is it a while loop on this subject? the attached picture is when it works. Does not work then the while loop is deleted.

Hi tomnz,

What do you mean by "it doesn't work anymore? The loop allows the program to run continuously (when running, it will take the output command you give via the Boolean control), but otherwise the code runs only once.

Tags: NI Products

Similar Questions

  • Myrio digital channels always HIGH

    When my myRIO is turned, all DIO channels on connectors A and B are in a HIGH, regardless of whether State if I a VI running or not. If I run a simple VI as shown in the figure, the digital status does not change when you click on the button "On / off DI. She is always HIGH. Any idea what's going on?

    Has it worked before and now it no longer works? I'm sure that you should have the target FPGA called "RIO0" visible under devices and Interfaces in MAX.

    This is for my cRIO:

    This would mean to me that you are missing a component of driver software - either on your PC (check in the 'software' under 'my computer' for CompactRIO and NOR-RIO and maybe you have installed FPGA module?), or on the target itself (try to reinstall the software recommended on the myRIO).

  • myRIO digital servo drive with PWM

    After scouring the internet for answers, I realized that I have neglected this resource.

    I'm testing some small digital servos that will be used in a senior design project. When we received the myRIO I created a simple VI to drive a servo using PWM with a frequency of 50 Hz and by varying the duty cycle between 5 to 10%. I used a good servo is provided with an arduino kit, and it worked perfectly. However, the Blue Bird BMS-385DMAX servos arrived and when I tried with the VI I did, it didn't work. I confirmed that the servo works by running with an arduino, it just does not work with the myRIO. I'm not an expert of labview, and I'm new to the platform of RIO; any advice would be greatly appreciated.

    I joined the project. Ignore the KeyDutyCycle VI and the variable shared; It was something I experienced, but has not used.

    You use the myRIO + 5v and Gnd of to power the Servo?

    MyRIO + 5v is limited to 100 my output which may not be sufficient to power the larger servo.  Try feeding the enslavement of another source, but still using the PWM myRIO.  MyRIO PWM (and all other outputs digial) should be ~3.33v as 'high '.

    -Sam K

    Hacker of LabVIEW

    Join us / follow theGroup of pirates of LabVIEW on google +

  • Simple matter of OLAP DML

    I take an initial stab at the use of OLAP DML on the OLAP worksheet and I try first to apply a simple order limit on a dimension, but I can't make it work. I have several OLAP DML guides, so I lack of reading material, but they will not help with this.

    I have a dimension called DIM_TEAM. It has 3 levels in its hierarchy which (highest to lowest) are: ALL_TEAMS, LEAGUE and TEAMS.

    I want to limit the value of DIM_TEAM to "BOS". "BOS" is a value on the level down the hierarchy that caters to TEAMS

    When I enter the command: LIMIT DIM_TEAM to "BOS"

    I get the error: is not a valid AW_BALL2 BOS! DIM_TEAM

    Why does this work? Y at - it a preliminary order, I have to question before executing this command LIMIT? Thank you

    'HR' is the logical name of the measure; you will need to reference its physical name when using the REPORT command.

    The physical name of the variable data storage will vary depending on the version of database (10 g or 11 g?) and if your cube uses compressed composite or not.

    For reporting purposes, you could report on the cube 'formula' that will '_', where is the logical name of your cube, and will be 'HR '.

    EDIT:
    For point 2), you should not use OLAP worksheet limit orders and the viewer data in combination as limits get "confused." the data viewer should allow you to filter your PivotTable to display dimension selection results no matter what you want to report on. That are in the "Requester" topic in the data viewer.

    With respect to obtaining "Viewer and OLAP DML to be on the same page" so to speak, you will need to 'translate' between the logic of the viewer dimension value name and the name of the surrogate dimension value when you use the OLAP worksheet.

    EDIT2:
    Fix for the incorrect user account.

  • Simple matter of Last.FM Scrobbler

    so I use the scrobble last.fm simple and for some reason when the fixing on the frame, I want to show who's the music player is not detected. usually it'll give some options and show what media players are detected and select them to scrobble out of. is this a problem with 1.4.9 or the application itself?

    Spike, my new cliq did all sorts of weird stuff. I did battery pulls and it makes everything better

    time.

  • Simple matter of Adobe Pro DC.

    Hi all

    I am new to Adobe Acrobat DC, and I'm sure it's something simple, but I have very little JavaScript 'know-how '.  I'm working on something for work and I'm looking to use a kind of conditional formula.  Here is a brief description of what I'm trying to do:

    I have a form and I want to summarize a series of text boxes in all, but only if the first text box is not empty.  (i.e.  Box 1 with the date, so now I want text text boxes 2-10 to summarize in box 11)

    I work mainly with Excel, and as I said I'm a little new to scripting so any help would be greatly appreciated.

    Also, if anyone has any suggestions for resources, I could use to learn more about JavaScript and its uses in Adobe Acrobat DC.

    Thank you all,

    You can use something like this than the calculation script of '11 text box: custom

    if (this.getField("Text Box 1").valueAsString=="") event.value = "";
    else {
        var total = 0;
        for (var i=2; i<=10; i++)
              total+=Number(this.getField("Text Box "+i).value);
        event.value = total;
    }
    
  • Simple matter of REGEXP_SUBSTR

    Hi all

    And I know that this should be simple

    How substr data delimited (double underline stroke) string up separator with regexp_substr:

    ' DocumentName:KC51351 - employee letter of consent (code 407) __DocumentOwner:Georgio Vuolde__DocumentExpireDate:1/1/2015 120000 AM'

    I am looking for what is between ' DocumentOwner:' and '_' (double underline stroke)

    "Georgio Vuolde" in this case.


    Please note there may not be simple traits of underscore in the given field.


    Thanks a lot for your help.

    LSY.



    Hello

    Here's one way:

    REGEXP_SUBSTR (str

    , ' DocumentOwner:(_?) ([^_]+_)*[^_]*)__'

    1

    1

    NULL

    1

    )

    To simplify regular expressions to understand, debug and maintain, you can add comments in line, like this:

    REGEXP_SUBSTR (str

    , ' DocumentOwner:' | -Literal

    ' (' || -Start definition of \1

    '_?'                  || -Target text can begin with an underscore (_)

    '([^_]+_)'            || -1 or several non - _s, followed of a _____

    '*'                 || -Above may occur 0 or more times

    '[^_]*'               || -0 or more non - _s

    ')'                     || -Definition of end of the \1

    '_' - Literal 2 _s

    1

    1

    NULL

    1

    )

  • simple matter of CFDIV

    Hi Gang-

    I'm dipping my toes in the pool "CF8 Ajax tool" and need a little help with CFDIV.

    I have a simple string of text I want to wrap in a HREF in order to show users an exploration to the low page in the CFDIV just below chain. For the life of me, I paint a complete blank on how to implement the href code! It is basically the exact same thing that the Adobe docs use CFDIV (pasted below) but I don't want to use a form, I want to use the href attribute instead. Any ideas?

    < cfform >
    < name cfinput = "tinput1" type = "text" >
    < / cfform >

    < h3 > using a div tag < / h3 >
    < cfdiv bind = "url:divsource.cfm? InputText = {tinput1}"ID ="theDiv ".
    style = "background-color: ##CCffFF;" color: Red; height: 350 "/ >"

    Thanks in advance,

    Rich

    .. Commissioner and you will find...
    It turns out that it was actually quite simple, although the docs are not really clear, I had to dig for this one...

    your link text

  • Simple matter of blackBerry Smartphones: sandisk to 8530

    I have a 2 GB sandisk currently. How many GB of a sandisk buy without needing additional expansion adapters, etc I see they're going up to 32 GB, but they need extra things.

    I want to just get out my 2 GB and insert it into another without any extra work.

    This is a 4 GB, 6, 8, etc.

    Thank you

    Hello lyh10021,

    Welcome to the forums.

    Take a look at this article in the knowledge base for media supported card sizes.

    KB05461

    Sizes of card MicroSD taken in charge by the BlackBerry device software

  • Simple matter of FxV - storable he timestamps in the repository of analysis?

    Hello

    is it possible for a transaction filter or filter hit to store the current timestamp of this approach in a transaction set in the repository of analysis?

    THX

    "mark".

    Hi Mark,

    The repository of analysis don't let you store configured data (custom fields) to a DATETIME value.

    But you could potentially fill a custom with a time stamp using a Groovy script field. This custom field can then be stored in the repository of analysis as a TEXT or a DOUBLE. When you retrieve this value out of the repository of analysis, you could then convert it into a timestamp.

    Kind regards

    Brian Wheeldon

  • Simple matter of DW and Bootstrap

    Is the bootstrap in DW that bootstrap itself? I've seen people claim that before DWCC2015, some bootstrap associated extensions are simply a derivative of bootstrap, instead of being the real thing.

    I ask because I'm working on a project where I work with a developer who uses the bootstrap on the site of bootstrap.com get rather than that created by DW, so less pain I can cause between the two of us, the better.

    Thank you.

    It is the same product with a current warning, the latest version is 3.3.5 the version of Dreamweaver is 3.3.4.

    See here for the update released TWB/bootstrap · GitHub

    As far as coding is concerned, there is no difference.

  • Simple matter of ESX version

    How do I know what version of ESX I use?  vCenter reports 4.1.0 582267.  What is U1 or U2?

    Thank you

    you connect to the console of your ESX host, you can list two orders

    vmware -v
    

    and

    esxupdate query
    

    See also, http://communities.vmware.com/docs/DOC-10828

  • Should be a simple matter to install Esxi

    Try to get Esxi 4.0 running on a Dell XPS 400 Pentium D and 8 GB of RAM as a laboratory to test/system. This is a Mo DCP051 what the controller Intel ICH7 SATA in there. I don't use RAID, because I know that it does not work. I have a pair of 1 TB WD caviar Black sata disks in the box. Esxi installation complete with no complaints. To restart, I have CMTF except PF (14) in the 4831:PartedUtil world. Image of the GROUP is below.

    I am at a loss. I was not able to find anything on this particular exception. The ICH7 actually work, I've seen conflicting reports. Any thoughts?

    Thank you

    That's the thing with ESX/ESXi, you look at all the components... You can run ESXi 3.5 on it, if you want to configure at least one ESX Server...

    Be sure to click on the button assignments points...

    VCP4

  • Simple matter of PL/SQL

    Hello
    I appologise if this is the wrong place to post this question. I'm relatively new to PL/SQL and I develop in apex. I am trying to create a region that shows the result of a query based on the value of a text field. PL/SQL is intended to be run in the following way

    If the field is null
    do this charly
    on the other
    make this request

    The PL/SQL, I've developed so far is the following;

    BEGIN
    IF: RESEARCH IS NULL THEN

    Select 'ae_material '. "" ae_material_id_pk "as"ae_material_id_pk. "
    'ae_material '. "" ae_material_name "as"ae_material_name. "
    'ae_material '. "' ae_material_desc ' as 'ae_material_desc '.
    of 'ae_material' 'ae_material ';

    ON THE OTHER

    Select 'ae_material '. "" ae_material_id_pk "as"ae_material_id_pk. "
    'ae_material '. "" ae_material_name "as"ae_material_name. "
    'ae_material '. "' ae_material_desc ' as 'ae_material_desc '.
    of 'ae_material' 'ae_material '.
    where 'ae_material '. ' ae_material_id_pk ' =: SEARCH;

    END IF;
    END;

    Above is the PL/SQL course, I created it appears syntactically correct but oracle throws and error saying a statement is normally, but I don't think I need a instruction to accomplish my task. Help solve this error would be great.
    Thanks in advance

    You may want to take a book of pl/sql... This is somewhat similar to t - sql, which is quite different.

    However, you don't need a pl/sql. Just create a report of the region and connect:
    Select 'ae_material '. "" ae_material_id_pk "as"ae_material_id_pk. "
    'ae_material '. "" ae_material_name "as"ae_material_name. "
    'ae_material '. "' ae_material_desc ' as 'ae_material_desc '.
    of 'ae_material' 'ae_material '.
    where 'ae_material '. ' ae_material_id_pk ' =: SEARCH or: RESEARCH is null.

    HTH John

  • Simple matter of Oracle ADF...

    Hi all

    I have 2 EOs / your. 01:00, and 2 datacontrol.
    Of1/VO1 is used to display the af:table with more than one line as below with the button on each line of a popup (which draws on EO2/VO2)

    Homepage
    ------------
    Emp1 popupbutton
    EMP2 popupbutton

    Validate cancel


    Popup Page
    --------------
    box DEPT1
    box DEPT2
    box DEPT3

    Validate cancel

    When the user clicks the button on the popup page validation, it save the popup and homepage.

    I want to just save only the data of the popup page.

    Is this possible?

    Any thoughts? Example of code?

    Thank you

    @Mike
    >
    I want to just save only the data of the popup page.
    Is this possible?
    >
    Yes it is possible by using a workflow that uses a separate transaction.
    These two videos show how to implement your use case.
    http://download.Oracle.com/otn_hosted_doc/JDeveloper/11gdemos/taskflow-overview-P1/taskflow-overview-P1.html
    http://download.Oracle.com/otn_hosted_doc/JDeveloper/11gdemos/taskflow-overview-P2/taskflow-overview-P2.html

    they are videos of 5 hours, but they deserve to look at.

    @ - Suresh.CHS
    >
    If you commit a few VO you can use the code in the following ApplicationModuleImpl and must publish using the client interface, then add as imposing itself to the page and can run of bean.
    impl code
    yourVO () .getDBTransaction () .commit ();
    >
    It will also undertake the AM not the only VO

Maybe you are looking for