Question about sampling data of same device from two different sub-vi

Hi all:
Now I am using NI 6040E DAQ card, 1001 chasis, SCXI-1102 (32 channel AI) , SCXI-1300, SCXI-1160 16-ch realy, SCXI-1324 to implement  measurement data collecting.
But I meet a problem, when I  run two sub-vi at same time, and sampling data from different channel the SCXI-1001 chasis. 
(For example:    in the 1st sub-vi, the system samples data from channel 0-10. and  in the 2nd sub-vi,  the data from channel 11 should be collected)
It seems, it is not possible,  anybody have a good idea about it.
Best regards

Hi Hanwei,
All the channels in the SCXI use the same multiplexer, ADC and sample clock; that is the reason why it is not possible to run multiple applications in one SCXI module. There is a knowledge base that could be helpful in this case: Can I Use One SCXI Module in Multiple LabVIEW Applications at the Same Time? Hanwei, is there a specific reason why you have the acquisition separated into two different tasks? Is it possible to have channel 11 in the same task with the other channels?
Regards,
Ana P
National Instruments
Applications Engineer

Similar Messages

  • Possible solution to avoid deadlock when two inserts happen on same table from two different machines.

    Possible solution to avoid deadlock when two inserts happen on same table from two different machines.
    Below are the details from deadlock trace.
    Deadlock encountered .... Printing deadlock information
    Wait-for graph
    NULL
    Node:1
    KEY: 8:72057594811318272 (ffffffffffff) CleanCnt:3 Mode:RangeS-S Flags: 0x1
    Grant List 2:
    Owner:0x00000013F494A980 Mode: RangeS-S Flg:0x40 Ref:0 Life:02000000 SPID:376 ECID:0 XactLockInfo: 0x000000055014F400
    SPID: 376 ECID: 0 Statement Type: INSERT Line #: 70
    Input Buf: RPC Event: Proc [Database Id = 8 Object Id = 89923542]
    Requested by:
    ResType:LockOwner Stype:'OR'Xdes:0x0000002AA53383B0 Mode: RangeI-N SPID:238 BatchID:0 ECID:0 TaskProxy:(0x00000027669B4538) Value:0x10d8d500 Cost:(0/38828)
    NULL
    Node:2
    KEY: 8:72057594811318272 (ffffffffffff) CleanCnt:3 Mode:RangeS-S Flags: 0x1
    Grant List 2:
    Owner:0x0000000B3486A780 Mode: RangeS-S Flg:0x40 Ref:0 Life:02000000 SPID:238 ECID:0 XactLockInfo: 0x0000002AA53383F0
    SPID: 238 ECID: 0 Statement Type: INSERT Line #: 70
    Input Buf: RPC Event: Proc [Database Id = 8 Object Id = 89923542]
    Requested by:
    ResType:LockOwner Stype:'OR'Xdes:0x000000055014F3C0 Mode: RangeI-N SPID:376 BatchID:0 ECID:0 TaskProxy:(0x000000080426E538) Value:0x30614e80 Cost:(0/41748)
    NULL
    Victim Resource Owner:
    ResType:LockOwner Stype:'OR'Xdes:0x0000002AA53383B0 Mode: RangeI-N SPID:238 BatchID:0 ECID:0 TaskProxy:(0x00000027669B4538) Value:0x10d8d500 Cost:(0/38828)
    deadlock-list
    deadlock victim=process5daddc8
    process-list
    process id=process5daddc8 taskpriority=0 logused=38828 waitresource=KEY: 8:72057594811318272 (ffffffffffff) waittime=2444 ownerId=2994026815 transactionname=user_transaction lasttranstarted=2014-07-25T12:46:57.347 XDES=0x2aa53383b0 lockMode=RangeI-N schedulerid=43 kpid=14156 status=suspended spid=238 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2014-07-25T12:46:57.463 lastbatchcompleted=2014-07-25T12:46:57.463 clientapp=pa hostname=pa02 hostpid=1596 loginname=myuser isolationlevel=serializable (4) xactid=2994026815 currentdb=8 lockTimeout=4294967295 clientoption1=671088672 clientoption2=128056
    executionStack
    frame procname=mydb.dbo.SaveBill line=70 stmtstart=6148 stmtend=8060 sqlhandle=0x03000800d61f5c056bd3860170a300000100000000000000
    INSERT INTO [dbo].[Prod1] .....
    inputbuf
    Proc [Database Id = 8 Object Id = 89923542]
    process id=process5d84988 taskpriority=0 logused=41748 waitresource=KEY: 8:72057594811318272 (ffffffffffff) waittime=2444 ownerId=2994024748 transactionname=user_transaction lasttranstarted=2014-07-25T12:46:57.320 XDES=0x55014f3c0 lockMode=RangeI-N schedulerid=39 kpid=14292 status=suspended spid=376 sbid=0 ecid=0 priority=0 trancount=2 lastbatchstarted=2014-07-25T12:46:57.440 lastbatchcompleted=2014-07-25T12:46:57.440 clientapp=pa hostname=pa01 hostpid=1548 loginname=myuser isolationlevel=serializable (4) xactid=2994024748 currentdb=8 lockTimeout=4294967295 clientoption1=671088672 clientoption2=128056
    executionStack
    frame procname=pa.dbo.SaveBill line=70 stmtstart=6148 stmtend=8060 sqlhandle=0x03000800d61f5c056bd3860170a300000100000000000000
    INSERT INTO [dbo].[Prod1]....
    inputbuf
    Proc [Database Id = 8 Object Id = 89923542]
    resource-list
    keylock hobtid=72057594811318272 dbid=8 objectname=pa.dbo.prod1 indexname=PK_a id=lock1608ee1380 mode=RangeS-S associatedObjectId=72057594811318272
    owner-list
    owner id=process5d84988 mode=RangeS-S
    waiter-list
    waiter id=process5daddc8 mode=RangeI-N requestType=convert
    keylock hobtid=72057594811318272 dbid=8 objectname=pa.dbo.prod1 indexname=PK_a id=lock1608ee1380 mode=RangeS-S associatedObjectId=72057594811318272
    owner-list
    owner id=process5daddc8 mode=RangeS-S
    waiter-list
    waiter id=process5d84988 mode=RangeI-N requestType=convert

    Don't know. Perhaps these can help. I scanned the second link but didn't see much about Ending Deadlocks. I'd say the Fourth link probably has better information than the first three links. But maybe read them all just in case the Fourth is missing something
    one of the first three have.
    Deadlocking
    Detecting and Ending Deadlocks
    Minimizing Deadlocks
    Handling Deadlocks in SQL Server
    Google search for "SQL Deadlock"
    La vida loca

  • How to handle an update of the same record from two different user JSP

    how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.

    I'm not sure whether I understand your question. If one user changes a record then you would like other users to see those changes. Normally those changes will be visible to other users when they refresh their browser, after the first user has committed changes to the record. I you want to be sure that the same row isn't updated at the same time by to different user, you need to configure some locking (pessimistic locking) - this depends of what technology you use. In EJB3 pessimistic locking is performed by adding a version to every entity object. If you are using ADF, the framework is able to handle either pessimistic or even optimistic locking.
    If you want the changed row to be updated in other users browsers without any user interaction by these users, you should take a look at Reverse Ajax (ex. DWR http://ajaxian.com/archives/reverse-ajax-with-dwr) - or Ajax in general. But you will never get a realtime solution, where changes is visible in other users browsers right after each record update.

  • How to handle an update of the same record from two different user  in JSP

    how to handle an update of the same record from two different user
    how do you handle an update of the same record from two different users in JSP... if one person updates the record from one drop downs should be updated as well.. is the possible.

    Usually, if two users try to update the same row at the same time, you want the first to commit to succeed, and when the second commits, they should fail with the error that the row was being concurrently updated. They you may want to show them the new row values and give them the opportunity to merge their values with the new row values...
    How can you achieve this? Google optimistic locking.

  • Sale of same material from two different storage loactions

    hi,
    how can i configure to sale same material code from two different storage loactions?
    for eg if material code is 15000 and it is extended in two storage location A and B.My requiremnet is i want to sale from both storage loction at same time A and B both.How can i map it?
    thanks
    Nakul

    Dear Nakul Raj,
    If you want to sale same material from different storage locations it can be done.
    First raise the sales order enter the material code and quantity as a first line item and give the storage location "A" in item shipping tab.
    Then give the same material code and quantity (how much you want to send) as a second line item with storage location "B".
    Then save the document, do the delivery, the storage locations will be copied from order to delivery, if you want to change you can do so.
    Do the PGI.
    Hope it will resolve your issue.
    Please reply if any further clarifications
    Kindly try and let me know the result
    Thanks&Regards
    Raghu.k

  • Comapre 2 same channels from two different dat filea

    Hi ,
    I want to compare the wave forms of two same channels names (in my sample data which is in attachment, the same channel names are S1KNSLLE00H3DSZP) from different dat  file(S2100044 and S2100041) .
    Load the 2 dat files from navigator.
    Come to report and open two 2d axis systems to see the wave forms of two different channels ( Like in attachment result.jpg)
    I need an autosequence to do the same for all the channels for 2 dat files automatically.
    Attachments:
    cmp.zip ‏1967 KB
    result.JPG ‏158 KB

    Hi RSH,
    I appreciate you posting 2 data files and the jpg, but I'm afraid I still have lots of questions before I can advise you.  You sent 2 *.dat files which each had 1 channel in them named "Data", which is different from your email text and the jpg you posted.  Will your data sets typically have many channels in them?  Your posted *.dat files had no time channel and the "Data" channel was not a waveform channel, yet the 2 different "Data" channels were different lengths.  Do you want to plot your channels vs. the array index all the time (as is shown in your jpg)?
    Do you want to have N sheets in REPORT, one for each channel?  Why don't you want to have both "S1KNSLLE00H3DSZP" channels as curves with different colors on the same graph-- wouldn't that make it easier to compare them?
    When you drag over the data channel onto a REPORT graph, you will get a reference like "[1]/Data" or "[2]/Data", which is exactly what you want to compare the "Data" channel from 2 arbitrary data files (note that the file name does not show up in the channel references).  So it seems to me that the REPORT layout you sent a jpg of already satisfies what you're asking us to create for you.  Why do you need a script at all?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Receive data for same IDOC from 2 different scenarios

    Hello,
    I have already scenario that received xml file and transfer data to IDOC (The IDOC is purchase order).
    This scenario works fine.
    Now I try to add more scenarios. This scenario takes files from other xml source work with new mapping and transfer data to same IDOC.
    The problem is in integration builder u2013
    When I try to create receiver agreement the message the message "Object already exists" appear.
    How can I solve this issue?
    Elad

    Hi Elad,
    +Now I try to add more scenarios. This scenario takes files from other xml source work with new mapping and transfer data to same IDOC.
    The problem is in integration builder u2013
    When I try to create receiver agreement the message the message "Object already exists" appear.+
    Does this mean that the other xml source is from the same party? If yes, then that party is already configured in your receiver agreement as explained by the error "Object already exists".
    If the xml source is from a different party. What you can do is to delete the existing receiver determination. Make a new one and replace the party with an "*", in that way, increasing the parties would only consist of one receiver determination for that particular interface. You would only have to add sender and receiver agreements.
    Hope this helps,

  • How does one access data in the cloud from two different computers

    This isn't a problem but a question anticipating a possible problem.
    I have a MacBook Air running os X (version 10.8.2) and a desktop iMac runing 10.7
    I notice that when I create a PAGES document on the Macbook Air, it automatically saves to the cloud with a tef extension unless I force the file to save to the hard drive.  Data on the hard drive is backed up, of course.  But there are files saved to the cloud that are not saved to my external time machine drive.
    If I lost the drive on the MacBook Air, can I retrieve the files in the cloud?  I have the other computer, but I don't think that OS 10.7.x can access those cloud files and I've been told that the iMac can not be upgraded to 10.8
    Even if I could load 10.8 on the IMac--how would I get to those files if I am not on my personal MacBook Air?  What's the key to retrieving that data?  I've checked some of the manuals that I have and they very happily tell you how to save files to the cloud.  There's no discussion on what to do if things go wrong. 
    I know how I would retrieve my oracle data here at work if I was sitting at another terminal--what's the equivalent process if I was sitting at another mac machine?

    Documents saved via the applications in 10.8 can be accessed from iCloud.com on any computer providing you have a mobile iWork application.
    Whilst documents are saved to iCloud on your 10.8 Mac, they are also written locally and therefore backed up with something like Time Machine.
    if you did update your 10.7 Mac, things would merely become easier, you could access documents saved in (say) pages on one Mac in Pages on the other.

  • Unable to have same library from two different windows user accounts

    I recently spent about a week organizing and getting info correct on all my "millions" of songs. All of my music is in my itunes music folder, and organized.
    I went over to my wife's windows user profile, and on itunes the library was incomplete. so i used the "add folder to library" function, to update her library to include all of the songs in the itunes music folder. It worked fine. but when i went back to my windows user profile, i got the "original file could not be found" message, on the majority of my songs. as a quick fix I deleted my library and used the "add folder to library" function, to update.
    now I get the "original file could not be found" message on her library.
    the files don't move, the just are not recognized by itunes on more than one "side" of windows.
    it goes back and forth like this.
    how can i get itunes on both windows user profiles linked to the same library, or pointed in the same place?
    thanks for the help

    If I understand correctly, your library file is the good one.
    The default path in XP is
    C:\Documents and Settings\ username \My Documents\My Music\iTunes
    Try this article about multiple libraries, and see if you can open your library in her account:
    http://docs.info.apple.com/article.html?path=iTunesWin/7.6/en/15502.html
    You will need to brwose to the path in your account. She needs enough windows privileges to read/write it.
    She'll need full access if you're on Vista, and it will be a sightly different path.

  • Same page from two different pages

    Here is my question.
    I have page P1 and page P2. There is a table on Page1 with 10 rows, so there is a next and previous buttons along with it. Now I have a link on Page P2, Clicking that link it should go to P1, well that is easy, but what I wanted is when I click the link I need to show a filtered table.
    How do I in corporate the knowledge on P2 Bean, that it now needs to show the filtered list not complete list
    thanks

    Baluc,
    Do u mean like this?, can you set the property on P1 bean ? when you are on P2 page. So I believe P1 bean is created and it uses the same bean when Page P1 is shown ?. I will try this but was curious to know the answer.
    <h:form>
    <h:commandLink value="Go To Page P1" action="#{P2.action}">
    <f:setPropertyActionListener target="#{P1Bean.propertyName1}" value="propertyValue1" />
    <f:setPropertyActionListener target="#{P1Bean.propertyName2}" value="propertyValue2" />
    </h:commandLink>
    </h:form>

  • How to edit footage in the same sequence from two different cameras:  1) Standard Def 4:3 aspect ratio, and 2) Standard Def shot 16:9, anamorphic?

    What can I say.  We blew the shoot.  His high-end Sony camera - std def at 4:3 aspect ratio.
    My camera - the little Panasonic DVX100, set to anamorphic, so 16:9 aspect ratio.
    I have to edit this footage together in the same sequence.  Obviously, I'm getting prompts to change the sequence settings every time I try to move footage onto the timeline.
    Alternatively, would someone just thunk me in the head. 
    I'm sad about this.  I can't believe it happened.

    What is the ouput - standard 4:3 DV?
    If so, put a clip of the 4:3 material into a timeline and accept the offer to conform the timeline to that material. Then, any of the 16:9 material will be part of that settings - however - you will want to go into the DISTORT settings in the Viewer to alter the material so that the image extends beyond the sides (aka a center cut). It has been a long time since I've done this but I remember the number is something like 33 (or -33).
    x

  • Working on the same website from two different computers

    So I have a mac running iweb09 at work and a macbook with iweb08 on it and I would like to be able to work on the web page from both of these computers. Any suggestions or am I wishing for too much?

    So I have a mac running iweb09 at work and a macbook with iweb08 on it and I would like to be able to work on the web page from both of these computers. Any suggestions or am I wishing for too much?
    you can transfer Domain.sites2 between the two machines.
    but you should have the same iweb version on both machine. otherwise, you will run into hassle of this:
    http://discussions.apple.com/thread.jspa?messageID=9382549&#9382549

  • Loading master data from two different infosource.

    Hi Experts,
    I would like understand the mechanism behind loading data to masterdata infoobject from two different infosource.
    Ex: I have one master data infoobject called A and it has 4 attributes B C D E.
    now I am loading values for A B and C from INFOSOURCE1
           D and E is getting loaded from INFOSOURCE2.
    could ne one please explanin how this works and how all five values get merged in single record?
    Please help
    Best Regards
    Falgun

    Dear Falgun,
    Component of an InfoSource:
    An InfoSource is always a quantity of InfoObjects that logically belong together and are updated in data targets.
    a. <b>InfoSources with flexible update</b>
    An InfoSource with flexible update can be updated in any data targets (with the exception of hierarchies). Update rules are created for this InfoSource.
    InfoObjects can be used in as many InfoSources and data targets as you like.
    b. <b> InfoSources with direct update</b>
    Using an InfoSource with direct update, master data (characteristics with attributes or texts) for an InfoObject can be written directly (without update rules) to the master data table.
    Visit the following link for more information:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Hope this is helpful.
    Regards,
    Naveen.

  • Question about tranferring data from iPhone 3gs to iPhone 4

    I just had a couple quick questions about transferring data from my old phone from my new iPhone 4. The reason i am wondering is because i am worried about whether i will encounter any problems when doing so.
    First off i have already sold my phone today, i reset all data and settings from the phone and gave it to my buddy so its gone. I did a full sync and backup yesterday so all the necessary files should be on my computer(windows 7). Now, im basically wondering if i will run into any problems if i restore my iphone 4 from a backup. My 3gs was running 3.1.2 on att. Now i know IDEALLY i would have updated it to iOS 4 before backing it up and used the newest version of itunes, but i did not. Does anyone think this will be a problem for me?
    Now with that out of the way, my biggest fear is losing my old data(text messages and notes mainly because i am a pack rat for those type of things) so id like to be SURE that none of my old backups will be deleted in any scenario. The reason i dont just restore it right now is because i want my new phone to be as clutter free as possible. I am going to be putting on here only the apps that i used often and would basically like to transfer over the BARE minimum; texts, notes, and highly used apps... So i guess my main question is can you transfer over only certain things like texts and notes after setting up the phone as a new phone. And if i were to set up the phone as a new phone what would happen to my old backups? Would i be able to selectively restore?
    Im afraid that it might not be a possibility to transfer only certain things even though it should be.. i should be able to select a text messages folder and put it on my new phone and be done with it... But anyway i dont want to rant. Can anyone explain to me how this all will work?
    ULTIMATE GOAL: Transfer only texts, notes, certain apps(and their data) and NOTHING ELSE.
    MOST IMPORTANT THING: Not losing texts and notes. I can deal with putting all the old **** on my new phone and cluttering/slowing it down if i NEED to.
    Thank you in advance, sorry for the long post.

    If the most important thing for you is keeping old text messages, notes, and voicemail, then you'll need to sync the phone from your existing backup. I know of no other way to access those items.
    Once you have synced to the new phone, check that you have those items that were important. Then you can reconnect your phone to iTunes, and change the sync settings to remove the apps or other items you no longer want to keep on the phone.
    iPhone backups are stored by iTunes; you can see them by opening your iTunes preferences, clicking on "Devices" and then looking in the window. You can delete old backups from here. I don't know how you can open/read the backups though.
    I don't expect you'd have any problems syncing from your old phone's backup, but it's definitely an either/or situation. Since you got rid of the old phone already, it's too late to email yourself your notes, or copy the text messages. Your previous backup is your only solution.

  • Question about displaying data

    Based on the search criteria I need to show some info. with check box on each item, but it might retrun upto fifty items (between 1 to 50 items). Should I create checkbox/output text dynamically or how do I handle this scenario? In the jspx how do I loop it and display? Thank you.

    hi user13094256
    See my reply in your other forum thread with the same question
    at Question about displaying data
    regards
    Jan Vervecken

Maybe you are looking for

  • Connect by Prior in Oracle 8i question

    Need help with building tree-structured query in Oracle 8i (Forms 6i front end if it matters). Sample structure and data: CREATE TABLE table_list my_code NUMBER, my_level NUMBER, my_description VARCHAR2(60) CREATE TABLE table_content my_code NUMBER,

  • Slo Mo A bunch of clips at once?

    I have a 150 clips in the browser. I would like to do modify the speed to 50% on all 150 clips. Can I do this to all the clips at once or do I need to open each clip in the viewer and modify them one at a time? Thanks for your help.

  • Photoshop 7.0  problems.

    I have photoshop 7.0 and have had no problems for years. Today when I was editing a photo it froze. It happened again when I click Image >adjustments>brightness and contrast....it freezes and won't let me close photoshop. I can minimize photoshop and

  • FILE /usr/sap/trans/bin/DOMAIN.CFG could not be created

    Hi   After a DB copy into the QAS system the TMS will not connect to QAS. I set the CHGR3SHLOC to the domain controller and ran SE06 to delete and reset the TMS as DDIC in client 000. When I run TMS on the QAS box and try to include QAS in the DOMAIN

  • Sort multiple records with textfield

    Hi everyone! I want to sort from the backend all the products in a site. First, i use the repeat region server behavior, to list all the products. Added a textfield in each record, with the value of it's position (1, 2, 3, 4, etc). How can i update t