Could ONE task include channels of MULTIPLE sorts?

There are two sorts of singnels: current and temperature. I want to know that if I can collect them in a task. I am using CVI to programme. Can I use DAQmxCreateAICurrentChan() and DAQmxCreateAIThrmcplChan() in one task?
Thanks!

Yes. You can mix channels of mutliple sorts in a task as long as they are all the same I/O type, such as Analog Input (AI).

Similar Messages

  • How do I use two DAQ cards in one Labview code? Current I'm getting error " error 200558 occurred at DAQmx Create Channel.vi. One task cann't contain multiple independent devices". Can someone help me?

    The two DAQ cards are NI PCI-6070E & NI PCI-6052E. The Labview I'm using is labview 7 Express and the Window system is Window XP. I'm using NI SCXI-1000 chasis and SCXI-1102 & 1102B two modules plus a feedthrough SCXI-1180. 1102 is connected through SCXI-1349 cable to DAQ card 6052E while 1102B is connected through SCXI-1349 cable to DAQ card 6070E. SCXI-1180 is connected to 6070E through SCXI-1349 adaptor on the back of 1102B.

    Sarah, thank you for replying my question. It seems that I'm making progress everyday (smile). I'm able to run the test using both daq cards in my code now. But as I'm moving forward, I'm getting new questions too. How do I use one STOP button to control both tasks and how can I save data into one single file?
    I attached my code here hoping you can get the specifics on my application by looking at the code. Thanks very much!
    Thanks.
    Attachments:
    DAQmx_Task_Example_plus_voltage_2.vi ‏416 KB

  • Reading multiple channels in one task

    Hi i am trying to read three voltage inputs in one task. I have configured the task and used generate code to get the example. But i am now getting the data from all three channels in one waveform, but i would like to work independantly on the three channels. What should i do.

    Hi vamy,
    If you read all channels with AI Read, it should return an array of waveforms (not just a single waveform). You can use "Index Array" to get the waveform from each individual channel, or use "Index Waveform Array", which is basically the same operation.
    Dan

  • One task control multiple DAQ modules

    Is it possible to have one task control 2 or 3 DAQ modules? I do not seem to have luck in doing so.
    Also, for a digital output NI device that sources voltage, if I hook up 10v to it and the module has 10 channels, how on earth are the 10 channels each able to source 10V, when I only supply one 10v power supply.
    Does it just send extremely small amounts of current per channel versus sending a decent amount of current per channel if I just had one output on?

    Hey all,
    This is a crosspost, I posted somewhere else after posting this post, just because I did not know whether I posted in the right place, here is the link to the other in case anyone else comes across this problem: http://forums.ni.com/t5/Multifunction-DAQ/one-task-control-multiple-DAQ-modules/td-p/3170766 Sorry about that.
    Anyways, I have 
    NI 9401, 
    NI 9403,
    NI 9474,
    NI 9375,
    I am using a 
    NI cDAQ-9184 chassis
    I believe these are all compactDAQ.
    I would like to combine the 9401 and 9403 into 1 task, and the 9474 and 9375 into 1 task.
    Also, I am having issues with one of the modules, the 9375. When I wire False data to the Write DAQ on LabVIEW it seems that the 9375 is still sourcing some voltage. I cannot remember the difference in voltage of then I wire true data versus false, But I believe they were somewhat close. Has anyone came across a problem like such?
     

  • I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I have tried a lot to find an app or some way in email to attach multiple of pdf files in one email. I could not find anything that sends multiple pdf file in one email and still keeping the file in simple pdf format for the recipient.

    I am not aware of a way except for photos that allows you to select multiple files in an email. I even checked settings in the Adobe Reader app, and it does not show that ability.

  • How to Read All Channels in one task in vc

    I want to read 6 channals' datas in VC. Now I create 6 task, and read it sperately.
    I know that it can read from one task, but how??
    DAQmxCreateTask("",&task1);
    DAQmxCreateTask("",&task2);
    DAQmxCreateTask("",&task3);
    DAQmxCreateTask("",&task4);
    DAQmxCreateTask("",&task5);
    DAQmxCreateTask("",&task6);
    DAQmxCreateAIVoltageChan(task1,"Dev1/ai0","",DAQmx​_Val_Cfg_Default,-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCreateAIVoltageChan(task2,"Dev1/ai1","",DAQmx​_Val_Cfg_Default,-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCreateAIVoltageChan(task3,"Dev1/ai2","",DAQmx​_Val_Cfg_Default,-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCreateAIVoltageChan(task4,"Dev1/ai3","",DAQmx​_Val_Cfg_Default,-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCreateAIVoltageChan(task5,"Dev1/ai4","",DAQmx​_Val_Cfg_Default,-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCreateAIVoltageChan(task6,"Dev1/ai5","",DAQmx​_Val_Cfg_Default,-5.0,5.0,DAQmx_Val_Volts,NULL);
    DAQmxCfgSampClkTiming(task1,"",1000.0,DAQmx_Val_Ri​sing,DAQmx_Val_FiniteSamps,N);
    DAQmxCfgSampClkTiming(task2,"",1000.0,DAQmx_Val_Ri​sing,DAQmx_Val_FiniteSamps,N);
    DAQmxCfgSampClkTiming(task3,"",1000.0,DAQmx_Val_Ri​sing,DAQmx_Val_FiniteSamps,N);
    DAQmxCfgSampClkTiming(task4,"",1000.0,DAQmx_Val_Ri​sing,DAQmx_Val_FiniteSamps,N);
    DAQmxCfgSampClkTiming(task5,"",1000.0,DAQmx_Val_Ri​sing,DAQmx_Val_FiniteSamps,N);
    DAQmxCfgSampClkTiming(task6,"",1000.0,DAQmx_Val_Ri​sing,DAQmx_Val_FiniteSamps,N);
    DAQmxStartTask(task1);
    DAQmxStartTask(task2);
    DAQmxStartTask(task3);
    DAQmxStartTask(task4);
    DAQmxStartTask(task5);
    DAQmxStartTask(task6);
    DAQmxReadAnalogF64(task1,-1,10.0,DAQmx_Val_GroupBy​Channel,OriginData1,N,&read1,NULL);
    DAQmxReadAnalogF64(task2,-1,10.0,DAQmx_Val_GroupBy​Channel,OriginData2,N,&read2,NULL);
    DAQmxReadAnalogF64(task3,-1,10.0,DAQmx_Val_GroupBy​Channel,OriginData3,N,&read3,NULL);
    DAQmxReadAnalogF64(task4,-1,10.0,DAQmx_Val_GroupBy​Channel,OriginData4,N,&read4,NULL);
    DAQmxReadAnalogF64(task5,-1,10.0,DAQmx_Val_GroupBy​Channel,OriginData5,N,&read5,NULL);
    DAQmxReadAnalogF64(task6,-1,10.0,DAQmx_Val_GroupBy​Channel,OriginData6,N,&read6,NULL);
    DAQmxStopTask(task1);
    DAQmxStopTask(task2);
    DAQmxStopTask(task3);
    DAQmxStopTask(task4);
    DAQmxStopTask(task5);
    DAQmxStopTask(task6);
    DAQmxClearTask(task1);
    DAQmxClearTask(task2);
    DAQmxClearTask(task3);
    DAQmxClearTask(task4);
    DAQmxClearTask(task5);
    DAQmxClearTask(task6);
    thank you!

    DAQmxCreateTask("",&task1);
    DAQmxCreateAIVoltageChan(task1,"Dev1/ai0:ai5","",DAQmx_Val_Cfg_Default,-5.0,5.0,DAQmx_Val_Volt​s,NULL);
    DAQmxStartTask(task1);
    DAQmxReadAnalogNChanF64(task1,-1,10.0,DAQmx_Val_GroupByChannel,OriginD​ata1,N,&read1,NULL);//This proto changes fo DAQmxNch1sample.... I do not have it in front of me
    DAQmxStopTask(task1);
    DAQmxClearTask(task1);
    int32_t DAQReadNChan1Samp1DF64_130(uintptr_t taskID, double timeout, int32_t incomingStatus, Array1DDouble **data, LStrHandle extendedErrorInfo);// is the C version
    Jeff

  • Create multiple Task Instance from one Task Instance

    We have a process, where user can request for multiple resources(access) in one single request.Currently user has to wait until all the resource requests are approved by application owners to start the provisioning process.
    I am thinking of splitting that one request(task) into multiple task, based on the number of resources requested.so that, if one resource request is approved user can get that particular access.
    My question :
    1.How will I split the one task into multiple task and pass the required information to child task?
    2.How do I handle views?Currently since its one task , we checkout and check-in the same view.
    3.How will I overcome the possibility of one view overwritten by the other.
    Thanks.

    We have a process, where user can request for
    multiple resources(access) in one single
    request.Currently user has to wait until all the
    resource requests are approved by application owners
    to start the provisioning process.
    I am thinking of splitting that one request(task)
    into multiple task, based on the number of resources
    requested.so that, if one resource request is
    approved user can get that particular access.
    My question :
    1.How will I split the one task into multiple task
    and pass the required information to child task?
    2.How do I handle views?Currently since its one task
    , we checkout and check-in the same view.
    3.How will I overcome the possibility of one view
    overwritten by the other.
    Thanks.Hi,
    yes u can split one task into multiple task means as ur requirment diffrent task for different resource. so u have to write diffrent W/F for each resource and call them by setting a counter for number of resource.
    the below code help u.
    <Variable name='index'>
              <i>0</i>
         </Variable>
    <Activity id='1' name='createNewTask'>
              <Action id='0' name='createView' application='com.waveset.session.WorkflowServices'>
                   <Argument name='op' value='createView'/>
                   <Argument name='type' value='Process'/>
                   <Argument name='viewId' value='Process'/>
                   <Argument name='taskName'>
                             <s>give any name to the task</s>
                   </Argument>
                   <Argument name='process'>
                             <s>task name that u want to launch</s><!-- u can get task name dynamicly by rule also by passing resource name -->
                   </Argument>          
                   <Argument name='accountId' value='$(accountId)'/><!-- pass the required information to child task as argument -->
                   </Action>
                   <Action id='1' application='com.waveset.session.WorkflowServices'>
                   <Argument name='op' value='checkinView'/>
                   <Argument name='view'>
                        <ref>view</ref>
                   </Argument>
                   </Action>
                   <Action id='2'>
                        <set name='view'>
                        <null/>
                        </set>
                   </Action>
                   <Transition to='incrementIndex'/>
    </Activity>
         <Activity id='2' name='incrementIndex'>
              <Action id='0'>
                   <set name='index'>
                        <add>
                             <ref>index</ref>
                             <i>1</i>
                        </add>
                   </set>
              </Action>
              <Transition to='createNewTask'>
                   <lt>
                        <ref>index</ref>
                        <ref>length</ref><!-- number of resource-->
                   </lt>
              </Transition>
              <Transition to='end'/>
         </Activity>

  • Playing multiple stereo channels out one single mono channel tia sal22

    Greetings All
    I have a vi which creates multiple stereo audio signals
    in labview 8.6.1 and I would like to play all of the stereo channels out one single Mono channel
    is this possible?  I tried setting all the device ID's to the same thing but a lot of clicks and pops occurred.  Basically I'm trying to play and mix all the signals out one mono channel at the same time.
    Please note I would like to have each signal that is created played over
    the mono channel at the same time.
    tia sal22
    Solved!
    Go to Solution.
    Attachments:
    lvt_audio_realtime-out left right device ID test onw while loop.vi ‏69 KB
    stereo_to_mono.png ‏63 KB

    sal22 wrote:
    Thanks but which options allows me to do this
    tia sal22
     Just add the arrays if they have the same length. Use the standard add function (like in 2+2=4). Then arrays are added each index is added together
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Multiple email notifications for one task

    Hi Al,,
    I am getting more than one email notifications for one task in less than an hour. Please let me know if any one has ocem across this situation and got the solution.
    your remarks are highly appreciated with points!
    regards,
    theja

    Hi,
    Are you using this RSWUWFML2 program or Extended notification to receive the email notification.
    If Yes Choose 'One Message per Work item'.
    If no, tell me from where you getting the email.
    Regards,
    Surjith

  • Can I simultaneously configure a device to more than one task?

    Can I simultaneously configure a device to more than one task? I am trying to trigger on some of the input data. When I tried to configure the same device to more than one task, I get an error:
    Error -10408 occurred at Digital Group Config.
    Possible reasons:
    NI-DAQ LV: The specified channel is in use.
    I have attached a copy of my VI. In the first and second sequences I am using device 1.
    Attachments:
    Can_I_simultaneously_configure_a_device.doc ‏19 KB

    Hello;
    The best way to have multiple tasks running on the same DAQ device is by syncronizing those in the hardware level. What I mean by that is, to use the same clock pulse train to clock the different tasks.
    For instance, in case you want to do Analog Input and Analo Output at the same time, you can use the AI Start Scan (which is the clock pulse train that will clock the analog input task) to be routed to the AO Update clock (which is the clock that controls the Analog Output tasks of your device). You can extend that idea for counter operations as well.
    For digital operations, if you are not using one of the digital boards that support strobed operations, such as the 653x ones, you won't be able to synchronize the digital tasks with the analg tasks, s
    ince the digital ports updates through Software calls only.
    You are probably getting that error because you are trying to use the Digital Group Config.vi (or some other VI that calls the Digital Config.vi) with a board that doesn't support handshaking operations, such as the MIO ones.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Multiple Sort Apps?

    I have a lot of apps on my Iphone 4s and i used to use the Itunes store to sort them into folders based on Genre then by name. But since one of the updates i cannot figure out how to use multiple sorts. If anyone could tell me how to set the Itunes app  list to sort by Genre -> Name that woul be extremely helpful.

    swg18 wrote:
    I have a lot of apps on my Iphone 4s and i used to use the Itunes store to sort them
    Do you simply mean iTunes? (not store)
    I have a lot of apps on my Iphone 4s and i used to use the Itunes store to sort them into folders based on Genre then by name.
    Turn on the C olumn browser (menu View > Column browser) select a Genre then sort by Name.

  • "Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect? URL: /includes/javascript/xajax_js/xajax.js". other posters with a xajax error on this board got the response to go look for developer resources. (i'm not a developer)

    I'm on a mac running 10.6.8, was using Firefox 6.02 when the problem started, i performed a clean install of 7.01, installed the latest Flashplayer, and reinstalled java (the 10.6.5 update file from apple's site).
    I seem able to load video at youtube.com, and was able to load web-based irc chatrooms at ircchat.tv. however, at jamplay.com a paid member site, all of the lessons are flash video, and there's a live video feed chat room that is also flash based, and I am not able to view this content. the video content pops up the error message "Error: the xajax Javascript file could not be included. Perhaps the URL is incorrect?
    URL: /includes/javascript/xajax_js/xajax.js" and the clicking on the "launch chatroom" button does exactly nothing.
    I have contacted the jamplay site team but their recommendations are the steps I have already taken, mentioned above, that did not resolve the issue.
    some links to content on their site visible without being a member:
    http://www.jamplay.com/
    this one has a flash interface that, if things were working, would have a video in the center and members and staff talking abouth that area of the site when you click on one of the title buttons. Now that I am having this problem, nothing is clickable and there's no indication that there should be a video in the center. The error message regarding xajax does not come up at all.
    http://www.jamplay.com/guitar-lessons/beginners/1/527-16-circle-of-fifths
    same thing. video content is missing, xajax error does not appear.
    http://www.jamplay.com/live
    when I load these all content except the video loads on the page. this page does not give me the error at all, just does not load the video
    I can't seem to recreate the actual error without being logged in as a member of the site.
    The apple support team gave me a one-time free suppport ticket to troubleshoot an ethernet issue I was having. Unfortunately, the databases I removed were not deemed either by apple or me to be noteworthy or necessary to retain (all of them were for software I not longer have or use). I don't know which plist file might have been the one I need now. I did reinstall the java and flash items. The only other item that I think it might be is a set of belkin router software that I uninstalled because i'm not using any belkin hardware anymore.
    If someone has any kind of idea I would be most appreciative.

    That's a comment in the file. It has no effect at all.

  • Download from ALV are all in one column including the header

    Hello All,
    We are having problems with the download of excel from ALV grid. what happens is that instead of the data dispalying in different columns, it is all in one column, including the header. what could be the problem? this only occurs in the production system but in the development and quality it is ok.
    Thanks for your help.

    Hi,
    We also used the option download to local file and it works fine. Only the button download to excel is not working as expected.

  • Can I have one task server upload to another task server?

    Hello all!
    I'm looking for a way to use ARD Task server to monitor multiple different locations without choking my connection to my main server.
    Ideally, what I would like to do, is have an organizations client machines report to a local task server, and then have that task server report to one central task server.  I deal with multiple different organizations that all have similar setups and owuld like to create a central repository of reports (on the systems AND server) all through ARD task server.  Keeping the reports from different organizations seperate will be key.
    Thinking this through, it has ocurred to me to simply have everything report back to my main task server and keep them all grouped by IP/Organization name, but am not comfortable with multiple (at least 150-200) machines all sending reports back to one central server.  I'd rather have all of the reports go to the organizations local server, and then have that server send out all of the info to the main TS.  Is this possible?
    For example, 10 machines +1 server at site A. These 10 machines all report to to the local server at site A.  The server at site A then sends those reports to "my server" at a data center for me to review.   I have 10 sites that I would like to have this process happen with, all reporting to one main task server where I can then connect to and review the generated reports for each organization.

    Would love to hear if anyone has any solutions for this as well! I'm in the same boat: I have multiple client networks, that I would love to monitor on my ARD Task Server.

  • Create ecatt script for one sales order creation with multiple line items

    Hi ,
    I want to create a ecatt script for one sales order creation with multiple line items. Preferably SAP GUI.
    This selection of data will be from an external file/ variants which will have only one row of data in it.
    Firstly: I have to sort the external file having same PO Numbers in an order.Group them together.
    Second: I have to create sales order for those many line items having same PO Number.
    Best Regard
    Taranum

    Hi Micky
    Firstl you should upload the Line items for a particular sales Order in an Internal table
    and then pass that internal table to your BAPI during your coding corresponding to a particu;lar sales order
    In case of any issues pls revert back
    Reward points if helpful
    Regards
    Hitesh

Maybe you are looking for

  • No headphones setting in Vista!

    What can I do! When I select 2 speakers in sound settings, all my games reset to 2 speaker mode on every startup. Older games like Counter-Strike .6 that don't let you set it manually also output in 2 speaker mode. Which results in noises focused lef

  • Relogio Digital

    Estou precisando colocar um relogio digital no forms p/ registrar o horario p/ o cartao de ponto . Preciso que este relogio mostre a hora na tela . Desde ja muito.

  • Logistic period problem

    HI Gurus, While customizing in my actual project the table MARV, that keeps the logistic period data, has been set to a  change request. I have two client one for the customizing and the other to make the test. In the customizing client in table MARV

  • HELP!!!! My i-pod is frozen!

    Ive tried everything, but my new 2 day old ipod mini wont work! i was in the games menu, when the scroller became inactive. its not on hold and ive tried everything, including connecting the USB cord to the computer. HELP!!!!!!!!!

  • IPod + sleep = loud fan?

    Hoping to get a solution to this...I know the stock answer will involve my PCI-e USB card. Yes, I have a PCI-e 5 port USB 2.0 card installed on my G5 Quad. How did you guess? It works like a charm, mostly. The rub is, if I have an iPod connected, whe