Cannot combine AI channels into a four-channel from two myDAQs

Hello,
I used MAX explorer to add two analog input(AI) channels of myDAQ into a task. It works fine for this.
For now I need a four-channel's analog input application, so I get two myDAQs for that. I add both of two AI channels of the two myDAQs into a task but always get the message:
An exception occurred within the external code call by a Call ... VI "BlockState.vi:2" was stopped at node "" at a call to "DAQmxAssistant_DAQmx Control Task.vi:1"
Showed as below:
The pic below shows two myDAQ are used simultaneously for a four-channel AI application.
Could you please help or give some hint? The situation is quite easy to reproduced. Just get two myDAQs and add both of its two AI channels of each myDAQ to combine four channels into MAX explorer's task.
Thank you!
LKKSPP
Solved!
Go to Solution.

Hello cpan,
Thanks the new version of DAQmx driver. It responses more reasonable as the picture shown below.
It probably means that a task can only contain the channels of one myDAQ;  channels in different myDAQs are not allowed to combine into one task!  
I guess this is a limitation for student version of myDAQ, though i hope NI can get rid of this restriction.
For myDAQ, could you confirm the limit as I described above?
Thanks for the help anyway.

Similar Messages

  • How to fetch the data into one out parameter from two different queries

    Hi,
    I have an a problem how to implement condition in above procedure,and scenario is
    i have to get the output into one out parameter from two queries.i.e if one query data is null
    then i have to pick out data from another query into same out parameter.
    CREATE OR REPLACE PROCEDURE GET_POLICIESMAP_BASEDON_GHPLID(I_COMPANYID IN NUMBER,
    I_CARDID IN VARCHAR2,
    PR_RESULTSET OUT SYS_REFCURSOR) IS
    /* LOC_INSUREDID VARCHAR2(200);
    LOC_RELATIONCODE VARCHAR2(200);
    LOC_CURRENTPOLICYID VARCHAR2(4000);*/
    BEGIN
    OPEN PR_RESULTSET FOR
    WITH A AS
    (SELECT DISTINCT PM.MAINPOLICYID MAINPOLICYID,
    id INSUREDID,
    RELATIONCODE,
    CURRENTPOLICYID
    from INSUREDPERSONS IP
    LEFT OUTER JOIN POLICIES_RULES_MAPPING PM
    ON PM.POLICYID = IP.Currentpolicyid
    where EIN IN (SELECT EIN
    FROM INSUREDPERSONS ipp
    JOIN VW_INSUREDINFO vw
    ON IPP.ID = vw.insuredid
    and vw.cardid = I_CARDID)
    AND IP.CURRENTPOLICYID in
    (SELECT ID
    from policies
    where companyid = I_COMPANYID
    and dead = 0
    AND POLICYTO > SYSDATE - 1))
    SELECT INSUREDID, RELATIONCODE, CURRENTPOLICYID
    FROM A
    WHERE RELATIONCODE = 0
    AND (A.MAINPOLICYID is null or
    RELATIONCODE = 0 AND CURRENTPOLICYID = MAINPOLICYID)
    UNION
    SELECT INSUREDID, RELATIONCODE, CURRENTPOLICYID
    FROM A
    WHERE RELATIONCODE > 0;
    /* HERE I NEED TO GET THE DATA FROM THIS BELOW QUERY INTO SAME OUT PARAMETER
    WHEN ABOVE QUERY DATA CONTAINS NULLS */
    /* IF PR_RESULTSET IS NULL THEN*/
    OPEN PR_RESULTSET FOR
    WITH A AS
    (SELECT DISTINCT PM.MAINPOLICYID MAINPOLICYID,
    id INSUREDID,
    RELATIONCODE,
    CURRENTPOLICYID
    from INSUREDPERSONS IP
    LEFT OUTER JOIN POLICIES_RULES_MAPPING PM
    ON PM.POLICYID = IP.Currentpolicyid
    where FAMILYID IN (SELECT FAMILYID
    FROM INSUREDPERSONS ipp
    JOIN VW_INSUREDINFO vw
    ON IPP.ID = vw.insuredid
    and vw.cardid = I_CARDID)
    AND IP.CURRENTPOLICYID in
    (SELECT ID
    from policies
    where companyid = I_COMPANYID
    and dead = 0
    AND POLICYTO > SYSDATE - 1))
    SELECT INSUREDID, RELATIONCODE, CURRENTPOLICYID
    FROM A
    WHERE RELATIONCODE = 0
    AND (A.MAINPOLICYID is null or
    RELATIONCODE = 0 AND CURRENTPOLICYID = MAINPOLICYID)
    UNION
    SELECT INSUREDID, RELATIONCODE, CURRENTPOLICYID
    FROM A
    WHERE RELATIONCODE > 0;
    /* END IF;*/
    END GET_POLICIESMAP_BASEDON_GHPLID;
    Thanks in Advance,
    vvr.

    SELECT DISTINCT PM.MAINPOLICYID MAINPOLICYID,
                           id              INSUREDID,
                           RELATIONCODE,
                           CURRENTPOLICYID
             from INSUREDPERSONS IP
             LEFT OUTER JOIN POLICIES_RULES_MAPPING PM
               ON PM.POLICYID = IP.Currentpolicyid
            where EIN IN (SELECT EIN
                            FROM INSUREDPERSONS ipp
                            JOIN VW_INSUREDINFO vw
                              ON IPP.ID = vw.insuredid
                             and vw.cardid = I_CARDID)In this code
    where EINEIN is a column in INSUREDPERSONS?
    and in the sub query below
    (SELECT EIN
                            FROM INSUREDPERSONS ipp
                            JOIN VW_INSUREDINFO vw
                              ON IPP.ID = vw.insuredid
                             and vw.cardid = I_CARDID)EIN belongs to INSUREDPERSONS or VW_INSUREDINFO?
    Please use Alias as we dont know your table structure.

  • How to combine  two user prompts into 1 single prompt from two Webi Queries

    Hi All,
    I developed a single webi report from two different queries on top of 2 BW OLAP universe .
    Here I have one user input prompt for each query so I want to combine them into one single user input promt which  should pass the user input value to both the Webi queries feeding data to the  single webi report.
    I found that the webi doc has auto checked merge dimensions enabled but it is not providing combined resluts from both the queries .
    Any inputs are greatlt appreciated.
    Thanks

    Stratos
    Firstly ,I appreciate your responses for my two questions.
    Both the prompts I am using are from the masterdata and they are similar.data types.I think the transactional data is not available in BW for one of the prompt ,hence I am not getting consistent data.
    Anyway will do further investigation in finding similarities and let you know.
    Thanks a lot

  • Move channel? replace colour channel by other channel?

    —actually a double question, two topics closely related. In an rgb image, I need to shift all pixels of one channel (as I would move an entire layer) using the move tool (selecting the channel in the channel panel). Which is impossible. (First two questions: why is this impossible, and how can I make it possible?). And as a workaround, I thought I could duplicate the channel, move its content (which is possible), and use it to replace the original one (calling the new one like the old one, of course). But no! Can't do that either. If I do, instead of the channels RGB, Red, Green, Blue, Red copy, I get Magenta, Yellow, Red. I don't really understand, and really don't find anything on it.
    I'd be grateful for any source or even explanation.

    You should be able to move channels if the image is flattened.
    Even without flattening the image you should be able to copy and paste
    from a duplicated or new channel into an existing channel.
    MTSTUNER

  • Premier Pro C.C.2014 combining separate AVCHD audio channels into one?

    I am having an issue when it comes to working with AVCHD audio in P.P.C.C. 2014. I have gone through and done the proper importing of the video multiple times through the media browser.
    But every time I put a clip into the timeline, it will put my channel 1 and channel 2 audio on the same audio channel. It's as though it isn't even reading the separate audio channels.
    I spent two hours on chat with Adobe tech support to no avail. He said that Adobe did support AVCHD files, but that I should try to record my audio on a separate external device. That obviously is not going to happen nor is it correct, as the camera has two XLR audio inputs, so there are two different audio channels.
    Has anyone had to deal with this issue and if so, are there any resolutions?

    i haven't played with any footage like this to be sure the best way to do this... however the default sequence is set for stereo, as in two channels (left/right). if you have more than that, say 3 or 4 channels then you may need to create a sequence using multichanel in order to have global controls thru the mixer panel, to disable channels 1/2 and use only 3/4.  it may be possible to highlight all your clips in the timeline, right click and choose the "audio channels" option to switch them to channel 3/4.  if its two recordings into two channels, i think the "audio channels" will be the way to go. "audio channels" option is available in the project bin as well, under modify.
    The Video Road – Multichannel Audio in Premiere Pro

  • Four channel input only seeing one input in the quadrant graph

    I have the waveform chart working so that when there are four inputs you see four seperate outputs, but am unsure why the second graph which is supposed to seperate the four inputs into four seperate quadrants is not doing so because both graphs are connected to the same inputs. Any suggestions how to fix this problem?
    Attachments:
    Cont_Acq_to_2-25.vi ‏148 KB
    Sub2-26.vi ‏30 KB

    Hi,
    It looks to me like you want to display four channels on a quadrant separated plot. The reason that there is only one output on the manually created chart is because the input array has been resized to be a 1x1 array. The indexed arrays that you create from the resized array end up just being copies of the resized array.
    I recommend trying to index the array without resizing and plotting the indexed values. I'm not sure if the manually created chart will actually display four outputs, so I recommend plotting each of the channels on their own and then trying to combine them onto one chart.
    Hope this helps!
    Marcus G.
    National Instruments

  • 4 audio channels into two

    I have footage with 4 audio channels of a presenter giving a talk. Channels 1&3 and 2&4 appear to be from the same or simliar sources. I am not sure whether the paired sources are each from a single mic with different levels or separate mics. Can you advise the best way to combine these to get two channels of mono that could be balanced on the timeline to provide a stereo output.

    Thanks Jim,
    That's helpful, but it raises more issues. To try and see where this all
    came from, I just did a test with my Sony PMW200. The two onboard mics were
    switched off and separate mics attached to Ch1 and Ch2. Bringing in the MXF
    files straight into Ppr results in 8 channels on the timeline. CH1 and Ch3
    appear to be replicated as do CH2 and CH4. The other four channels are
    blank. Sony assures me that the settings are correct on the PMW200 to
    achieve two mono channels on the external inputs only. What am I doing
    wrong?

  • Can't separate audio channels into tracks

    I have four channel audio that was recorded for a short film - a wireless lav for each of the two actors, a boom, and an empty channel. I have it setup as four mono and can tick the box that turns a channel on or off but I am unable to separate this into individual tracks in order to edit their levels individually or export for my sound editor.
    The sound was synced in FCP X to the video for each clip, so what I have tried is selecting "break apart clip items" for a clip, which breaks the four channel audio out into one dual stereo track. Whether I change this to four mono again or not the end result is the same - I select it and choose "break apart clip items" again, at which point then I get this:
    Every time. Three tracks, one of which is positioned ahead of the other two and goes on for what would be the total duration of the take. If you click any of these tracks the Channel Configuration is grey and says "Audio Channel Configuration is unavailable for the selected clips". If you solo any of the clips it sounds like it's just a mixed version of the four original channels.
    I've tried going into the timeline of a synced clip and breaking apart in there but I get the same result as above.
    I need to be able to access, edit, and export these channels as individual tracks. If all I can get is a premixed version of the four tracks then how am I supposed to do a sound edit and mix?
    Any advice would be greatly appreciated. Thank you.

    I have tried both copying the tracks to a new sequence and also tried the Preferences Managers tool (thanks for that - great tool!). Still no luck. Any other suggestions?
    I've attached a screenshot in case there is something obvious that I'm missing.

  • Auto Setup a four channel oscilloscope using two NI 5112 boards

    I have two NI 5112 boards and want to design a four channel oscilloscope supporting auto setup.
    I refer to the "niScope EX Getting Started.vi". I have studied the "niScope Initialize" and "niScope Auto Setup" in the "NI SCOPE VI Reference Help".
    The "niScope Auto Setup" generates no trigger output. Would it still be possible to auto setup a four channel synchronized display using two NI 5112 boards?
    How can I using property nodes or by other means find out:
    1. If there is a signal present on ch0 and what vertical range "niScope Auto Setup" has setup?
    2. If there is a signal present on ch1 and what vertical range "niScope Auto Setup" has setup?
    3. If there is no signal on a certain channel?
    I
    intend to use and modify the �niScope EX 5112 Synchronization.vi�

    There are no NI-SCOPE functions to automatically do an autosetup on two synchronized 5112s. However, you can use niScope Auto Setup.vi on each of the 5112s individually, then reset the slave trigger parameters back to digital with the proper source. The other synch parameters (clock out/in, synch pulse, trigger out) should not be effected by the auto setup.
    If the autosetup routine cannot find a signal on either channel, it will return a warning. If autosetup cannot detect a signal on a particular channel, it will set the lowest possible vertical range. To find out if there is a signal on a particular channel, take a short data set and look at it. NI-SCOPE does not provide a way to get this information any other way. If you know your signals wi
    ll always produce a range greater than the smallest range of the 5112, you can use the vertical range as the way of telling that no signal was detected.
    You can query almost any current parameter from the driver using property nodes. The vertical range is channel specific, so first set the Active Channel, then query for Vertical->Vertical Range. A word of warning when querying parameters. NI-SCOPE is IVI compliant, so the values you get from querying the property nodes are based on the IVI specification, not the NI-SCOPE LabVIEW API. Sources will always be strings and some properties have the same format, but different mappings. For example, the trigger slope in the LabVIEW API is mapped 0-positive, 1-negative. If queried from the property node, 0 is negative and 1 is positive due to the IVI spec. There are not many of these. You can easily find them by looking in the block diagram of the set VIs for look-up tables (array constants).
    Good luck! If you
    still need more help, post a reply
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Reg:Getting error text from a channel into a file or into a variable

    Hi,
    Can we get the error text such as u201Cjava.lang.NegativeArraySizeExceptionu201D  from a communication channel into a variable or in the form of an xml message so that based on kind of error further processing can be done.
    Regards,
    Rahul

    You can decide further processing based on the data available in the mapping. If the value comes in the source field for a list element as you expected do UDF and return error as string and decide the mapping as per business need. I talk about something like enhanced interface determination. That's one way. Reading the error message from the communication channel and decide does not seem to be better option.

  • How to copy header items and paste it into a new channel

    Hi everybody,
    i'm trying to customize my tasks with DIAdem and got some big problem. I have a channel table in VIEW with 295 columns and have added a new column.In this column i want to write all the Header Items i've got.
    I've created a new channel with:
    Call ChnAlloc("Betriebsdaten_akt_Monat", 295, 1,DataTypeString,"Text")
    Call Zusfassg.Columns.Add(296)
    Then I use this command to read the header items:
    Set MyHeaders = View.ActiveSheet.ActiveArea.DisplayObj.HeaderItems
    But how could i now paste all these items into the new column i've created?
    Thanks in advance for your help.
    Kind regards
    Patrick
    Patrick Etoumann

    Hello Patrick,
    to be honest, I did not completely understand what you are trying to do - so if the answer does not fit 100%, please give me some more information about your task.
    Within the DIAdem Help (topic: Object HeaderItem) you can find this short script:
    Set oMyHeaders = View.ActiveSheet.ActiveArea.DisplayObj.HeaderItems
      For Each oMyHeaderItem in oMyHeaders
      Call MsgBoxDisp(oMyHeaderItem.Name)
    Next
    It calls a messagebox for each configured headeritem. If you want to write the titles of these items into a new channel you can use the ChT() variable. Specify the row and a textchannel as parameters of this function.
    But because you created a textchannels with a length that equals the numlber of displayed channels i think you rather want to copy the content of a specific header property to the rows of that column. In this case it might be most convenient to program a for loop and use the loop variable to reference the individual channels. With the command ChnPropGet(), the channel number and the property name you can read the value of a property.  Even here, use ChT() to store the data into the new channel.
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • In GarageBand how can I record a mono source into both stereo channels?

    I am working on a project that has only 1 track (Casio keyboard plugged into my Mac's audio input). This obviously, results in a mono recording using the left channel only. Is there any way to copy that track into the right channel, so at least the recording sounds balanced? Right now it is very heavy on the left, with a little sound leakage into the right channel. Adjusting the pan position of the track doesn't seem to help. Anyone have any ideas?

    If it is an head phone output it should be a sterio output.
    (You can verity it with headphone)
    But your guit. jack is a mono cable. ( 1/4" unbalance I think)
    You would need and 1/4 balanced cable and be sure that your 1/8 adapter is
    sterio. (they usually are, but checking alwas good)
    Your could get an 1/4 sterio to 1/8 sterio adapter plug into your keyboard output
    ane have an 1/8 cable from that to your mac.
    Or anything else it is basicly a cable thing you have to work out.

  • Similar channel into single channel

    Dear All,
    Is there any way to merge the multiple similar channel to single channel without flattening layers.
    If pantone reflex blue 3 times is there means i need to merge it into single reflex blue channel.
    Pls help..
    Thank you,
    Joe

    Yes spot channel only and in Same document itself.
    And the above script need to run in Extend tool script?. Coz by this script there is no changes happening.
    By using Apply image can merge only two channels at a time. And after merged into a single channel source channel also remains.
    For ex,  Pantone Reflex Blue 1
          Pantone Reflex Blue 2
    Now i need to merge into 1. so after Merging by using Apply image
    Pantone Reflex Blue 1 2
    Pantone Reflex Blue 2 (But this is to be automatically deleted after merging, which is not possible by using Apply image)
    By using the script this needs to be recover
    1) In channel options
    Color indicates - Spot Color
    Color - Reflex Blue
    Solidity - 0%
    In same way i have taken the separation in different area of my image with same spot color.
    2) If process color are taken as spot channel that also need to merge with process channel (CMYK)
    Color indicates - Spot color
    Color - C100%
    Solidity - 0%
    If this is option selected in this channel to be merge with Cyan process color channel.
    By using Apply image option i used to give Multiply only and Opacity to 100%. Same need to apply this script. Pls help..
    Thank you,
    Joe

  • Import QuickTime with Alpha channel into Flash CS3

    Is it possible to import a QuickTime movie with alpha channel into an FLA and have the FLA recognize the Alpha channel? When I've done this, it just shows opaque black instead of an alpha channel. I need that black to be transparent so I can see the layers below the video layer.
    Thanks in advance for any help.

    I don't know the answer to your question.
    Do you have a video player where you can verify that the alpha channel in the video is displaying as you expect?.... that is, the background is transparent?
    I have used flv files with alpha and a NetStream vid player to overlay Flash video on a Web page.... but not directly in the timeline.:
    http://www.mrfilmbiz.com/
    the walkon... could have had other action (like Flash artwork) going on in the background... but that may not really be what you are looking for.
    But lacking any other solutions, you could have your alpha channel vid file playing in one Flash file over the top of a second Flash file doing the artwork stuff.
    Adninjastrator

  • Embedding youtube channel into muse

    hello,
    I know how to embed a YouTube video into muse.
    Is there a way I can embed the channel so it can automatically show the most recent video that has been posted.
    Is this possible to do?
    Thanks Ben.

    Hi Ben
    You can try the steps shown here :
    http://stackoverflow.com/questions/9209217/how-to-embed-a-youtube-channel-into-a-webpage
    https://www.youtube.com/watch?v=GwuJRHMfGCM
    Thanks,
    Sanjit

Maybe you are looking for

  • Has anyone had a problem with the calendar being one day off this year

    the birthdays in my contacts list is shown in my calendar.  However, they are showing up on the calendar one day earlier than the actual birthday.  I assume it's because of leap year.  I'm surprised that I haven't heard of a fix for this.  Thoughts?

  • Automatic Settlement for Prod.orders & Product Cost Collectors.

    Dear all, Please help me how to carryout the Automatic settlement of Production orders & Product Cost collectors on every month last working day mid night. Please tell me how to schedule this as an automatic scheduled job. This program is not been al

  • Aperture as a Video Manager

    I realize Aperture was designed primarily to archive photos, but how well does it too with videos. I have thousand of video clips. Since I am very familiar with Aperture and just upgraded to Aperture 3, it would be nice if I could use it too manage a

  • Controlling the ouput of my parallel port to control a simple LED display

    I am trying to produce a running light (using 8 LEDs) from my parallel port. How should I start if I want to program using Java. Can I anyone give me a simple program to start with?

  • Tranfering programs from old mac

    I am soon getting a new Mac Pro at work. Upgrading from a 7 year old G4. I currently run Photoshop 7.0 on the old one as well as many other programs. Can I just tranfer the programs form the old mac to the new? Or do they all have to be installed on