moving channels

I'm new to LabView please be patient. I have a binary number represented as a string. I want to pass this 16-bit number and fill the main pieces of 0. I have to cut this string? I know that tables can be shifted to n number of times but couldn't find this type of move for strings.

msmith1955 wrote:

Is it possible to split the string in unequal proportions?

Yes, there are a lot of functions of system at your disposal. Look in the channel palette and you will see there are functions of split strings. However, because you are really maniulating numbers you find may be easier to convert the string to a number, manipulate and then put it in a string. Purely in a string will be nontrivial to say the least.

Tags: NI Software

Similar Questions

  • Toshiba 32W1333DN: name of moving/deleting/edit buttons for the missing channels

    Hello

    I just bought 32W1333DN in Sweden.
    But I can't change the position of the channels in the channel list.

    Both the Quick start guide that comes in the box with the TV and the online manual has pictures and details on how to move/remove the channels and change the names of channel in the channel list.

    I'm supposed to go in
    Menu->-> Edit Channel List channel list.

    Once there, I select channels and perform tasks by selecting the buttons.

    But these buttons aren't where I watch my TV.
    Instead of the buttons for * OK * / * Move * / * remove * / * change name * / * lock * I've * OK * / * lock *.

    What is going on?

    In settings, version of the program is * V.2.1.4A * and upgrade software * V.2.1.9x *.

    Hello

    Please take a look in the user manual
    [Manual Toshiba 32W1333 | http://www.toshiba-om.net/LCD/PDF/English/W1333-32-English.pdf]

    Page 17 provides information on the list of chains, sorting programs and program locking.

    For example, to move the only channel in the list, you must do the following:
    Channel order can be changed according to your personal preferences.

    SELECT the main key channels list menu, then press OK.
    Select modify the channel list to manage all channels. Use upward or downwards and the OK button to select Edit list of strings.
    The Move option in the channel button list and press OK.
    Change number of screen will be displayed. Enter the desired channel number using the number keys on the remote control. If there is a channel previously stored on that number, a warning screen will be displayed. Select Yes if you want to move the channel and press OK.
    Selected channel is now moved.

  • Cannot move a layer with mouse - looks like a channel or a mask is moved help!

    The week last for some reason, photoshop CC isn't allowing me to select a layer and move it. (I have not checked automatic selection I use the command/click.) Whenever I order, click on a layer, it selects the layer, but looks like the background is what gets dragged and reveals a red background. Anyone know what is happening?

    Ahhh, I understood what he was quick mask mode. I just disabled it and it works again.

  • Why the menu bar menus cannot be moved to another toolbar?

    Hello

    In previous versions of Firefox, I used to move all the items of the menu bar navigation bar.

    But now that the tabs can be at the top of the window, which saves a useless space (the guys great work there), I hide the menu bar to use (and use the Firefox button).

    Since I can't find all the options that I used to find in the menus in the Firefox button (it has less detail and I have an additional module - ScrapBook - added a menu for traditional menus), I tried to move the navigation bar menus, so I can use them both at the same time. It seems that I can't move the menus anywhere in the menu bar. Why? I see no reason for the menus don't not have to be mobile as the other elements.

    This would give an opportunity to use old (and huge) menus and the new button at the same time.

    Thank you.

    teagish:

    Tagish said: I do not see an image in your last post, so I guess that you have changed from that of the ' 29/11/13 12:47 ' post.

    Answer: This is the image that I was referencing.

    Here's a broad overview of the Australis in its current form (there is little information that we are almost half a year of release and the release date can always be pushed if necessary) - https://blog.mozilla.org/ux/2013/11/australis-is-landing-in-firefox-nightly

    To download Australis - https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-ux/

    • Set up a separate profile for each version of Firefox including Australis to avoid damage to your profile-

    Don't forget that Australis is in pre-alpha, is not intended for the average user, for purposes of testing only at this point, is not completely stable and safe for daily use and is subject to change on a daily basis.

    Remember that anything, including the answers that I gave you earlier in this post and this post below this post (so that should happen) is subject to change, because the developers your feedback and if they decide to make a change.

    I suggest that you expect the Australis interface is closer to release to specific questions; Maybe wait for it either in the Aurora channel in a few weeks, then download and install it and use the Firefox Help menu > submit your comments to send feedback to the developers. Will NOT respond to your comments, but they can read them.

    1. The activity indicator is no longer available. Maybe an add-on will be developed later.
    2. Moving of House provided, download and bookmark combined this bookmarks / page display is possible and that they can be moved to the left of the URL/address bar. It seems that the button bar-3 (with customizable content by the user) is NOT mobile and can NOT be hidden. Note that the bookmark bookmarks button / display the page is currently "twinned" and cannot be moved as a unit.
    3. URL/address bar and the search bar may NOT currently be removed or hidden. In fact, the Navigation toolbar is more may be hidden. It is my understanding that the URL/address bar is now a single unit which includes the Go/Stop/Reload button and Back/Forward button and components Go/Stop/Reload button and Back/Forward button cannot be separated from the URL/address bar. There has been a lot of questions on the forum where users have hidden or deleted these articles and it causes huge problems for them.
    4. Read carefully, as I've included in one of my previous posts. Currently the default installation of Australis places the Menu bar at the left end of the title bar of the windows with the minimize mazimize, close of the buttons on the right side of the title bar. The menu bar is NOT currently but mobile can be turned off and temporarily displayed by pressing ALT or F10 in Windows. The Menu bar can be replaced using the add-on classic theme restaurant (click on the link where it is mentioned in a previous post above) to display the Firefox button. It is supposed to display the Firefox button in the title bar, but he shows currently below the title bar, taking a vertical line of the space. Currently the bar menu, when poster takes a bit more pixels vertically it needs; I hope that will be fixed.
    5. Currently, the default installation shows the menu bar (where the left side of the Windows title bar was previously), tabs, and the Navigation toolbar.

    Some add-ons will probably grow to allow users to modify some, but not all, changes to the interface. Restorer of classic theme has already been mentioned above, and I used it to change the look of my working version of installed 28.0a1 Australis.

    Let's please wait and see what develops rather guessing what might happen, or make decisions based on the current pre-alpha of Australis.

  • Firefox loads pages without moving cursor.

    I tried everything on the resolution of this problem, and it is still ongoing. I have the latest version of Mozilla Firefox, and whenever I try to pull up a new page, it does not load without moving the cursor. It is a constant nuisance. Help, please! I cleaned my computer, I uninstalled and reinstalled and everything else I could think of. Thank you very much.

    Hey, just to keep you updated - there is now a fix available for firefox 25, to focus on the particular problem of the pages won't load not unless the mouse is moved.

    If you have downgraded to firefox 24 to work around the problem, please go to firefox > options > advanced > update and re - turn on automatic updates. Then go to firefox > help > about firefox that should trigger the update for firefox 25.0.1.
    just in case you need to download the installer for firefox 25.0.1 separately https://www.mozilla.org/firefox/channel/#firefox

  • Toshiba 40L3453DB - addition of channels such as Favorites?

    Hello

    I bought a Toshiba 40L3453DB 40 inch Smart TV, but can not find out how to add channels as Favorites?

    I read the skinny Tosh manual (only moving/deleting/changing channels) and tried to find a solution online, but nothing?

    Why is it never covered TV manuals?

    Thank you

    Can anyone help? Thank you.

  • Why is there no user interface for moving the cache locations/profile?

    OK, so it took me a long time to find how to move the location of the cache and the reason is that it is done by an entry that does not exist originally, so a user need to know the channel config even magically set it.
    (this is browser.cache.disk.parent_directory for those in the same waters as me) and it still did not move the location of the profile...
    To change your profile location? The doc only that talks on this subject here:
    http://KB.mozillazine.org/Moving_your_profile_folder
    and it does not work so well for me (i.e. all) but why have I not copy and change things? It is created automatically the first time you start so FF cannot use the same method to create a new profile in an empty space?

    And my real question: is there a valid reason, that there is no element of the user interface to set the location of the profile cache directories?

    There never was a user interface for these parameters - Mozilla is "stingy" about adding prefs that will be only once required by the installation of the user interface. Also, I assume that the developers are convinced that a power user who thinks that even on the displacement of the cache will be searching for instructions on how to do it. (BTW, when you move the cache profile is moved to the folder path profile, its origin "local settings" folder - thus it is automatically moved out of APP DATA.) You can still use this pref to put the cache exactly where you want. I use a small partition for the TEMPORARY files and the cache of Firefox, so they don't one of my biggest readers logics frag.)

    Regarding the difficulties with a profile in motion, developers have threatened to remove Firefox profiles altogether for the last 3 years or 4 and WONTFIX had no Bug filed all improve or add new features to the Profile Manager. This will probably happen this year some time.

    Between you and me, there is a new Profile Manager application just went Beta, which will probably "be released" just as the existing profile manager is extracted from Firefox. It is very schweet and is always at the point where the developers are in response to reports of bugs on features to include and adding the items that are important. I have tabled a minor Bug on the characters allowed in a profile name, which was fixed in 3 or 4 weeks.

    https://developer.Mozilla.org/en/Profile_Manager

    https://wiki.Mozilla.org/Auto-Tools/projects/ProfileManager

    http://FTP.Mozilla.org/pub/mozilla.org/utilities/ProfileManager/1.0_beta1/

    You must have Windows Visual C++ 2010 redistributable installed for the application of the Profile Manager XUL Runner to work right now. I hope that this will change very soon, and all the necessary files will be included in the Zip package.

  • How day modules when using the scan engine and ethercat without losing the names and channels

    I have moved my modules and would like to update the device custom, but it will erase all my current settings (including channels calculated, etc.). I thought I saw a post on how to do this, but I'm not.  Any clues out there?

    Hello

    Unfortunately, I don't know of any way to do it.  I think your device either custom or environmental VeriStand (be it in your aliases, channels calculated, etc.), you will need to rename each variable/channel at some point along the string.

    Kind regards

  • Use getchannels to switch different channelgroup channel

    I'm moving all my channels flow in Group 4.  they are currently spread across several channelgroups.

    Dim oMyChn

    Dim oMyChannels

    Set oMyChannels = Data.GetChannels("*FLOW*")

    For each oMyChn in oMyChannels

    CallMsgBoxDisp (oMyChn.Name)

    CallData.Move (data. Root.ActiveChannelGroup.Channels (oMyChn), Data.Root.ChannelGroups (4). Channels)

    Next

    I get an error message indicating that "transferred to the point must be a string or an integer.

    Can anyone help?

    Hello world

    I would like to recommend the following alternative syntax as easier to debug and run more quickly:

    Set FlowChannels = Data.GetChannels("*/*FLOW*")
    jMax = FlowChannels.Count
    FOR j = 1 TO jMax
    Call Data .move (FlowChannels (j), Data.Root.ChannelGroups (4).) Channels, j)
    NEXT ' j

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • FPGA - windowed moving average, variance, standard deviation, kurtosis and asymmetry

    Hello!

    I'm processing in FPGA and I want to calculate the MOVING WINDOW average, variance, standard deviation, kurtosis, asymmetry online for the last N (N is the size of windows) elements. The frequency is about 100 kHz and N about 10000 (100 ms of signal).

    I found something like EMA (moving average exponential)...

    Have someone solved something like that? Any ideas how to fix?

    That looks like a problem. What type of window you need? The moving average exponential isn't an option? There are online algorithms described in Wikipedia, but they can suffer from problems of numerical accuracy when it is implemented in a fixed point (depending on the nature of the data). They would be interesting watch in, however.

    Other than that, here are some options that I can think of:

    • More large FPGA
    • Be part of the treatment on the RT controller - have - you looked into that?
    • Return to your needs and push some of the numbers. Do you really need 100 ms in all cases, etc.?
    • Depending on the nature of the data, simple compression techniques may be an option
    • An precision analysis to determine the data type minimum, that you really need. For example, getting to 25 bits, would have a huge impact on your cost of multiplier.
    • Consider the mathematics of floating (using Xilinx IP cores) point to online methods. Your flow is relatively low, so you could share it resources between all channels. Manage States of different channels is complicated but is doable.

    The BRAM will be used for FIFO buffers, but is also available for general use to implement the fifo and memories. Some IP use BRAM under the hood, keep an eye on the compilation summaries to monitor how much still you have.

  • FPGA target host DMA FIFO multi-channel

    Hi people,

    I have a little trouble to collect my FPGA application data. The control of my FPGA application loop is running and read data from set point between a host and target FIFO to a period of 50 uSec. I run a separate loop to write data collected form two channels in a target of FIFO host over a period of 1000 uSec. I'm taking the data from both channels and its reading on the host in bundles of 500 data samples. The first problem I have is that my method of reading times unless I put my data acquisition loop to run at a much slower pace. My FIFO depth host side is 60000, almost as large as the total number of data samples that I expect to collect in total.

    I have another problem when trying to write the data to a table. Even if my method of reading does not expire, I don't think that will record the first beam of data that are read. I've initialized an empty table outside my acquistion of the side loop host and used the table VI build to take the current data set and add it at the end of this table. I then store in a shift register and pass it in the next iteration where I try to join the new data set to the old and so on. I expected to get a table with all the data, but as I said I'm only collecting the first set of 500. I wonder if my program structure is correct. Any help anyone could offer would be greatly appreciated. I have attached a few pictures of my reference request. Thank you.

    Hi Daniel,.

    Thank you for your response. I think I found a solution to the problems that I had. Looks like it was a combination of a couple things. First, the data acquisition loop was running not until the movement was already over since I plugged the condition to stop the loop of writing deposit directly on the data read loop. This problem has been fixed by creating a shared variable for the stop condition and it wiring to two loops independently. This explains why I got only the first set of data, as it was stored in the FIFO until the end of the movement. However, the FIFO of feedback was still time. Before attaching the stop condition error, I placed a probe on the "items remaining" wire of the read method and concluded that there was only 1023 elements (the depth of the FIFO on the side FPGA) even if I set the FIFO depth host side to 60000. "» I realized it was originally due to the Read method not called for the first time until the end of the movement. Although the problem of break for most fixed condition this problem given that the Read method was now called during the movement, I decided to take a preventive measure and calling the 'Start' before the movement FIFO method is started just to make sure that the memory of PEP on the side host is available immediately.

    So yes, it turns badly I put sync settings have been well after all. Good call on the reversal of the order on the Array function to build. Oh, and I also had to move the waveform diagram to until the table is built so that it is not Replot the old data on top of all the new data it receives. On the same note, I moved to the indicator in table at the end outside of the loop of reading. Thanks again for your help.

    Kind regards

    John has

  • System slows down during playback of 3 channels simultaneously

    Hi all!

    I'm at the stage of beginning with Labview (7.0, old I know ;() and try to encode a routine that reads data force 3 - axis load cell (400 Hz sampling frequency), it filters with low-pass filter simple software (cut 100 Hz) and the future written down into a data file if I use Matlab for plotting.) I met strange delay when I read the three channels at the same time and I'm trying to understand what has hurt.

    Here are the steps in my code (I used > example as a base):

    (1) I've initialized global channels, in which I put across the voltage according to the diagrams provided manufacturing

    LC is physically connected to SG23/SC-2345 combo, which, in turnes, connected to the PXI-6221 DAQ card

    (2) I've initialized a virtual channel for pxi-6221 so I can have control over its gain (+/-0 .5v, +/-1v, +/-5v, +/-10v) and the value of the gain for + / 1v, gives me the precision desired (at least I hope for that)

    (3) wired global channels to the block of PXI

    (4) set at 400 Hz sampling rate

    (5) acquisition of start-up

    (6) Split into three channels signal and connected a VI for filtering to one of them

    The thing is, once I have started the program, everything is "moving" so slow that made me wander if I do things right.

    Would be very happy comments

    My VI:

    The only thing you don't mention changing is the number of samples to be read. The VI you have posted a number of samples to read the value of 4000. If you change the sample rate of 400, then of course it will take 10 seconds to acquire as many samples.

  • Error-200478 - specified operation cannot be performed when there is no channels in the task

    I write a task in NiDaqmx read 8 thermocouples 2 9222 or 4 thermocouples of a NI 9223 modules. Under Source of CCM I entered the channel and specified a type K thermocouple connected to a NI 9219. All modules are located in the same chassis of cDAQ9178.

    I get the above error.

    I add the CJC channel and he complains that I have double readings of the same channel in one of the tasks.

    The environment where it will be installed will vary widely affecting thus the constant CCM is not a viable option.

    Any help would be appreciated.

    Simple reason - we already possess the 9222 s of NOR and the NI 9223. I'll check the price NI9213 and see if the Group has the budget.

    I watched your program and compared it with mine. Tried to channel the CJC as Temperature_12 but all local channels are grayed out. BUT I moved Temperature_12 the command to the top you and Voila! He is available for selection. I put all 9222 s and 9223 channels at points to Temperature_12, and it saved without error.

    So I would say put the CJC channel as the first channel to read fixes the problem - it makes sense that the following channels need a reading to serve their CCM. Where this logic breaks down is if you consider that the 9222 and 9223 channels are simultaneous channels, but that's a topic for another post!

    For now, I thank very you much for your help.

    Best regards

    Dean

  • How can I count the pulses in a channel?

    Hello

    I have a channel consisting of 0 and 1 (data comes from a proximity sensor) and I was wondering if there is an easy way to count the events (i.e. pulse) to (Advanced) Tiara? At its simplest, I just need a method to count the number of rising edges in the channel.

    A script would be the way to do this? If so, is there any example autour code to demonstrate how to analyse the lines in a channel?

    Thank you

    PorridgeMan.

    Hello!

    @Martin: IMHO your aproach can operate, but need not because of input data and the right compares value (10 in your case).

    If the input data are not a pure 0-1 step you can get more the a value greater than 10 for a rising edge.

    The comparison value depends on the distance of time and the channel values, and it's not easy to calculate in advance.
    The other drawback I see is that you need a channel of X, which is not really necessary to solve the problem.

    I think my code will be more robust (IMHO as I mentioned).

    @PorridgeMan: Yes, it's a shame it takes certain steps of DIAdem to solve this common problem.

    First: By script is possible, but generally to slow down. My approach is to insert a 0 value at the beginning

    a copy of the input channel table and compare it to the input string. If a value is less than 0,5 (half of you maximum values)

    and the other is higher I put a 1 0 otherwise in a result string. Even in more complicated cases, the comparison value could

    be calculated or alienated by a moving average.

    Here is the code:

    Option Explicit
    
    ' Copy data
    Call ChnCalculate("Ch(""[1]/Dif"")=Ch(""[1]/Pulses"")")
    ' Insert one 0 at the beginning
    Call DataBlInsertVal("[1]/Dif",1,1,0,0)
    ' Compare and convert result to 1 or 0
    Call ChnCalculate("Ch(""[1]/Result"") = IIf((Ch(""[1]/Pulses"") < 0.5) And (Ch(""[1]/Dif"") > 0.5), 1, 0)")
    ' Sum is result
    Call MsgBox(Cch("[1]/Result",4))
    

    Hope this helps

    Matthias

  • Memory of the PXI - 6562 Max per channel

    I have two questions.

    I have a PXI - 6562 and a data set is 256 MB (32 MB). I want to send the data in this dataset on a single axis of I/O serial. basically, I would like to spend my little of a set of data at the same time on both edges of the clock on an axis of IO. I don't like on the other IO pins. Is this possible with the PXI-6562 or all bits in each octet in the memory of the card corresponds to a specific channel.

    If I can't send my data in series then I will accept that to encode every bit in my data set in the form of byte with a bit of data and the other zeros. This means that, for a set of data from 256 MB, I would need 8 times more memory 2048b. I understand that there are a total of 2 GB of RAM on the PXI-6562. Is this all addressable RAM in series? I can write the data of all the 2 GB of RAM for say 8 i/o ports?

    gtg811q

    With the PXI-6562 even if you want to only output a channel you must always write in a format of U8. So, as you describe you that a single bit, worries you, and you will need to set to 0 for the rest. This means that all data that you generate will be the value of 256 MB of data, because the smallest unit you can write with the HSDIO driver is the U8.

    Now in regards to moving data on the two edges of both sides of the sample clock, this is called Double flow of data and is available with our devices OR 656 X and 6547 and 6548 devices. We have a developer area which details the DDR option more.

    Advanced features of NOR-HSDIO: Double data rate

    http://zone.NI.com/DevZone/CDA/tut/p/ID/6718

    In reference to the memory of the generation, the width of the data to the memory of the generation is not configurable by the user. This means that if you have the 128 MB / channel option your total memory available per channel is 512 Mbit/channel. Because the width of the generation of data is set to 1 byte, and you get 4 times the memory per channel mode DDR with the 6562. The KB below explains the behavior. Look under the section 'Generation '.

    Width of HSDIO and allowance data memory:

    http://digital.NI.com/public.nsf/allkb/E5170A54988EF81A8625725A006103BB?OpenDocument

    So, in summary, the total of 2 GB memory won't be available for a single channel, but you have a total of 256 MB/channel available for each channel. Since you are really interested in only one channel you will be able to write data from 256 MB to you. As you would put all your data on the memory of the card you have to the flow of the disc on your generator HSDIO card. To do this, we have some examples:

    NOR-HSDIO Stream from disk (generation) using Win32 IO file:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/5270

    However, there will be a bottle neck on your PXI backplane data, because the basket max transfer rate will be around 100-110 MB/s you will not be able to cope with your generation session. Since you will write in U8s each sample is 1 byte, which means that the best you can hope to stream would be around 100 MHz or more.

    We have not the cards LVDS SMU (PXI Expresss) which would allow you to have a superior data through-put, but if you do not necessarily need the LVDS, we have other options. I'm guessing you need LVDS or you would not the 6562.

    The other option is to write you data in parallel in the 8-bit generation DDR and then use an external serializer for an 8 to 1, then you would be able to use all of the available memory and you would probably be able to fit all your data on the memory of the card and you do not have to stream from the disc. This external serializer allows you to put your first data point on channel 0, second data point on channel 1 and one until you loop around back and have your second sample generated between the way 0 be your 8th overall your waveform data point.

    I hope this helps and let me know if you have follow-up questions. Thank you!

Maybe you are looking for

  • Looking for wall brackets for AirPort Express. Apple is selling them?

    Necessary wall mounting for the AirPort Express. Apple is selling them?

  • Migration tool for 64 bit LabXML

    Hello! This post is not exactly on LabVIEW concerns, but I'll try anyway ;-) We used the LabXML tool in many applications for a long time without problems (downloaded from here: http://sourceforge.net/projects/labxml/files/LibXML-toolkit/). Now we ar

  • Rapid calculation of the exponential decay constants

    Hi all I try to develop a routine that quickly calculates the exponential decay of a given waveform constant.  I use two different techniques, dealing with the calculation of the directions and another using corrects successive integration (LRS).  Th

  • Windows defender error

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: so is that what if we have microsoft security essential in our pc or laptop, then it will be automatically turned off the defender of win

  • Does anyone have information about the update of drivers for Windows 7?

    Hi guys... have a question... My HP G60 laptop PC needs a restore/update the driver. I saw a particular disc, but the reviews stated that It was a waste of money. Does anyone have an idea of what would work in reality for me, software or link? Thank