Change of input/output during execution of FPGA

Hey guys,.

Simple question (I hope).  I have a few running code FPGA which was released 4 different signals, and I want to be able to direct those signals to an output channel of my choice.

Someone at - it an example of how to do this?

I tried to go with a knot of e/s FPGA and the wiring in one control to select an output channel.  However, I am only able to select the output and it will never change during operation.

Thank you

Haha, no problem.  Everyone is a beginner at one point.  Strings and radio buttons are not available in LVFPGA, however, you can use a ring/enum, which may even be more useful.

Tags: NI Hardware

Similar Questions

  • Why get error during execution the FPGA VI?

    Hello world

    I have a lot of sense of wrong during execution of a program that has been correctly executed previously. I don't know what I did wrong.

    Now, whenever I run this FPGA VI, I get an error (in the attachment). And, then runs the FPGA VI, but it does not give the data required those he supposed to give as output.

    Any help or recommendations would be appreciated also.

    Thank you.

    Hi auree123,

    There are a few reasons for this error
    may occur.  Could you tell us more about what's going on?

    You are
    I get this error when you compile and if so, at what stage?

    It looks like
    as you may be running it in Interactive Mode, which means that you are viewing
    the front of the FPGA VI on the development computer that you are running - is
    that correct?  If so, you could try to create a VI on your host
    Open a FPGA reference and communicate with the FPGA programmatically rather than interactively.

    Thank you

    Morgan S

    Technical sales engineer

  • Change of variable schema during execution

    Hello

    Is it possible to change the schema of an ODI variable during execution (for example in an ODI procedure)?

    Thanks in advance!

    See you soon,.
    H.

    What you call "the scheme of the ODI variable name" is the scheme used when refreshing, it, correct?
    Thus, the logical schema will be set up during the creation of your variable.

    But you can choose another context to go to another physical schema.

    There is no way to change the schema during execution, unless you can 'play' with the context.

    Thank you
    Fati

  • How do you change the display screens during execution of the program?

    I would like to have a LabVIEW screen with a list of test Vi to run, and then select one to display.

    In addition, then return to the main screen.

    Thank you

    Looks like a project...

    Side main VI:

    Creata a dropdown list (use ring/enum control) with list of the test screw...

    now, create an event "value change" for control... to capture the current value of the control.

    use of the VI attached as main VI...

    and sub VI

    on close event, get the reference of the main VI and use the property node 'open front'... to return to main VI

    or you can close VI main when you cal a test Vi and re open the main VI when you close any criterion VI...

  • Problem in setting style during execution by using setStyle?

    In most tutorials for FLEX, I find affecting components Runtime Style is a problem

    Can someone please let me know what's at stake if we set the style in the runtime help by calling setStyle

    Thanks in advnace.

    Hi Kiran,

    Call the setStyle() method can result in reduced performance. Use it only when absolutely necessary.
    You should try to apply style sheets rather than using the setStyle() method because it is expensive. This method should only be used when you change styles an object during execution.
    You cannot get or set the style properties directly on a component that you can with other properties. Instead, you set the properties of style at run time by using ActionScript getStyle() and setStyle() methods.

    Hope this will make things clear...

    Thank you

    Jean Claude Chari

  • Disable the extended FIFO FPGA target during execution

    Hello

    I use a FIFO extended target in my FPGA to constantly calculate the derivative of a measured value (dB/dt). Thus the FIFO stores all values during time dt. This means dt determines the number of items in the FIFO and dB is determined by the actual value less the oldest value in the FIFO. It works well when I initialize with the code in figure InitFIFO.

    But the FIFO of compensation is not possible (see figure clearFIFO). In the while loop if "reset dB" is false, as the new value of B is written on the FIFO, then the oldest value is read from, for the number of items in the FIFO remain constant. To change dt during execution, I need to clear the FIFO and initialize it with a new length (number of items). I tried the next loop, but it does not work. The FIFO does not initilized with the elements. The length is zero and the loop counter for (#deltaB Length2) is 0.

    What I am doing wrong? Is there a better way to erase a FIFO during execution in the FPGA? I'm now stuck for 2 days with this problem and looking forward to any idea or suggestion.

    Thank you very much. Best regards

    Andy

    Hej,

    Thank you for your response. You were correct, that deltab FIFO length was 0 because the defalt value was zero. The problem is that in my host vi on the RT system I put DeltaB FIFO length in a loop of high priority and as you can see when I restart the FPGA, DeltaB FIFO length has a valid value (the code in figure 1 works well with a local variable of DeltaB FIFO length in the FPGA). But the variable to set the variable "reset dB" is under the control of the loop of low priority of the host vi. And there, I had an entry DeltaB FIFO length unwired.

    So, I learned that a control FPGA read/write unwired sends a '0' or resets the variable to its default value in the FPGA. I assumed that nothing is transferred and the last variable is retained if you let a control read/write unwired. Now, I learned of this stupid error!

    Thanks a lot again!

    Andy

  • Configuration of the inputs/outputs of NI9401 in labview FPGA

    Hello

    I am very new to Labview FPGA. In fact, I'm implementing the very first example introduced by OR for learning Labview FPGA. I need to connect an entry of a NI9401 on one exit from the other.

    However, when I drag and drop the input/output units, the two act as inputs:

    I also changed the propties one of the NI9401 to act as output. But the problem persists.

    It is the example that I am building.

    I'd appreciate any suggestions.

    https://www.YouTube.com/watch?v=mv112V-P030&index=1&list=PLbCk9hRe-ziECXQjE--fN29C_kcx7CHnA

    Right-click on the output node, and then select "change to write."

  • Change the value of a Boolean switch rocker during execution

    Hello world

    Is it possible to change the value of a switch to toggle Boolean during execution?

    I make a program where the user can switch a relay switch.  However, I want the program to replace the user input if a measured value exceeds a predefined threshold.

    The program below did almost what I want.  The major problem is that it if the measured value returns below the threshold, the relay will be awarded if the switch is set to 'true '.

    I would be very grateful for any suggestions to solve this problem!

    Regards, Martin

    Hi Martin & Asad,

    Well, the problem is even more easy to solve

    After cleaning example of Asad, remove this RubeGoldberg, put in some wait States and make a correct stop button I put in place the example...

  • PXIe6556 - how to change the voltage of output during the generation?

    I would like to know if it is possible to change the voltage output (data lines) during the generation?

    1. start the generation - Vout = 1V

    2. change of output voltage without stopping the generation of Vout = 1.2V

    3. change of voltage output of...

    TKS

    Try searching for "Advanced: incarceration strategy property attribute ' and ' voltage levels: data voltage range property" in aid of generator/analyzer of signals for the digital waveform installed with your driver. This should allow you to change the levels of tension on the fly. To use this attribute, you must have the latest driver HSDIO (2.0).

    Is that what you are looking for? It is an advanced attribute, and most of the use cases should not dictate it you have been warned. I hope this helps!

  • How to change the frequency of sampling DAQmx during execution?

    Hello guys. I'm using LabVIEW in the measures of the frequency response function. My application requires the sampling rate to change according to the frequency of the signal during execution.

    I tried to do it with a "structure of the event" and it works well when I change the rate manually via the front control but it backs do not work when I set up the sampling frequency to vary automatically (just a frequency sweep). Photos below:

    Why not the structure of the event feels the change in the value of "rate"?

    Thanks in advance for your help.

    Lucas

    Hello

    In "automatic mode" to change the sampling rate, the calculated rate is written in the local variable (as illustrated in the code).  Structure of the event does not change value in the local variable as an event.

    In order to make the structure of the event to recognize the change in value of an indicator such as event: write the new value to the property "Value (Sgnl)" corrosponding node to rate indicator (see figure below).  This will make the structure of the event accept the value change in the indicator as event.

    Note: Use architectures such as producers and consumers for such applications, which makes the application readable and expandable.

    See rear queries if any.

  • What would cause a constant changes during execution typedef enum

    Hello

    In my program I had a problem with a constant of enum for a selection of the tab value change during execution.  The enum is as part of the initialization of the program and when I step through the loop and then you see the property node of the climax to the value tab and in the next step of the enum changes its value.  I'm under LV 8.0

    Any information will be greatly appreciated.

    Gary


  • Should I reset the FPGA FFT when changing the input signal?

    Hello

    I have an application based FlexRIO where I do FFT on several incoming signals. The signals will be ranked so that I get first for example 4096 samples of Ch1 and Ch2 4096 samples, etc. This means that I don't have to do it in parallel of the FFT and I would like to reuse the implementation of FFT and windowing to reduce the use of resources.

    I intend using the VI Express followed by the Express VI of FFT window scaling

    http://zone.NI.com/reference/en-XX/help/371599J-01/lvfpga/fpga_scaled_window/

    http://zone.NI.com/reference/en-XX/help/371599J-01/lvfpga/fpga_fft/

    and I'll use them inside a SCTL.

    This figure comes from the section using the FFT and help illustrate the issue:

    There is a discount to zero terminal for the fenestration and the FFT VI.

    Are there internal registers in the windowing and FFT which force the image 1, image 2,... from the same signal or is it possible for the first entry in a framework of Ch1, the next frame belonging to Ch2, Ch3 gaze and so on and always get reliable results?

    Another way to ask the same question: if I have to reset the window and FFT when changing the input signal?

    Thank you

    Anders

    Hi Cyphish,

    When using the FFT of the LabVIEW FPGA vi express and windows nationwide express vi calculations are make it point by point so there will be no problem when going through different types of measures. Therefore, you should have no problem with your application.

    Best regards

    Menelaos.K

  • change the frequency of the signal during execution

    Hi, I'm working on a VI to calculate excess of signal I think VI seems to be good (not sure) but now my problem is

    change the frequency during execution, which I am not able to do only when I stop and run the vi frequency changes... pls

    someone help me I tried to put in an event... but no use... maybe iam missing something pls help me...

    I noticed that you have some time a loop around the entire block diagram - I'm not entirely sure why that is.  The way you have your VI wrote that the two inner loops will never come out unless there is an error-'stop' buttons are hidden.  Thus, the outer loop is not do anything for you.

    Once you take it, it is easy to see why you cannot change frequency.  It is defined once, outside of the loops and so never gets checked again.  The best way to resolve this, in your case, is to use registers with shift on the upper loop and check if the value of the frequency has changed since the last iteration.  If so, generate a new waveform and feed DAQmx writing instead.

    See the version annexed to your main VI for what I mean.  (I also replaced the controls to stop with one that is visible and which will stop the two loops without your duty to hit the button abandon.) I'm also an error on the DAQmx read in the loop at the bottom, but I'm sure it will work fine on your equipment.

    See you soon,.

    Michael

  • Graphical evolution of waveform changes during execution

    Hello

    I'm just started learning Labview graphical programming. It's so interesting that text-based programming.

    The first issue is of course acquire analyze and display. But on the screen how to change the X axis and Y, scale of the axes during execution values.

    Maybe you should b a little more clearly what kind of values you want to change. (range, offset, multiplier, etc..)

    For example, to change the interval-y, yscale user property...... minimum or maximum range. The interval-x is a little more complicated, because you're dealing with a graph, when the x offset the changes automatically the history buffer is updated.

    Of course you must also make sure to disable autoscaling, else it will be for the next update.

    You can also change the formatting of the x axis. at the moment you show zero decimal digits. Also an axis 'style' with a few values more would be better.

  • Filter the Table during execution and keep uncommitted line changes

    Hello

    I have a requirement which has been quite difficult for me so far.

    I use the first version Jdev 12 c.

    I have a table of AF that is connected to a ViewObject that is used for sending new data.

    When I add lines to this ViewObject, I put a field that I intend to use for filtering so that the number of lines is not displayed at the same time.  This field comes from a selection of LOV.

    I want to be able to change lines are displayed in the table based on what is the current value of selection LOV.  This isn't a problem for me, and it works perfectly using a view criteria and a variable transitional EO I put in place.

    My problem is that when I select a new value in the LOV and change to bind the variable view criteria, I want all changes uncommitted to the lines to be preserved in the View object.  Currently, the lines are not keep their changes, and I need to do this, because after that the user has entered data for a large number of lines, there will be a commit to the database for all new lines added.  Is this possible or should I look for an alternative?

    I also tried to use a table filter in the link of the page layer, but I get an error that I can't debug. It is marked as Houston-34014.  In this method, I try to access my bean in pageFlowScope to filter the table.  This bean variable is updated when the LOV selection changes.  Error messages settings are {0 = oracle.jbo.Key [-220-225], 1 = root}.  I also read that this filter parameter is a static filter and does not dynamically during execution.

    Any help would be appreciated, thanks for reading.

    Hello lhymel

    I think that your problem is solved, so please close this thread and open a new thread for tuning related problem

    Thank you

    -Ashish

Maybe you are looking for

  • How to keep the best iphone battery?

    my iphone battery is not proceeding as I hope...

  • Mac install... hp b209... can not find the software Apple

    I select to add the printer in print and scan configuration menu.  Said he found the software, click on download & install.  When I do, it says that the software for this printer is currently unavailable.  Contact the manufacturer. Any ideas?  The pr

  • Tel No. 02030 515753. belongs to "Windows"?

    I received a phone call to say that Windows called customers about 'Homeland security systems' to be published initially by PC makers when a PC was purchased from them and mine had probably expired I bought my Dell PC between 4 to 5 years and if I pa

  • Vista watch PC Alps touchpad device has stopped working

    What happens if my computer says Alps touchpad device has stopped working properly

  • QNS vpn IPsec

    Hello I have 2 questions about vpn IPsec I have an asa, vpn ipsec (l2l) running on a remote site with 192.168.0.0/24 network 1 > I can ping 192.168.0.1 but not 192.168.0.111. I had observed "Recv errors" whenever I have ping to 192.168.0.111. I had o