How to manage 4 sampling tasks HAVE?

Hello

I use the NI6250 and I want to taste 4 analog inputs.

I want to use the maximum sampling frequency of the card

I just need to taste "simultaneously" 2 channels at the same time.

I don't want to use the capacity 500 Mhz/ch.

I don't want to create/delete tasks every time, but rather he implemented at the beginning of my test and then switch from one task to another.  (each task being 2 channels sampling)

Can you show me how do?

Thank you

RK

Hi RK,.

You don't need to delete and re-create the task each time, you can keep the same handles and switch between them.  You just use the job functions of stop and start to make sure that only 1 task is running at the same time.  I tested this by creating three tasks, setting different combinations of channels on each, on each, different sampling rates and then using these same task 3 handles in a loop with just a Start Task, Read and try to stop.  I think you should be able to do exactly what you describe.

Morgan S

Technical sales engineer

National Instruments

Tags: NI Software

Similar Questions

  • How can I reinstall the Task Manager and monitor resource for Win 7?

    I saw a lot of similar questions to mine and problems are resolved for the most part because the person is running in mode 'tiny' in the Task Manager.  And, while the problem of the poster has been resolved, I must still be able to find an answer that actually answered the question: how to reinstall a task manager and resource monitor?

    I don't want to seem rude or obnoxious, but that's all I really need to know. Is it possible to reinstall the Task Manager and resource monitor and how - what is done?

    For a more easy, please take the following response,

    I am running Windows 7

    Parts of the the Task Manager and resource monitor will not run correctly (it isn't tiny mode, everything seems as it should be, they are just not all the work)

    I did a lot of research and analysis and virus check

    I do not have a file to restore good system (whatever the reason)

    I decided that I have to reinstall the program

    So my question is simple: how to reinstall a task manager and resource monitor?  I can't find a download for it on the Microsoft.com site file; Maybe it's there, but I'm not.

    Please don't bother spending time trying to figure what's wrong with my system, you will lose your time (this is the part where I'm really NOT trying to be rude, but I tell you the truth).  I did the analysis, controls, etc. etc.  I just need to reinstall.

    So please, could someone just tell me how to reinstall only the Task Manager and resource monitor.  I don't want to have to reinstall the whole system.  It seems to me that it is not necessary; It's only two programs.  It is possible and if so, how?

    I thank very you much for any help.  I hope that was clear, so no one loses time on it unnecessarily.

    You are welcome.

    There is no download for them because they are part of the full operating system.

    See you soon.

  • I have the genuine product key genuine microsoft windows vista business but I have lost the cd/dvd of the windows disk, how to manage another copy of windows vista professional?

    I have the genuine product key genuine microsoft windows vista business but I have lost the cd/dvd of the windows disk, how to manage another copy of windows vista professional?

    If you bought the retail of Windows 7:

    How to replace Microsoft software
    http://support.Microsoft.com/default.aspx/KB/326246

    If Windows is preinstalled with the computer:

    If you do not install disks:

    Contact the OEM computer manufacturer and ask them to send you an installation to your computer disk - they may charge a small fee. Contact information for the manufacturer of your computer can be found here:

    http://support.Microsoft.com/GP/oemphone/

  • How to manage all tasks with 1 role Admin BPM

    Hi all

    I would like to understand how I can handle any task of entire process even if I'm not in the assigned. (as administrator)

    In other words, I would like to be able to reassign any user when I want with a single admin user.

    I expect that BPMProcessAdmin role done this but apparently not.

    How to manage these issues?

    Thank you.

    Give the user the role of ProcessOwner in the process.

  • How will I know if I have the bluetooth... IdeaPad Y530

    How will I know if I have the bluetooth. I just received this IdeaPad Y530. On the sticker on the bottom is a MO:AB08102003.

    I type "bluetooth" in the search box of windows and a window opens for bluetooth devices and there a task click on bluetooth settings, but nothing happens when I click it.

    On your keyboard, press 'Fn + F5'. It should appear a wireless device management utility. If you have a bluetooth device on your laptop, it should show a card 'Wireless' and 'bluetooth device.

  • How to manage the event of "alt + trackpaddown" button event method char

    Hello

    I want to do a few ob task by clicking on 'alt + down trackpad'.is it possible?

    If yes how can I handle this task. ?

    Thank you

    Naveen

    "" Hello Sir thanks to enable playback... in fact, I have two listfield in my screen .i want to alternate between two listfield using "alt + trackup and trackdown. My it does not work... I am using this code...

    package com.black.applicationloader;
    
    import java.util.Vector;
    
    import net.rim.device.api.system.Display;
    import net.rim.device.api.system.KeypadListener;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.Font;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.Keypad;
    import net.rim.device.api.ui.Manager;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.XYRect;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.ListField;
    import net.rim.device.api.ui.component.ListFieldCallback;
    import net.rim.device.api.ui.container.VerticalFieldManager;
    
    import com.black.blackinterface.BlackInterface;
    import com.black.common.BaseScreen;
    import com.black.components.CustomEditField;
    import com.black.utility.Utilities;
    
    public class BlackSecondScreen extends BaseScreen implements BlackInterface,ListFieldCallback {
         private VerticalFieldManager listFieldManager;
         private VerticalFieldManager listFieldManager_2;
         private static final String[] _elements = {"First element", "Second element", "Third element", "Fourth element", "Fifth element"};
         private Vector _listElements = new Vector(_elements.length, 1);
         int columnWidth  = Display.getWidth()/4;
         private boolean hasFocus; // =false
        private CustomEditField userEditField;
        ListField colourList_1;
        ListField colourList_2;
    
        BlackSecondScreen(){
    
            colourList_1 = new ListField(){
    
                protected boolean keyChar(char key, int status, int time) {
                    if(colourList_1 == getLeafFieldWithFocus()){
                    if(key=='t'||key=='T'){
    
                        colourList_2.setFocus();
    
                    }
                    return true;
                    }
                    else{
                        return super.keyChar(key,status,time);
    
                    }
                };
    
                protected void drawFocus(Graphics graphics, boolean on) {
    
                    hasFocus = on;
                    super.drawFocus(graphics, on);
                    hasFocus = false;
    //              XYRect rect = new XYRect();
    //               graphics.setGlobalAlpha(200);
    //              getFocusRect(rect);
    //              drawHighlightRegion(graphics,HIGHLIGHT_FOCUS,true,rect.x,rect.y,rect.width,rect.height);
                }
    
                protected boolean navigationMovement(int dx, int dy, int status, int time) {
    
                    if(dy > 0 && (status & KeypadListener.STATUS_FOUR_WAY) == KeypadListener.STATUS_FOUR_WAY && (status & KeypadListener.STATUS_ALT) == KeypadListener.STATUS_ALT)
                    {
                        // do stuff
                        colourList_2.setFocus();
                        return true; // if you want the field to consume this event
                    }
                    return super.navigationMovement(dx, dy, status, time);
    
                };
    
            };
    
            colourList_1.setCallback(this);
              int elementLength = _elements.length;
             for(int count = 0; count < elementLength; ++count)
                {
                 colourList_1.insert(count);
                    this.insert(_elements[count], count);
                }
    
             colourList_2 = new ListField(){
    
                    protected void drawFocus(Graphics graphics, boolean on) {
                        hasFocus = on;
                        super.drawFocus(graphics, on);
                        hasFocus = false;
    
                    }
    
                    protected boolean keyChar(char key, int status, int time) {
                        if(colourList_2 == getLeafFieldWithFocus()){
                        //if(key=='t'||key=='T'){
                            if(key=='t'){
                            colourList_1.setFocus();
                            colourList_1.setSelectedIndex(0);
    
                        }
                        return true;
                        }
                        else{
                            return super.keyChar(key,status,time);
    
                        }
                    }
    
                };
    
                colourList_2.setCallback(this);
    
                 for(int count = 0; count < elementLength; ++count)
                    {
                     colourList_2.insert(count);
                        this.insert(_elements[count], count);
                    }
    
             //add(colourList);
             createComponents();
             layoutComponents();
    
        }
    
        public void createComponents() {
    
            listFieldManager= new VerticalFieldManager(Manager.VERTICAL_SCROLL|Manager.HORIZONTAL_SCROLL){
                protected void sublayout(int maxWidth, int maxHeight) {
                     super.sublayout( maxWidth, 2*colourList_1.getRowHeight());
                        setExtent(maxWidth,2*colourList_1.getRowHeight()); 
    
                };
    
            };
    
            listFieldManager_2= new VerticalFieldManager(Manager.VERTICAL_SCROLL|Manager.HORIZONTAL_SCROLL){
                protected void sublayout(int maxWidth, int maxHeight) {
                     super.sublayout( maxWidth, 2*colourList_2.getRowHeight());
                        setExtent(maxWidth,2*colourList_2.getRowHeight()); 
    
                };
    
            };
    
    //      userEditField=new CustomEditField(Utilities.getAdjustedWidth(150),
    //              Utilities.getAdjustWidth(2), Manager.NO_HORIZONTAL_SCROLL
    //              | Manager.VERTICAL_SCROLL, true);
    
        }
    
        public void layoutComponents() {
            // TODO Auto-generated method stub
            listFieldManager.add(colourList_1);
    
            listFieldManager_2.add(colourList_2);
    
            listFieldManager.setMargin(0,0,40,0);
            add(listFieldManager);
            add(listFieldManager_2);
    
        }
    
        public void initializeListeners() {
            // TODO Auto-generated method stub
    
        }
    
        public void setComponentsXYMargins() {
            // TODO Auto-generated method stub
    
        }
    
        public void drawListRow(ListField listField, Graphics graphics, int index,
                int y, int width) {
            int curSelected;
                if(!hasFocus){
                if(index%2  == 0){
    
                graphics.setColor(Color.RED);
                graphics.fillRect(0, y, width, listField.getRowHeight());
                graphics.setColor(Color.WHITE); 
    
                }else{
                graphics.setColor(Color.BLACK);
                graphics.fillRect(0, y, width, listField.getRowHeight());
                }
                }
                //graphics.fillRect(0,0,width,y);
    
                int xpos = 0;int ypos = 0;
                graphics.setFont(Font.getDefault());// please set a font value
                // this is first column text
                graphics.setColor(Color.PINK);
                graphics.drawText("column1"+index,xpos,y);
                xpos +=  columnWidth;
    
                //graphics.setColor(Color.RED);
                graphics.drawText("column2",xpos,y);
    
                xpos +=  columnWidth;
                graphics.drawText("column3",xpos,y);
    
                xpos +=  columnWidth;
    
                graphics.drawText("column4",xpos,y);
    
        }
    
        public Object get(ListField listField, int index) {
            // TODO Auto-generated method stub
             return _listElements.elementAt(index);
        }
    
        public int getPreferredWidth(ListField listField) {
            // TODO Auto-generated method stub
            return Graphics.getScreenWidth();
        }
    
        public int indexOfList(ListField listField, String prefix, int start) {
            // TODO Auto-generated method stub
            return _listElements.indexOf(prefix, start);
        }
    
        public void insert(String toInsert, int index)
        {
            _listElements.insertElementAt(toInsert, index);
        }
    
         public void erase()
            {
                _listElements.removeAllElements();
            }
    
    }
    
  • How can I see what I have stored in iCloud?

    How can I see what I have saved in my different devices iCloud?

    Here's how you can visualize what you have stored.

    Manage your iCloud - Apple Support storage space

    Hope this helps, good luck to you.

  • Firefox is constantly stopping, aging, and does not when on the home page yahoo uk, Manager of the tasks is that means to stop it, no event will block

    Latest version of Firefox, keep up to date. 8.1 Windows running on del optiplex 620, 2 GB of ram, 80 GB disk partitioned with Win10 on the other. Panda free av and malwarebytes free running. Never had any problem with Win 8.1 up to now, I have returned to it because of many problems with Win 10. Did you check Event Viewer, nothing, checked for crash report, nothing. No malware not reported. Whenever the only solution is to stop Fox with the Manager of the tasks and then restart when Fox goes back to where she was.

    https://UK.Yahoo.com/ I noticed no problem in the last two sessions, perhaps the problem is resolved, will not display rear reccurrence as appropriate.

  • How to manage multiple hardware or auto select a sequence according to a condition?

    How can manage us mutiple devices to TestStand?

    I have 2 types of DMM, because some are no longer available (AG34410 which must be replaced for a 34465 has when he goes to the calibration or breaks down).

    Each DMM is structured in its own *.seq file, which includes all hardware calls.

    Example: Normally the TS developer adds a call sequence and links to 34465.seq and selects the module sub 34465 read several voltage.

    What I'm trying to do is an automatic selection for the correct DMM according to the DMM in StationGlobals:

    34410.SEQ and if he chooses the module sub 34410 read several voltage

    34465.SEQ and if he chooses the module sub 34465 read several voltage.

    All the submodules of the same 'measure' have the same settings, so the call that never would not cause any problems.

    Is this possible without having to implement a ton of if/else conditions for each type of measument or function in a DMM.seq shell?

    We are still at the beginning of a new project, I can change around a few ways to call my sequences or rename all the subsequences under the same name. LabVIEW TestStand API call might be a viable option (although I have not worked with API TS in BT yet).

    Thank you.

    So I threw this example that shows how to dynamically select what sequence of execution.  As long as they have the same prototype you should be good.

    Kind regards

  • How to increase the sampling rate in this VI?

    Hi all

    I have recently inherited this mess of a VI and can not figure out how to increase the sampling rate. I tried to change the "ms of waiting ' clock, but it does not add more data points." The main VI, as well as the Subvi, which contains a Daq Assistant to a load cell and LVDT is attached. Any ideas on how to improve the sampling without a complete overhaul would be greatly appreciated!

    Thanks in advance!

    If you are grateful, feel free to give congratulations and mark the topic as resolved.

  • IEEE1394 IMAQ, how to manage a buffer in he'S 'ring '.

    When you change the code for IMAQ HE Ring example, there doesn't seem to be a version of IEEE 1394 of the IMAQ "configure the VI buffer." The existing VI does not connect with "Configure VI acquisition IMAQ1394". Can you please advise on how to manage the buffers to allow the acquisition of images at high speed with camera IEEE1394 (Basler A602fc). Alternatively, you could point me to an example that illustrates the acquisition of images HE RING with IMAQ1394 VI. We have already purchased the NOR-IMAQ for IEEE 1394 1.5.2 cameras.

    See you soon
    Greg

    With NEITHER-IMAQ for IEEE 1394 2.0 cameras, the concept of buffer ring is supported. During the configuration, you specify the number of buffers that you want to run a loop on. By default, the acquisition of high-level allocates a ring of 3 buffers for a life-long. Using the low level get Image VI, you can ask any number of buffer during the acquisition. The driver follows a basic 0 buffer number (0, 1, 2,...) for the transferred images.

    Assuming we have a ring buffer n and is the last issue of transferred buffer I and queries the user buffer number x, we can have one of the following scenarios:

    (1) buffer should always be acquired (x > I)
    The driver will wait and buffer number return x

    (2) buffer is available (I > = x > i - n)
    The driver returns x number of buffer

    (3) buffer is overwritten (x<= i="" -="">
    The driver returns one of the following values based on the requested crushes policy:
    (a) most recent buffer - the driver will return the number of buffers I
    (b) more former buffer - the driver will return the number of buffers i - (n - 1)
    (c) fail - the driver returns an error

    This is supported on Windows and LabVIEW RT.

    Hope this information helps.

    JohannS

  • How will I know if I have all the drivers, my computer needs to work properly?

    Original title: hard drive

    How will I know if I have all the drivers, my computer needs to operate correctly

    Hi albertogon15,

    Information devices are listed in the Device Manager. If there is no fringe on any of the items in the Device Manager, it means that the device driver is working properly.
    See what is Device Manager?
    See also, get help with Device Manager errors.

    You can also check the Windows updates or visit the device/system manufacturer to see if there are updates available for the devices connected to the computer.
    See automatically get recommended drivers and updates for your hardware

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to manage data in css bar chart plugin

    Apex 4.2 running against database 11 g.  I have a CSS bar graph plug in the regions. Now, if there is no data found in a given region the region of bar chart is empty.  I want to display a message in the box indicating no data found rather than having just a blank area but I don't see how.  When I look at the plug of standard attributes the 'No data found Message attribute a' is disabled so I'm not able to check it out.

    The data source for the bar chart is a collection that is populated by calling a stored procedure that returns a sql query string.

    Any suggestions for how to manage this?

    nunyadba wrote:

    Apex 4.2 running against database 11 g.  I have a CSS bar graph plug in the regions. Now, if there is no data found in a given region the region of bar chart is empty.  I want to display a message in the box indicating no data found rather than having just a blank area but I don't see how.  When I look at the plug of standard attributes the 'No data found Message attribute a' is disabled so I'm not able to check it out.

    The data source for the bar chart is a collection that is populated by calling a stored procedure that returns a sql query string.

    Any suggestions for how to manage this?

    One way is to create shadow graphic HTML containing the "no data found" messages for each of the regions. Use Exists (SQL query returns at least one row) conditions to display the chart area when relevant data exist in the collection, and NOT Exists (SQL query returns no line) conditions to show the "no data found" region when it isn't.

    Another would be a dynamic action that verifies the existence of the graphical mark in each region and injects "no data found" messages where it does not exist.

    Change the plug-in (if allowed by the license) would be the last option.

  • Created a form of the ADF since a human task - how to get other human tasks use the same form ADF?

    We are new on the forms of the ADF and we have a simple workflow with a few different human tasks.

    The task of the initiator, I right click it and automatically generated a form of the ADF.

    The rest of the human tasks have the same payload, and I want just the other human tasks use the same ADF form I've already created. How can I do this?

    Thank you.

    Yes, there is a way to reuse the shape of the ADF and its workflow for several human tasks as long as the payload is the same.  To do this:

    1. Open the file "hwtaskflow.xml" inside your project of the ADF.  It will be difficult to read when you first open it so right mouse click the xml file-> select "reformat".
    2. Copy the 6 lines with the element with the form that you want to reuse-> pick up the 6 lines in the file under the rows that you copied.  The and elements in the text that was copied just need to be changed from the old human task name (for example, ".../MyHumanTaskOriginal") on behalf of the human recycled news of the task (for example, ".../MyHumanTaskReused").  Don't forget to leave the text in the and items of value to their original name.
    3. Redeploy the project.

    Dan

  • How to renew my subscription, I have no option to change my payment details

    How to renew my subscription, I have no option to change my payment details

    Manage your membership and your payment. Creative cloud

    https://helpx.Adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting-creative-cloud.html

Maybe you are looking for