Can I do the equivalent of a register to offset with a start value of variable?

I have an array of samping frequency values (determined by an external signal) and I would like to extract a value both of this table to use as the frequency of sampling for another signal.

The shift register is almost what I want. The problem is that I still won't start at element 0, but rather to the first value of positive sampling frequency, which has a slightly different every time. Once this value is reached, I want the index to increment by 1 on each iteration of the loop (which already does).

I have attached a VI for reference. Any suggestions?

The structure of the case is inside the while loop.  It's a bit like the structure used for the State machines.  Look at the VI attached. I didn't test it.

In general, you should avoid buiding an array within a loop as it will eventually cause memory allocation problems (= program crash!).  It is best to allocate an array as important or more than the maximum that you expect to use outside the loop and replace a subset of table inside the loop.

Lynn

Tags: NI Software

Similar Questions

  • How can I check the ink levels in a printer-c410a with windows 8?

    How can I check the ink levels in a printer-c410a with windows 8?

    Hi Doug007,

    I see that your wanting to check ink levels.  I'd take a glance on the document below it shows alternate ways to check ink levels.

    Control of ink levels

    I hope this helps.

  • I can't open the Acrobat Pro XI after you install with my serial number.

    I can't open the Acrobat Pro XI after you install with my serial number on 8 to win. My daughter has a report due tomorrow.

    Thanks Rick

    Hi Rick,

    Could if it you please let me know what happens when you click on the Acrobat icon to launch it for the first time.

    You get the error message? If Yes, then please let me know by sharing the screenshot of the same so that I can analyze the problem.

    You can try to uninstall and then reinstall Acrobat XI from the below mentioned link:

    Download Acrobat products | Standard, Pro | DC, XI, X

    In the activation window that appears, use your serial number to activate the software.

    Then, try to start again and check.

    Let me know how it goes.

    Kind regards

    Ana Maria

  • I have a Nikon D 810 camera and Photoshop CS5.  I downloaded camera 8.8 Raw and DNG converter.  I can't open the raw (.nef) files, and treat them with the DNG Converter. What's not?

    I have a Nikon D 810 camera and Photoshop CS5.  I downloaded camera 8.8 Raw and DNG converter.  I can't open the raw (.nef) files, and treat them with the DNG Converter. What's not?  Thank you!

    As I said earlier, the DNG Converter works ONLY on files, not on files.

    Do not target the individual files.  Target Of THE FOLDER that contains them.

    Make sure that said FILE DO NOT contain any other files , you have already settled before, or your settings will be eliminated when re-converted to DNG.

    No need to write long explanations.  More messages are, the more chances you have of receiving relevant responses.

  • Can not find the equivalent Australian model us Qosmio X 75 - A7295

    Does anyone know the Australian model of the equivalent of what I found on an American website:

    Black 17.3 "Toshiba Qosmio X 75 - A7295 computer laptop PC with processor Intel Core i7-4700MQ, 16 GB memory, 1 TB hard and Windows 8

    I can't align with the Australian version Toshiba models.

    Computers notebooks are specific products of these countries, and very often the same models are not available in different markets. If you're in Australia check Qosmio models offered in your country and pick up a better hardware configuration.

  • Where can I get the license key to register?

    I need to re - install acrobat 8 on my new computer.  Where can I get my license key to register the product

    Hi Lilly,

    If you have an Adobe ID, you can sign and the list of your serial numbers.

    Quickly find your serial number

    Otherwise, it may depend on how you purchased your product. See info in the link above.

    Kind regards

    Craig

  • I can not open the last closed tab, does not begin with the tabs

    Recently, I noticed that I can not open the last closed tab (the choice is there, but is grayed out).
    Then, during the restart, I notice that the system does not restore the tabs visited - even if this choice is made in the Options.

    I recently installed KeePass and its extension in Firefox and it seems to work (I don't actually use it often). And, recently, I had a problem where the system would resize my pages (as if I hold down the CTRL key while scrolling to me.

    Several reboots corrected this problem - but now I can't resize by pressing the Ctrl and scrolling (while holding the Ctrl key and tapping the - key will be resize the window).

    Any ideas on how to solve this problem without a complete reinstall? I have been copying my Firefox profile from one computer to another over the years and I am worried about losing my data / preferences.

    Thanks in advance!

    -John

    Uninstalled KeeFox and the problem disappeared.

  • How can I delete the previous entries that fitrefox brings up whenever I start to connect to a site that requires me to enter in a newspaper?

    Firefox remembers previous entries and connections I typed. How can I remove the old entries unused so that they do not each time come up that I begin to type a login name?

    • Click on the (empty) input field on the web page to open the drop-down list
    • Select an entry in the drop-down list
    • Press the DELETE key (on a Mac: shift + delete) to remove it.
    • Tools > Options > Security: passwords: "saved passwords" > "show passwords".
  • Can't see the terminal emulator port after all control with VISA

    Hello

    I created a LabVIEW VI to control cycle to PWM channels on a microcontroller FRDM KE02Z reports. The microcontroller, programmed in CodeWarrior, is set up to receive an an input of the terminal string and break it in two parts (the channel name and ratio), which are then applied to the PWM. The code works and I tested with the 2.9 Termite and a Logic Analyzer before ordering through LabVIEW. The problem I had, though, is that I have to completely close LabVIEW to see the port on the new Termite and vice versa.

    Previously, I had problems with VI after I something else in it, even a VI almost identical, more open as he was using the same port. I get errors and be unable to get my VI to work again unless I restarted LabVIEW. I was able to fix by adding a VISA flush the IO buffer according to a discussion earlier (http://forums.ni.com/t5/LabVIEW/Timing-issues-with-Serial-Read-Write-can-t-achieve-terminal/m-p/2636... once the configuration of the Port series and at least now I can jump between the screws I am still unable to see the port jumps between LabVIEW and termite, unless I close one;) Close VISA and the closure of the VI are not enough, I must close LabVIEW himself. Is it possible to achieve only within the VI? For example using a VISA or VISA clear Flush at the end (after closing VISA)? If Yes, what is the difference/preference between them?

    As I mentioned previously, the VI is functional, but I would like to know what is happening for future considerations. Would appreciate any advice.

    Hope to hear from you,
    Yusif Nurizade

    You have not wired resource VISA through the stop event name so it doesn't close anything.

  • Windows dvd creation: my computer crashed and now I can't find the creation of windows dvd that comes with the software. How can I get it back

    Creating Windows dvd:

    Computer crashed this program how to get back lost

    Do you still have the program, but maybe just lost the shortcut for it?

    See what you have here, C:\Program DVD Maker, look for DVDMaker.exe.

    It may be necessary to show both hidden and system files and also uncheck 'Hide known file types' in Control Panel / folder Options / view to navigate to the specified location.

    If you have the .exe, and then you can right-click on the .exe and "Pin" in the Start Menu or use "send to" to place a shortcut on the desktop.

    If you type DVDMaker.exe in Start Menu / search box, or men Start / RUN box, which could launch for you.

    You can try restoring the system also.

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (or 7)
    http://support.Microsoft.com/kb/936212/#appliesTo

  • CD is not compatible with XP, why? I can't pass the data information of my new HP with Vista professional in my other, older __Dell computers using XP iperating system. It makes the CD a bit useless.

    I don't understand why I can't pass data as a file in Quicken to my new HP computer using the CD of my old Dell computer with the XP operating system.  I have to use thumb devices to transfer data.  What is a reason that they cannot be compatible.

    Read the section on using disks of different CD players or format to ISO for older computers

    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD

    If your computer is equipped with a CD or DVD burner, you can copy files to a recordable disc. This process is called burning a disc. By default, Windows Burns discs in the active file system format, but you can also choose to burn discs in ISO image format.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://Windows.Microsoft.com/en-us/Windows-Vista/disc-burning-frequently-asked-questions

    Why are there two different ways to format a disc?

    You can choose between the formats of live file system and mastered during the creation of a new recordable disc because each of these formats is used for different purposes. The default choice is the active file system because it is a more convenient way to create a disc. When you use a Live file system disc, files are copied to the disk immediately. When you use the ISO image format, the files are stored in a "transit zone" until you decide to burn the disc.

    When you use the system format active files with rewritable discs, such as CD - RW and DVD - RW, you can also erase unwanted files from a disc to recover space, which is not possible with mastered discs. On the other hand, mastered discs are more compatible with older computers, previous versions of Windows, and other devices such as CD and DVD players. For more information, see which CD or DVD format should I use?

    See you soon.

    Mick Murphy - Microsoft partner

  • Can not find the library when you adjust created book with Blurb

    I have created a book with lightroom 4 and then exported in pdf to show the client. Now I have to make some adjustments, but the photo shown and available are only those already contained in the book and not all the photos of the library (of this specific work). I can't access the other photos and I don't know how to be included in the book unless I have create a new. It's like I have to do the same work twice. Can you help me please?

    If you have the book go to the collection of recorded books. Right-click (Ctrl-click) on that collection name and choose "set as target Collection.

    Back to other folders and select the picture you want to add, and then press the B key.

    When you return to the book module you can drag additional photos of the film in the pages.

  • How can I get the version of VMware to virtual machines with powercli officer?

    How can I get the version of VMware View Agent running on a virtual machine with powercli or view Powercli?

    As much as I know there is no cmdlet PowerCLI for this, but you can use the Invoke-VMScript cmdlet and interrogate the Win32_Product class.

    By running the following. You can add a Where clause to return only the Agent of the view

    Get-WmiObject-class Win32_Product | Select the name, Version

  • Can't see the camera raw thumbnails in my pictures with windows 7

    I've just updated to a new pc, windows 7 and installed photoshop CS4, downloaded the latest camera raw plug and everything works except that I can't see the thumbnails from camera raw in my photos.  Thumbnails appear in the bridge.  I use the canon 40 d and 7 d.  Can anyone help with this?  Thank you.

    Windows does not display thumbnails for RAW files unless you have installed the codec in windows to generate.  I'm using the FastPictureViewer codec pack on my windows system to generate thumbnails for RAW and PSD files im windows system the dialogues as Explorer files, file open, file save etc.  There are other codec packages can also be used.

  • How can I change the campaign e-mail templates that come with British Colombia?

    Just upgraded my CB subscription allow me to send email campaigns.  I played with the new features that came with my (webMarketing) upgrade. The proposed models are nice and I would like to find a way to change them.

    For example, how can I change the background color of the newsletter?  How can I change the size of an image?

    I guess that people read this and automatically know that I don't know coding site - so maybe that my question should be: what I need to know HTML coding to modify/create a newsletter?  I guess I thought I could do a newsletter as I did my Muse site - with a flexibility of design and Visual simplicity without having to know the code.  Am I wrong in thinking this?

    Maybe I don't understand the Modules 'Toolbox '.  Also, I keep the light as "page templates" can be found under the tab "Website manager" and I don't have that available, it's because of my membership level?

    Help, please! I watched several videos online and can't go very far.  I have access to Dreamweaver if that helps.

    Kind regards

    It comes from the Internet, you must know HTML, CSS to the NVA less to be able to make a number of changes. While the editor you can resize the table elements without going into code view, you can change anything in British Colombia, including e-mails by editing the HTML. At the very least, you will see html on an email to view and copy/modify the code view.

Maybe you are looking for