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?
 

Similar Messages

  • One button controlling multiple buttons as3

    I'm trying to follow a tutorial I found online for a randomly selected image without using an XML or AS file.
    The problem is that I want to generate more than just one section, like generate an image from one group, and an image from another group, and etc etc. That's something I can do but there'd need to be a button for each group. It's not exactly horrible, but I was hoping to just have a "one button controls everything". So is there a basic code that will say "When this master button is clicked, all these other buttons are clicked"?
    Here's the tutorial for reference.
    Flash Tutorial: Generate a Random Frame with AS3 -HD- - YouTube

    One approach is to have the event handler of the button call all of the other button's event handler functions, passing its received event argument to them.  If you were to name the other functions in some numeric  pattern then you could loop thru them rather than writing each one out separately.
    Another approach would be to have one single function that works for all the buttons where you test which button was clicked and decide which commands to execute.

  • Select multiple channels for one task - control and shift keys don't work

    Hi,
    Following advice from several other posts, I'm trying to select multiple physical channels  from the dropdown list so that I can then use the "unflatten channel string" function later on. It looks like if I hold down either shift or cntrl I should be able to select multiple channels from the list, however, this doesn't work for me. I tried going into the "key navigations" property for the task channel control but it doesn't have any associations listed. Has anyone else come across this and found a fix?  I have previously got around this by stating multiple channels with a colon (eg. ai1:3) but this doesn't work for the unflatten function.
    Thanks, 
    Claire.
    Solved!
    Go to Solution.

    Thanks for your reply Dennis, I see what you mean, unfortunately that doesn't solve my problem so I'm missing something else. I've attached my VIs. I expected that the output from the unflattenstring block would be an array of either the channel references or the names I had given them, and that therefore the "array size" in the 4th pane would be "9" (equal to the number of channels).  Instead the output is a an "unnamed task#(some number)" when I look at it with a probe. Perhaps I'm misunderstanding how the task naming works?
    THanks, 
    Claire.
    Attachments:
    Analog SW Trigger_v3.vi ‏33 KB
    Cont Acq&Graph Voltage-Analog SW Trigger_cfjv3.vi ‏64 KB

  • 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>

  • How to write to one channel of a task with multiple channels? (plus other things...)

    So I have a USB-6009 DAQ.  It has 12 digital output lines.  I want one channel that is "Dev0\line0:10" which represents an address bus in my application.  And a second channel "Dev0\line11" which represents a program enable line in my application.
    I have tried creating two different tasks and adding one channel to one task and the other channel to the other task.  The only task that worked was the task with "Dev0\line0:10".  It was always the task containing that channel, regardless of the order of creation.  So then I moved on to a different method.  (I read somewhere that I should only create one task of each type.  like only 1 DO task only 1 AO task etc...  However I am also using the two analog ouputs to and have a task for each AO and they work just fine.)
    I tried add both channels to one task.  But when I needed to control only the address bus, I had to have some information for the other channel as well.  This was a little trying, but I could configure it that way.  But it turned out to be easier for me to just make one channel with all the lines and OR in the data for line11 with each write.
    I just wondered if it was possible to write to one particular channel of a task and not the other channel?  That would really be the ideal solution for me.  especially if I could write multiple samples to the one channel while I left the other channel alone.  Which brings up another complaint... Why does WriteMultiSamplePort only work if I use a DigitalMultiChannelWriter, and not if I use a DigitalSingleChannel writer even though my task only has one channel (and by the way I set up the channel as one channel for all lines)?  A perplexing issue to be sure.
    And no I can't just load all my samples into an array and write them all at once because I also have to manipulate the two analog outputs in between the various digital writes.
    I am using NI DAQmx 7.5 and C#.  I am trying to use the DAQ to program a digital switch, which has proven to be a real challenge.  In push-pull mode there is too much ringing for the switches programming port to tolerate.  But the switches interface is LVTTL, so I needed the 3.3V.  When I changed to open-collector I had to use voltage dividers to drop down to 3.3V.  But the rise time using open-collector is too slow for me the program the switch in serial mode, so I had to change to parallel.  The switch has an 11 bit multi-plexed ADDR/DATA bus.  So the DAQ I had chosen to use which had plenty of lines for the serial programming, now is strained to it's absolute limits by the parrallel interface.   ARGH.  The only output I am not currently using is the counter, and I'm going to need it if I ever want to read back from the switch.  But first I have to seperate the ADDR/DATA bus from the CS line on the DIO lines of the DAQ.  And I don't know for sure what I'm going to do about the voltage level translation when I have to go bi-directional.  Maybe I can filter out the ringing in push-pull mode?  Any thoughts on that?

    Hi Saikey,
    In most cases, you are exactly right: you can only use one task for one type of operation (i.e. only one analog input task in the same program). With the USB 6009, you can have multiple digital output tasks running at the same time. I was able to run a digital output program with two different digital output tasks configured for a USB-6009.
    However, you stated that it would be better if you had everything in a single task for your application and write data to only some of the channels. The easiest way to do this is to modify your array of output data so that only the data to that one channel is changing. So, for example, if you keep writing a 0 to the channels that do not need new data nothing will change.
    If you have to change your analog outputs during this program, you could create an event structure that would stop and restart the analog output tasks without changing the digital output data. I hope that you find this information helpful.
    Regards,
    Hal L.

  • How to keep multiple function modules under one Web service

    Hi Experts,
    I have Three RFC function modules and i need to create one web service for these three RFC function modules. I know How to crearte a web service for one function module.
    please suggest me How to keep multiple function modules under one Web service.
    Thanks in advance
    Lakshminarayana

    Hi Lakshmi,
    The best way to do it is to assign all the three RFC Enabled FM's to one function group. Later on the top menu in Utilities you get an option to Create a Webservice from a Function Group.
    You can create one single Webservice using all the the 3 FM's.
    I hope this helps.
    Thanks,
    Manu

  • Control multiple updates and queries within one transaction in JPA

    Hi,
    I have a question regarding control multiple updates and queries within one transaction. We are using EclipseLink 2.3.1. With below code, will I be able to:
    - have all insert, update, select queries committed in one transaction;
    - queryGetBalance will return the latest OrgBalance after update;
    - if one fails, everything rolls back.
    Thanks!
    Jeffrey
    PS: I realized that I cannot use em.getTransaction().begin() and em.getTransaction().commit(), since I am using JTA.
    =============
    @PersistenceContext(unitName="Test")
    EntityManager em;
    em.setFlushMode(FlushModeType.COMMIT);
    newTransaction.setAmount(1000);
    newTransaction.setType("check");
    em.persist(newTransaction);
    orgAudit.setUpdateUser("Joe")
    orgAudit.setupUpdateTime(time);
    em.merge(orgAudit);
    Query queryUpdateBalance = em.createQuery("update OrgBalance o set o.balance = o.balance + :amount where orgId = :myOrgId");
    queryUpdateBalance.setParameter("amount", 1000);
    queryUpdateBalance.setParameter("myOrgId", 1234);
    Query queryGetBalance = em.createQuery("select OrgBalance o where o.orgId = :myOrgId");
    queryGetBalance.setHint("javax.persistence.cache.storeMode", CacheStoreMode.REFRESH);
    queryGetBalance.setHint("javax.persistence.cache.retrieveMode", CacheRetrieveMode.BYPASS);
    queryGetBalance.getResultList();
    em.flush();
    Edited by: JeffreyW on Dec 12, 2011 10:34 AM

    Yes, the operation will be in a single transaction, assuming you are using a JTA managed SessionBean and the code is part of a SessionBean method.

  • Shunt Calibrate Multiple Channels in One Task - Error 201398

    Having created a task with multiple AI Strain Gage channels (each set with same bridge properties and quarter bridge config.), I recieve an error when passing the task to the "DAQmx Perform Shunt Calibration (Strain).vi"
    My VI works fine if only a single channel is contained in the task, but more than one channel causes the error.  Do I have to loop through each channel manually?
    The "possible reason(s)" varies depending on my approach, but often indicates the AI.Bridge.ShuntCal.GainAdjust being requested is "-Inf"

    You can start a new thread even if you have the same issue. What exactly you aregetting and show us the code for better understanding.
    The best solution is the one you find it by yourself

  • Lightroom 5 slowdown, my post processing times have tripled and the develop tasks take multiple seconds for one adjustment, Please Help. . . .

    my post processing times have tripeled and the develop tasks take multiple seconds for one adjustment, Please Help. . . .

    my post processing times have tripeled and the develop tasks take multiple seconds for one adjustment, Please Help. . . .

  • One Credit Control Area - Multiple Company Codes - Credit Management

    Hi All,
    my client has a requirement to go for one common control area & with different company codes.
    suppose if i have a customer in multiple company codes & i desire to have the credit control happening for individual company codes, is this possible???
    can i use the individual limit field extensively for credit limit per individual company codes???
    please pour your thoughts, i have a subsequent question too.
    regards
    ilango

    in this case how can i have the FD32 screen differentiated for different company codes?
    say for an european company code, i will have the document currency EUR & for the same customer in US, i will have it as USD.
    can i have this segregated?
    sorry, too many questions in single thread, but i dont want this to be tracked in different threads, Hope the moderator agrees too.
    regards
    ilango

  • 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

  • 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).

  • 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

  • Connecting more than one sensor cable to screw terminal to collect more than one signal in single DAQ board channel?

    I don't know if this topic is being posted in the correct location. I am new to LabVIEW and the hardware associated with it. I am using an NI 9237 DAQ board for a senior design project in engineering and I was informed that I can make multiple connections to a single screw terminal which in turn will connect to one channel of the DAQ board. To give the specifics, I have two pressure transducers and would like to connect them to the same screw terminal and channel on the DAQ board yet separate them when acquiring data in the VI. Does anyone know how to do this? I know is is essentially knowing what pins do what on the screw terminal but I can't find this anywhere. I am currently doing the job with two screw terminals and two of everything else (RJ50 adapters, etc.). I would appreciate any input. Also, please let me know if I am posting in the wrong board and if possible, which board I should be posting to.
    Thank You,
    bsteinma

    bsteinma,
    What you may have heard is that you can measure multiple signals on the same task, not on the same channel.  By tying both of these signals to the same channel, both signals will compete to drive the line.  The channel on the card will only interpret this garbled signal and you will get no useful data.  If you are new to wiring up hardware, I recommend configuring a task within Measurement and Automation Explorer and then clicking on the tab along the bottom of the page titled, Connection Diagram.  This will show you what electrical connections to make.  Then, in LabVIEW you can read multiple signals (channels) and manipulate each signal how you would like.  
    As far as boards go, you will generally find an answer where ever you post, but the Multifunction DAQ board is a great place to post when you have questions regarding hardware (like your 9237).  
    Cole R
    Applications Engineer
    ColeR
    Field Engineer

Maybe you are looking for

  • Cant Get it to transfer

    I started using my iPod on a different computer than i am using now, is there a way to get the music from my iPod into iTunes on my computer? Thank you

  • How to give #ejbCreate 'Required' transaction semantic

    I'm can't get the #ejbCreate method on my BMP Entity to provide the 'Required' transactional semantic. The need is for a client to have a transaction that updates several EJBs and also creates one. But I'm finding that if the transaction rollsback th

  • Auto Fill in Safari

    How in the heck do you get the auto fill function to work in Safari? I have an address card filled out in address book app, both on the mac and on the server. Safari 4.03

  • Changing Sort Order in Smart Album when Looking for Roll Name=Corruption

    We've confirmed via testing and from new posters that changing the sort order in a Smart Album who's criteria is to look for a roll name will cause iPhoto to crash and then crash upon launch after that. So to avoid corrupting your library do not chan

  • Smartform language translation

    Hi all, I am working with a Purchase Order smartform. My requirement is depending on the Vendor language the Smartform should be printed in that particular language. For example if the Vendor language is FI, the smartform should be printed in Finnish