How to run two DAQmx Read (Analog) at the same time?

I would like to measure a voltage and a current,
but the two cannot be conbined in one task.
Therefore, I had to use two DAQmx Read in the same program. But it did not run.

Multiple channel types can be combined in a single DAQmx Read. One way is to use multiple DAQ Create Channel fucntions. Look at the posting here and the second example at the link in the answer.

Similar Messages

  • How to run two versions of dreamweaver at the same time

    How to run two versions of any dreamweaver at the same time?
    There must be a way to do this.

    east99 wrote:
    > How to run two versions of any dreamweaver at the same
    time?
    > There must be a way to do this.
    Yes, there is: on two separate computers.
    You cannot run two versions of Dreamweaver simultaneously on
    the same
    computer. They can coexist side by side, but the operating
    system will
    not let you run them together.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to run two DAQmx Read (Counter in + Digital in) simultaneously?

    Hello to all, i have following issue:
    I want to acquire a digital (UART like) bus signal. For this purpose i use a DAQmx Card (PXI 6070e). I need precise time information about time lenght of 0 and 1, so i use a counter. The counter is adjust to CI Semi Period(continuous samples) -> on the edge change i'll get a new measured time value. It works perfectly, but i newer know what kind of state (0 or 1) actually belongs to current value. Of course they changing with each edge, but i need to know that exactly. So i should take a digital input which watching the current state. Unfortunately i can not synchronise two DAQmx-reads.
    Finaly i should get two values:
    time value(counter) and his state(digital in
    ) to work with them. How can i do this?
    I use LabView 7.0

    [SRQ 211371]
    This is not a trivial taks but here is one way to do what you explained with a PXI-6070E and some external circuitry:
    1. Use buffered semi period measurement to measure the width of your pulses.(Meas Buffered Semi-Period-Continuous.vi)
    2. Use a buffered continuous analog data acquisition with external scanclock (e. g. Cont Acq&Graph Voltage-Ext Clk.vi). Maybe you should use a triggered example to start the acquisition at a defined time.
    Now you could connect your signal to the ScanClock input (PFI7) of the 6070E but then you only would acquire only a sample at either the rising or the falling edge. As you need a sample at both edges you need some external circuitry that generates a short positive TTL pulse at each edge (rising and fa
    lling).
    Sorry that I can't provide a solution for this circuitry but I'm pretty sure something like this should be available as a low cost IC.
    You may want to allow your signal some settling time after the scanclock pulse has occurred. In this case simply acquire data on two AI channels. The first channel is only a dummy channel. Connect your signal to the second channel. The delay can be adjusted with the interchannel delay.
    If anybody knows a good solution for the external circuitry or if anybody has a better approach please post it here.
    Best regards,
    Jochen Klier
    NI-Germany

  • FEBA - How to post two or more transactions at the same time?

    Hi,
        one of our banks sends the statemets with many lines that belongs to the same transaction. We have to post partially one line, and afterwards the other line. Any of you know how to post two lines at the same time from the bank statement?
    Thank you in advance,
    Miguel

    Hi,
    I'm sorry for replying so late.
    The solution I reached was to change the a few things in the standard.
    Now I have a new "context menu item". I select two or more transactions and I right-click the mouse. I select that "context menu item" and the next part of the code adds the total amount of the transactions to look for the correct post for the first transaction. Once posted automatically, the next transaction is posted automatically by the system.
    I hope you understand my English. I've problem with technical FI terms.
    Here you are the code:
    First I added a new contextual menu item:
    CL_FEBAN_ALV_GRID=============CCIMP
    call method e_object->add_function
        EXPORTING
            fcode = 'BS_POST_ITEMS'
            text = text-002.
    *{ INSERT DHTK904078 1
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        call method e_object->add_function
            EXPORTING
                fcode = 'ZBS_POST_ITEMS'
                text = text-Z02.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
        call method e_object->add_function
            EXPORTING
                fcode = 'BS_KILL_ADVICE'
                text = text-004.
    CL_FEBAN_ALV_GRID=============CCIMP
    when 'BS_POST_ITEMS'.
        call method cl_feban_propagator=>raise_event
            EXPORTING
                i_event = 'POST_ITEMS'
                i_ref_to_item = l_ref_to_item.
    *{ INSERT DHTK904078 2
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        when 'ZBS_POST_ITEMS'.
            call method cl_feban_propagator=>raise_event
                EXPORTING
                    i_event = 'ZPOST_ITEMS'
                    i_ref_to_item = l_ref_to_item.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
        when 'BS_LOCK_ITEMS'.
            call method cl_feban_propagator=>raise_event
                EXPORTING
                    i_event = 'LOCK_ITEMS'
                    i_ref_to_item = l_ref_to_item.
    CL_FEBAN_PROPAGATOR===========CM001
        when 'POST_ITEMS'.
            raise event post_items
                exporting i_ref_to_item = i_ref_to_item.
    *{ INSERT DHTK904078 1
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        when 'ZPOST_ITEMS'.
            data: zvalor(1) value '' .
                export zvalor from 'X' to memory ID 'ZFEBA01'.
                raise event post_items
                    exporting i_ref_to_item = i_ref_to_item.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
        when 'LOCK_ITEMS'.
            raise event lock_items
                exporting i_ref_to_item = i_ref_to_item.
    Now, I proceed to calculate the total amount of the selected transactions to look for the correct one to post.
    LNEW_FEBAF01
    *     user parameter
            l_feban_position type c.
            field-symbols: <items> type item_tab_type.
    *{ INSERT DHTK904077 1
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        data: zvalor(1) value '',
            zkwbtr type kwbtr,
            kwb type kwbtr.
        import zvalor to zvalor from memory ID 'ZFEBA01'.
        if ( zvalor is not initial ).
            if not i_ref_to_item is initial.
                assign i_ref_to_item->* to <items>.
                loop at <items> into h_item.
                    select single kwbtr
                        into kwb
                        from febep
                        where kukey = h_item-kukey and
                            esnum = h_item-esnum.
                            zkwbtr = zkwbtr + kwb.
                endloop.
            endif.
            export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
        endif.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
        refresh g_picked_items.
        if not i_ref_to_item is initial.
            assign i_ref_to_item->* to <items>.
            loop at <items> into h_item.
                move-corresponding h_item to h_picked_items.
                append h_picked_items to g_picked_items.
            endloop.
        endif.
        submit rfebbu00 and return
            user sy-uname
            with anwnd = r_doc->*-anwnd
            with s_kukey in s_kukey
            with s_esnum in s_esnum
            with buber = g_posting_area
            with mregel = '1'
            with function = 'C'
            with mode = g_mode
            with p_bupro = g_bupro.
    *{ INSERT DHTK904077 2
    *--> Miguel Estu00E9vez - 17/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        if ( zkwbtr is not initial ).
            select single kwbtr
                into kwb
                from febep
                where kukey = h_kukey-low and
                    esnum = h_esnum-low.
                    zkwbtr = zkwbtr - kwb.
            export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
        endif.
    *<-- Miguel Estu00E9vez - 17/06/2008
    *} INSERT
        refresh s_kukey.
        refresh s_esnum.
        clear h_kukey.
        clear h_esnum.
    endloop. "loop over all picked items
    call function 'CUSTOMIZED_MESSAGE'
        EXPORTING
            i_arbgb = 'NEW_FEBA'
            i_dtype = '-'
            i_msgnr = '110'.
    RFEBBU00
    * original transaction currency provided and posting area = 2.
            ftclear-selvon = febep-fwbtr. "INSERT - mpEURO
        ENDIF. "INSERT - mpEURO
        CONDENSE ftclear-selvon NO-GAPS.
    *{ INSERT DHTK903977 1
    *--> Miguel Estu00E9vez - 16/06/2008
    * RIPI 24/04/2008 - Conciliaciones
    * Permitir conciliar mu00E1s de un apunte a la vez
        data: zkwbtr type kwbtr.
        import zkwbtr to zkwbtr from memory ID 'ZKWBTR'.
        if ( zkwbtr is not initial ).
            ftclear-selvon = zkwbtr.
            clear zkwbtr.
        endif.
    *<-- Miguel Estu00E9vez - 16/06/2008
    *} INSERT
    APPEND ftclear.
    ** Begin of comment C5053248
    * perform druck_buzei_ftclear using ftclear-agkon.

  • How to start two or more tasks at the same time?

    Hi all,
      I have few tasks setup to send analog and digital output to different channel with buffer and given sampling rate. I need to precisely control the timing of samples output to each channel. But if I start the task in labwindows
        DAQmxStartTask(taskHandle1)
        DAQmxStartTask(taskHandle2)
        DAQmxStartTask(taskHandle3)
    they actually not start at the same time since they are exectued in sequence. I wonder how much time delay will be if I start each task in sequence. Also, is it possible to have 2 or more tasks started at the same time?
    p.s. I think it will be easier if I could bind different channels to a single virtual channel but I don't think it is possible to create a signle virtual channel with analog channel and digitial channel.

    RobertoBozzolo wrote:
    I had success in doing something similar on the input side by sharing the same sample clock across the tasks with:
    DAQmxCfgSampClkTiming (DigitalTaskHandle, "/Dev1/ai/SampleClock", 1000, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 1000);
    In my application I had the power to have the same acquisition speed on all tasks, so that the sample clock could be same on all of them.
    The conceptual framework is this one (pay attention to the step order):
    Setup your AO task
    Setup your DO task
    Set the DO task to share the AO sample clock with the instruction given above
    Start the DO task (IMPORTANT: it must precede the AO task start, so that DO task is started but does not generate samples)
    Start the AO task
    If you have different sample speed on the tasks, I suppose an alternative is to use a start trigger sharing some digital signal among them. I have seen examples that use a separate counter output as a start trigger.
    Thanks a lot. It gives me a good information, I think that will help. I am encountering another sitution, if task1 is analog output with continuous samples with rate 100000 samples/second and task2 and task3 are a single digital sample (i.e. write only 1 sample to one digital line). In task1, I write continuous samples and there will be a spike (of 2.2V) at the time 1.2ms after the task started. And I want to write to the digital channels (task2 and task3) at 0.2ms before the spike was set in task1. In this case, there is only one sample written to DO task, so how does it work to use the sample clock source?
    In your last suggestion, we could use tirgger but how does it help? Is there any example I can follow? Thanks.

  • I seem to be running two versions of firefox at the same time help!

    I seem to be running an older version and a new version of firefox at the same time. I run the new version from startup (it forgets previous tabs from last session) and this sadly does not let me use back and forward arrow buttons so its a bit useless. Strangely when I pop an email window up, the older version of firefox appears with the last few tabs I had browsed.
    disabling plugins stops browser starting in new version and back and forward arrows work ok.
    any help much appreciated!

    You can install them both but there are a few steps to take.
    When you install Firefox 4 use the custom installation option and choose a different location to install Firefox.
    In order to use both versions, you need to create a new profile for Firefox 4 (Firefox stores user data in the profile). Using the same profile with different versions can cause problems. Once you create a new profile you can copy certain data such as bookmarks and passwords between them. You can also use Firefox Sync to keep the profiles synchronized. Finally, you will need to set up shortcuts to launch the correct profile for each version.
    The following links show how to do this:
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    * https://addons.mozilla.org/firefox/addon/firefox-sync (only needed for Firefox 3.6, it is built into Firefox 4)

  • Can I run two copies of FrameMaker at the same time?

    I am trying to learn Structured FrameMaker. Is it possible/legal/safe to start two copies of FrameMaker on my PC at the same time?
    Specifically I want to have one copy open in Structured FM to experiment and the other copy in Unstructured to take notes on what I am learning. I am trying to see if I understand the concepts by writing up a tutorial but I do not want to be locked into structured mode when do not have a template which covers all of my needs ( I am still figuring them out) and I do not yet really understand what the structured templates do.
    Will the documents save by the rules of the window they are in? What other problems will/could I encounter?
    Thanks,
    Marjorie

    Marjorie,<p>If your machine has sufficient disk space and memory, yes, you can run multiple copies of FrameMaker at once. To run the different user interfaces at the same time, you'd have to start both copies. Then, change the user interface in one copy. Since the change doesn't take affect until you restart FrameMaker, shut down that copy and start a new one (leaving the first user interface in effect in the other original copy.<p>All that said, I suspect you can do the testing you want in one copy of FrameMaker, using the Structured FrameMaker user interface. The structured user interface simply means you can work with structured documents; you can also work with unstructured documents. Each document is independently structured or unstructured; in fact, each flow is independently structured or unstructured. You might therefore consider using the structured user interface and opening one structured and one unstructured document in a single copy of FrameMaker. Or create a single document with side-by-side flows and put structured content in one and unstructured content in the other.<p>Just remember that some of the dialog boxes are slightly different in the two user interfaces. For example, the marker, anchored frame, insert table, and cross-reference dialog boxes all let you select an element tag. Since there are no element tags in an unstructured flow, the element tag text boxes in these dialog boxes shows <Unstructured>. If you are willing to ignore these differences, I recommend you do your experimentation in a single copy of FrameMaker.<p>--Lynne

  • Running two instances of kopete at the same time?

    I have 2 MSN Messenger accounts and want to login to both of them at the same time.
    Obviously running them both from the my single user doesn't work. and I don't want to run one of them as root. (altho it does work.) I also tried creating another user just for this purpose and running kopete via 'su user2', and it doesn't work. I also tried gksu and no luck.
    any suggestions?

    well it is possible, and it is the best solution, but as a side note, to get X applications running as another user you need to:
    userthatisrrunningX@myhost ~ xhost +localhost
    otheruser@myhost ~ kopete
    if you want to run something as root the prefered way to do this in kde is to use kdesu..

  • Can I run two instances of mail at the same time?

    To avoid accidentally sending an email from the wrong account, I want to use an email program (that can access an Exchange account) "dedicated" to just that account. To do this, I think have to use either Mail or Outlook. I don't have Outlook, and use Mail for my other accounts.
    So, can I duplicate the Mail program (on another of the internal drives if that would help) and use it exclusively for this one account or would it screw everything up?

    In that case the only other way I know you can do it is to set up an alternative user account on the mac, which will give you two separate instances of Mail (the one you already have and a new one in the new user account).
    To do that, go here
     > System Preferences... > Users & Groups
    and create a new user by first clicking the padlock at the bottom, entering your password, and then clicking the '+' button just above the padlock. Fill out the account details and enable 'fast switching' in the options so you can easily switch between the two mac user accounts.
    Log in to the new user's account and create the work email account in Mail.

  • How to run two WebLogic server instances on the same machine

    The setup is to run server instance A with all EJBs and server instance
    B with all servlets.
    I edited the weblogic.properties under myserver to include all EJBs and
    create server2 under \weblogic parallel to myserver and put a new
    weblogic.properties under server2 that has all the servlets aliases.
    Is this the right way?
    two server ran but I cannot hit the servlet.

    The setup is to run server instance A with all EJBs and server instance
    B with all servlets.
    I edited the weblogic.properties under myserver to include all EJBs and
    create server2 under \weblogic parallel to myserver and put a new
    weblogic.properties under server2 that has all the servlets aliases.
    Is this the right way?
    two server ran but I cannot hit the servlet.

  • How can i run two iphone 5 sims at the same time?

    I have 2 iphone 5 sim cards, one for business and one personal. Is there a way to run both on one phone? also be able to accept calls from either sim?
    Thanks.
    Tim

    Does anyone have any experience with the Magic-sim elite? It's a strip that fits inside any iphone case as far as I can see. £24.95 in the UK.
    http://www.magic-sim.com/product/id/15/MAGICSIM_ELITE_-_iPHONE_5_DUAL_SIM_ADAPTE R.html

  • How do you keep two users logged in at the same time?

    How do I keep two users logged in at the same time to be able to access home sharing?

    Fast User Switching in Users & Groups or Accounts preferences in Login Options.

  • Can I connect my Mac to two separate wireless networks at the same time?

    Need some assistance with some advanced wireless networking please....
    Upstairs I have a D-link wireless router connected to the internet and wired to a couple of PCs. Downstairs I have a minimac linked to my hifi via an airport express. I have bought a D-Link DWL-G122 usb wifi dongle.
    So I want the mini mac to connect to the airport express on one wireless network (strong signal) and to be able to connect to the internet on another network (weak signal) via the usb wifi /router.
    But the airport software and the d-link driver seem to conflict and both try to take control of the two wireless devices.
    Is there any way round this to be able to run one mac with two wireless network devices at the same time?
    Thanks

    While those with more experience may be able to correct me, I'm pretty sure that you can only connect to one wireless network at a time with your Mac Mini, unless D-Link provides their own proprietary software that bypasses the computer's Airport settings.
    Using the AirPort hardware you can only connect to a single wireless network at any given time. However in this situation the 2 attempted connections are via USB and AirPort. Therefore this requires nothing special of the AirPort drivers or settings.
    It does require that the Mac OS and applications have the capability to use either network connection (USB or AirPort) depending on what data they are trying to get. In general I understand how it is theoretically possible but I have no idea if you can configure OS X to do it.
    ...I believe one of the options when setting up the Airport Extreme Base Station is that you can extend a wireless network already in place.
    True but the D-Link is not compatible with Apple's WDS therefore this is not possible in this situation.
    If you have a newer Airport Extreme Base Station with a USB port on it...
    FYI, every AirPort Extreme base station (AEBS) has a USB port.
    BTW, birky has indicated that he/she is using an AirPort Express (AX) not an AEBS.

  • How to change keyword in many pictures at the same time?

    I gave a big series of pictures the wrong keywords. Now, I can't figure out how to change them (besides one by one...).
    If I select e.g. 10 pictures in Library-mode, how to change keywords on them all at the same time?

    Make sure you are in Grid View, primary monitor (if you have two), select 10 pictures and type (or delete) the keywords in the Keywording panel in the left upper corner.
    Make sure the Metadata->Show Metadata for Target Photo Only is unchecked in the menus. Otherwise your edits will only apply to the primary selected (most selected) image.

  • One computer, but two user-accounts active, at the same time, in 10.6?

    I'm contemplating this setup: A current generation MacPro (running SL), with two monitors. Can I have two separate user-accounts (the Admin account and one additional user-account) active and running simultaneously from the MacPro, but, of course, displayed separately to the monitor corresponding with that user-account?
    Thank you!

    you can have two accounts logged in at the same time via fast user switching but there is no way to display them at the same time on different monitors.

Maybe you are looking for

  • HP Officejet 6500 E709n all-in-one: how to print CD/DVD labels, on Mountain Lion OS?

    My printer is an HP Officejet 6500 E709n all-in-one: how do I print CD/DVD labels, using MACBook Pro & Mountain Lion OS? Thanks, Jim [Edited for Personal Information]

  • How do you debug your unit tests?

    Hey folks, I'm obviously doing something wrong that I can't figure out. I've tried following Chris Hanson's instructions that he put on LJ. No matter what I do, I can't get the debugger to breakpoint in a unit test, no matter whether I put the breakp

  • Notification for Budget approval

    Dear Experts, Is it possible to trigger notifications for budget approvals, I mean, as and when user allocates budget in CJ 30 notification should go to the responsible person (Manager, CFO or MD) based on the budget amount? i.e.,  If the amount is X

  • LCD Blotchy Light coming in from top

    Ok this is my third iPhone. The first two had major problems after updates (unfixable). I noticed my new iPhone had little blotches at the top of the screen. It looks like little rays of light are coming in the top. Almost like the backlight is at di

  • Would you return your iPhone 4 to get the iPhone 4.1 on September ?

    Hi all, The question is simple : would you return your current iPhone 4 to get the iPhone 4.1 on September ? I had to give the revised iPhone 4 a name , as Mr.Jobs did not deny the hardware revision of the phone in the Q&A session of today's presenta