Change the structure of program based on the input file

I have a program that takes parameters of an input file and then executes a Visual acquisition, using IMAQ, controlling some other hardware at the same time.  The duration of the various stages of this process control settings.

There is a sequence stacked structure to control the playback of the input file, the initialization of the hardware, and then a while loop on the last image to actual purchase.

The user of the program now wish to have several games acquisition in the same race, possibly with different time settings.  This would mean different iterations of the final loop, based on the parameters of the input file.  There could be 5 games of acquisition on occasion, 3 on another, etc., in a performance of the program.

The structure VI already seems a little baroque, and I don't want to make it even more complicated.

I would appreciate advice on how best to proceed, because I'm really a novice of LabView.

If you use a "State Machine" architecture, you can do exactly that.

Instead of having a structure of stacked sequence, it is essentially a case structure in a while loop.

Each case represents a State.

So in your case, you would have a State for:

-reading the input file

-initialization of hardware

-data acquisition

You can have the user controls the number of iterations of the State for the acquisition of data that you want to run.

Tags: NI Software

Similar Questions

  • When I connect to Photoshop CC I still can't go to the program - I need to change the host file?

    When I connect to Photoshop CC I still can't go to the program - I need to change the host file?

    Please follow it mentioned below as follows:

    1 complete the process / Task Manager tasks in the same order, as mentioned below the Manager tasks. See, Open the Task Manager

    • Creative cloud
    • Basic timing & sync to basic support
    • CC library & process CCX
    • Adobe Common Desktop
    • Adobe update daemon
    • Broker CIB Adobe
    • After that, everything that said adobe on it do a force quit for her

    2 - C:\Users\\AppData\Local\Adobe\ MAA UPDATER and two OOBE (App data & Program Data is hidden folder please see, Show files and folders hidden in Windows 7, 8.x, 10, or Vista)

    3 reset the hosts - IP addresses redirected file may prevent you to complete the authorization process.

    4 - CUT any security software installed with firewall system, also if your having any browser Add On installed for blocking advertising that turn off too.

    These changes are temporary you can restore these changes back to normal once your creative cloud app is running *.

    5 - raise the cloud creative app and connect

    Let us know if that helps.

  • Firefox freeze every time that tired to change the input language

    Hello. Whenever I tried to change the input language to enter in other languages Firefox freeze (program does not).

    Sometimes I type alt + shift or when I click on the language bar to select other languages.

    It also happens with several languages (I've tested, maybe all), and I have tried various software/entry mode, including default windows, all freeze. Reset Firefox under help does not work either.

    This problem occurs with Firefox and Chrome but not IE... Maybe not Firefox problem as this case w Chrome, but and ideas please? Thank you.

    J

    Edit:

    • Regedit could be changed, but do not hit internet setting.
    • I can enter foreign language as long as I set the default language and don't change another language in the language bar. Currently I use the foreign language as default capture software and switch to English of entry in this software.

    Have you attempted to assign a specific shortcut (for example, Shift + Ctrl + 1-9, 0) to select each language?

  • 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

  • How to change the input to Dogri language

    How to change the input to Dogri in Windows 8 language using visual studio 2005

    Hey Yusuf,

    To change the language in the Visual Studio program, I suggest you view the query in the Visual Studio forum:

    http://social.msdn.Microsoft.com/forums/vstudio/en-us/home?category=VisualStudio

  • How to change the JMP files?

    How can we change the JMP files to add additional values?

    Assuming you mean that sets baseline data is supplied with the CD in the form of JMP files, there is a project of initialization that generates and can regenerate these files based on configurable parameters in the run profile depending on what language you want to enable. You can also override the custom values, but you should do this with the project initialization so that all conflicts between your entries and delivered and any conflict when merging several languages, is resolved.

    There's a guide for this in Customizing CD Guide: Oracle® Enterprise Data Quality, Section 4.

    The JMP files are a useful way to hand data between servers (or projects) because the data types are preserved and several tables can be written to a file.

  • My hosts file has been damaged. I can't change the corrupted file

    My system hosts file has been corrupted by some types of malware. I'm stuck to go on sites like google and youtube.

    I have windows xp family

    I know what I need to change in the hosts file, but I can't change the attributes. I tried to use Notepad, but it does not record.  I guess that's because it is readonly and a file system. I tried to use the cmd commands and attribute... does not work.  Don't know how to change the hosts file.

    Any help would be appreciated.

    Thank you

    .

    Hello

    How to reset the default hosts file?
    http://support.Microsoft.com/kb/972034/en-us

    The Hosts file and that it can do for you
    http://www.bleepingcomputer.com/tutorials/Tutorial51.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Change the input s-video tv to hdmi

    Anyone know if you can change the input s video cable tv to use the HDMI input to watch TV on the Touchsmart 600-1050? The s-video works fine, but I thought I read somewhere that you should be able to use the HDMI as input source. So how to change the tv tuner to use HDMI instead of the S video cable? Thank you.

    There is a toggle button on the back just above the HDMI port that allows to move forward and backward.

  • How to change the host file...

    I have ICS on my SK17i. I want to change my/etc/host file. How is it possible.

    Given that the host file is a system file

    You need to root your phone and then use root Explorer > mount R/W > open with text editor

    Can I know what in fact do you?

    Why you want to change the host file?

  • Cannot change the hosts file in Windows Vista Home Premium

    Posted on behalf of a client:

    Cannot change the hosts file in Windows Vista Home Premium. Read-only value.

    Help, please.

    Hello

    I suggest you to try the steps below and check if it helps.

    Method 1: Try to take possession of the host file and check to see if the same problem happens.

    To apply permissions to a file or a folder:

    a. right click on the file or folder and then click Properties.

    b. click the Security tab and then click Edit.

    c. do one of the following:

    ·         To set permissions for a user who is not listed under group or user names, click Add, type the name of the user or group, click OK, select permissions and then click OK.

    ·         To change or remove permissions for a user or an existing group, click the name of the user or group, select the permissions and then click OK.

    For more information, see the article mentioned below:

    What to know before applying permissions to a file or a folder:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-access-denied-when-opening-files-or-folders

    Prevent changes to a file or folder (read-only):

    http://Windows.Microsoft.com/en-us/Windows-Vista/prevent-changes-to-a-file-or-folder-read-only

    Hope this information is useful.

  • I copied the 2 files to a DVD movie and he changed the .m2ts file format and it is not supported by Windows Media Player. How to convert files in a file type supported?

    Original title: M2TS

    I copied the 2 files to a DVD movie and he changed the .m2ts file format and it is not supported by Windows Media Player.  How to convert files in a file type supported?

    Hello

    The files have already been burned on a DVD and therefore cannot be converted. However, you can download and install third-party codecs to play .m2ts files.

    Codecs: Frequently asked questions

    WARNING OF THIRD PARTY
    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • Change the input language (but no keyboard)

    Advice from Microsoft about this is here: http://windows.microsoft.com/en-US/windows7/Add-or-change-an-input-language

    What they fail to mention is that whenever you change the input language, you must also switch the physical keyboard. This is not useful... you can easily enter (say) German with an English keyboard, but as this feature is currently implemented, if you want to than the German spelling checker, you can also switch to a German keyboard.
    Or am I missing something?

    I was curious - what happens if we give a QWERTY keyboard for the laptop computer French?

    I can confirm that a QWERTY keyboard works fine when an input language is defined on FR... This has always been my position of withdrawal anyway.
    I also read that the keyboard mapping is maintained in the registry, so my other idea is to assign an input EN language (which will force me to choose an English keyboard), and then change the mapping if it corresponds to the real keyboard (AZERTY).
    This sounds like a viable solution?
  • You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.

    You are looking for a way to set permissions of files on a folder so that users can view and copy the files out, but may not change the original file in the folder.  They will have to copy the files in the folder to make changes and then copy a review of back in.  Locally and on the network

    Hello

    1. In Windows Explorer, right-click the file or folder you want to work with.
    2. In the context menu, select properties and then in the Properties dialog box, click the Security tab.

    3. In the name list box, select the user, contact, computer, or group to which you want to display permissions. If the permissions are grayed out, this means that the permissions are inherited from a parent object.

    https://msdn.Microsoft.com/en-us/library/bb727008.aspx?f=255&MSPPError=-2147217396

  • How do I change the input on the LCD 65 profile Cisco

    We recently had a Cisco TelePresence given 65 profile system. We have all the documents and I could not find instructions on the lcd screen. The screen has several entries and RS232. I would like to know how to change the input to the screen. Could someone explain to me how it would happen? I guess its more rs232 because I can't find any button on the unit. Is there an API for the screen? What are the communication settings for the screen?

    Any help is appreciated more.

    Thank you

    James

    Double post - see https://supportforums.cisco.com/discussion/12742796/how-change-input-cisco-profile-65-lcd-screen

  • How am I able to change the css file in a model?

    Hello everyone.

    I'm pretty new to Dreamweaver, so any help would be greatly appreciated.

    I built my index file related a particular css file and saved as a model, but I use

    different css files for some of my other pages. So, when I save a new page used to

    a corresponding model of css file is replaced, and the css of index file is used.

    Is in any way change the css file once it has been registered?

    Thank you

    Rich

    It is best to alll your at the level of the site CSS in an external file.

    Use CSS only incorporated into page-specific CSS rules.  In other words, integrated CSS goes in the

Maybe you are looking for

  • Details of office are not visible

    I don't see details more such as disks, maps and files on my desktopscreen. I just tried to restart is safe mode but without success.When I open any program a bar... only the viewfinder; When I want to open or restart it does not openMy sofwarte is u

  • HP Pavilion s5-1414 failed to turn on

    I have a HP Pavilion recently new model #: s5-1414.  When I plug it into the power supply, the Green led lights up as expected.  However, after pressing the power switch on the front, the green light will fade.  Also the CPU fan and case turns on mom

  • Windows 7 drivers after downgrading to win 8

    Hi people; I have a HP Envy 17 j-021ss. recently, I did a downgrade to win 8 (preinstalled) for Win 7 reason several compatibility with my Design software (that I use for work). I am looking for the drivers, but there are only a few of them that I'm

  • I want to buy a PC for Trading financial suggestions?

    Hello I want to buy a PC with the following text: Precision platform - for relaibility Up to 8 monitors A lot of RAM 8-10 GB +. Someone at - it experience to specify the components of a solution from dell?

  • Smartphones blackBerry 9105 in flight

    Hi, having just moved from Nokia to BB, if I missed something simple, then I apologize, but I was used to having a flight Mode profile. I can't locate on the Pearl 3 G. Can someone inform me where he might be, if it actually exists? It is not a major