Measure with multiple cards

hello,
i've got 3 cards in a project. this cards are measuring temperature, digital IO and Analog IO.
the problem is that i can't receive the values in one while loop. the temperature needs much more time to measure as the other cards.
two questions:
1. i've got a queue where i do my initialisation.the daq is parallel to this queue. is it possible to use any tool which waits till the initialisation
is done to start the daq?
2. has anyone a schema which describes a multi card daq? i don't think that my solution is the best.
short description about my solution:
i've got lots of parallel while- loops where the daq is (first while- loop for temperature, second for DIO,...).
another parallel part is a queue which does the initialisation , an idle-case and deinitialisation.
In the moment i stop the while-loops with a local variable of my stop button. i think there will be a better solution.
it would be nice if anyone has a schema, link or any other documentation.
markus

Hi,
I normally use some sequence structures to do hardware initialization before the main body of the program.
So I would have a sequence with 3 frames. In the first one initialize the hw, the second one would contain the normal function mode and the third, closing references and hw control, ...
About the structure you use, I find it a little strange, but don't take this as a critic to your programming mode.
You have all those while loops, with a case structure and all of them controlled by the same variable.
So when you press that button, all your while loops will go to measuring mode.
Apparently you are allways measuring everything when messung is true.
So if you had only one while loop it would work the same way, better yet, if messung is a button, you could put everything in the event structure and measure everything when the event messung - mouse down happens and you don't need all those while loops.
Also the stop could be made by that event structure.
Hope this helps,
Paulo

Similar Messages

  • Sharing a clock with multiple cards

    Hello,
    I am using Matlab to capture period gate events through two 6602 Cards.  An RTSI cable is connected to them and setup up through MAX.  I am trying to sychronize the cards by send the master card clock to the slave card.  I have tried many different approaches, mainly DAQmxSetMasterTimebaseSrc and ExportSignal.  I can't seem to get these functions to work without error.  I would explain what I have tried but it would just be too long and probably not very helpful.  Since the RTSI is only capable of carrying the 20 MHz clock, does anyone know how to make two cards share one 20 MHz clock?
    -Mike

    Hi Mark,
    For a 6602, you'll want to use the DAQmxSetCICtrTimebaseSrc() and DAQmxSetCICtrTimebaseRate() properties, and ensure that the terminals for both cards are the same, ie "/6602A/20MHzTimebase". DAQmx will take care of the routing across RTSI as long as you have the devices added to the RTSI connector in MAX. If this doesn't work, what kind of errors are you seeing (numbers, screenshots...). Also, do you really need the timebases sync'd for period measurements? They're going to have the same error regardless of the timebase being used and in fact you're limiting your resolution by requiring the cards to use the 20MHz clock instead of the 80Mhz. In most cases I've run across sharing a start trigger is sufficient.
    Hope this helps,
    Andrew S
    Getting Started with NI-DAQmx
    Measurement Fundamentals

  • Alsa with multiple cards

    hi,
    after the recent -Syu, alsa doesn't behave like it should
    first i noticed the following message during init:
    Unknown hardware: "Audigy" "TriTech TR28602" "AC97a:54524123" "0x1102" "0x0053"
    Hardware is initialized using a guess method
    and the exact same message for hda-intel
    I started messing with alsaconf and the message on init disappeared
    Now the default card gets to be the hda-intel one
    I even used the modprobe index options to change that. After i added those aplay -l didn't display my Audigy card even tho the modules were loaded
    what am i missing?

    so wth is happening
    i STILL didn't solve this properly
    one time at startup there's no mixer elems for the -c0 card and then on restart there's no mixer elems for -c1
    it even happens that both work
    but it's all RANDOM!
    the cards obviously have their index properly set since when they appear under aplay -l the intel ALWAYS appears as card 1 and audigy as card 0
    here's the latest modprobe options i'm using [/etc/modprobe.d/50-sound.conf]:
    alias snd-card-0 snd-emu10k1
    alias sound-slot-0 snd-emu10k1
    alias snd-card-1 snd-hda-intel
    alias sound-slot-1 snd-hda-intel
    options snd-emu10k1 index=0
    options snd-hda-intel index=1
    Last edited by _saiko (2009-07-24 09:54:34)

  • Keynote with multiple graphics cards

    Hello all
    I will try and keep this a brief as possible. I am currently finished of an AV install in a local Christian Centre. As part of this we have installed a video system for displaying notices and live feeds of services and events. One of the members of the church has purchased 2 PCs with the purpose of displaying 2 different sets of notices in the reception area and the main hall. However for reasons that I won't go into here they completely mess the system up causing all sorts of interference problems.
    As part of the install we are going to be supplying them with a Mac pro with final cut to record events and produce DVDs of them.
    My question is if we were to add a second graphics card and iWork could keynote be set to use this card for it's output? And if it were would it leave the main output free (showing the desktop) for other uses?
    I know that with dual output cards the second output can be set to either mirror of show notes but there is no info in the help about what happens with multiple cards that would provide 4 outputs.

    No, Keynote takes over all the screens when presenting, and I'd think if you tried to edit in FCP when you were also running a show (if you could) it would likely bog BOTH programs down badly.
    You could export your presentations into QT and have the QT player running on one screen, but still, if you fire up FCP, everything's a different ball game then.
    I suggest leaving the FCP system on its own, don't try to do multiple things with it at the same time.

  • Measurement for multiple numeric limit test

    Hello,
            I am developing a test software using LabWindows and TestStand. In my application, I have added a no: of multinumeric tests. In Operator Interface, I want to display each measurement in run time, instead of waiting for completion of all the measurements with Multiple numeric limit test. Is there any way to receive in TSOP each runtime measurent taken for multiple numeric limit test without waiting for multinumeric limit test over?
    Thanks in advance......
    Best Regards,
    Vijay

    Hi Vijay,
    Unfortunately, a Multiple Numeric Limit Test will not allow you to return each measurement inside the step as it executes.  If you need this to occur, there are other methods that you could take.  You could create a custom step type or use many Numeric Limit Test steps and pass them the indexes in your array.
    Another method you might use would be to use an Action step and save the array locally.  Then, you could use Statement steps to evaluate each item in the array.
    Jessica
    National Instruments
    Product Support Engineer

  • I would like to use one library but with multiple ipods, but because they are my kids Ipods, and they each have their own gift cards, I'd like to be able to add money to their "profiles" without them having their own account - what is the best way

    So here is my delima - I want one Ipod account - because I only want one library - since we all like the same music - but my kids, who have their own IPODS, have gift cards, who want to be able to keep track of their balance without the other child affecting the balance - meaning - each gift card should be seperate and not totalled to the single account - Beacuse the library is fairly large, having three libraries of large amounts would be a waste.  I would also like to restrict their purchased to the gift cards only and not my credit card on file.  Does this make sense?  Once this is resolved, I'm assuming they would use their own playlists to copy their favorites to each Ipod.  Or would I set up an account for each child - which I dont want to do, because I dont want them having access to my Credit Card, and only gift card balances.  With multiple accounts, I'm assuming that would also build seperate libraries?  We also have multiple computers, but I share the library to those computers -
    What is the best way?  I'd like to be able to add credit to a specific child (birthdays, etc) without the other child being able to access that credit.  For simplicity sake.
    We are new to IPODS and lack any MAC skills.
    Thoughts?

    Not going to happen the way you want it to.
    When you add a gift card balance to the Apple ID, it's available for the Apple ID.
    Probably best to create unique Apple ID's for each... this will also make things easier in the future as purchases are eternally tied to the Apple ID they were purchased with.

  • Premiere Elements 9 crashes with multiple NVIDIA graphics cards under Windows 7

    I've just installed Premiere Elements 9 and found that it will not run at all with multiple NVIDIA graphics cards active under Windows 7.  Per all the other discussions, I updated the NVIDIA drivers and Quicktime support to the latest versions.  (NVIDIA version 260.99).  I have both a 9400 GT and an 8400 GS installed, to support multiple monitors.  They both use the same driver.  The PRE 9 organizer will run, but as soon as I create or load a project it quickly crashes.
    On a long shot I disabled the 8400 GS card in the Device Manager and now I can run PRE 9.  Of course this means giving up one of my monitors.  Any other ideas?

    Over in the Premiere Pro area (or maybe it was in the Hardware section... didn't pay a lot of attention 'cause it really didn't matter to me) I read a message about using two nVidia cards with no problems (other than no dual-card SLI support)
    I **think** that was with two SAME model nVidia cards
    And, of course, PPro is completely different code, so PreEl may simply not work with two nVidia cards

  • Programming multiple smart cards with multiple smart card readers in a PC causes a PCSCException in a smart card that is in progress

    Hi,
    I develop a Java code using smartcardio API to program a smart card. My GUI allows to add at most 5 smart card readers that will wait for card present, then do authentication and program the smart card with an application, then wait for card removal. This is a separate thread running in a loop for each smart card reader added as programmer.
    The problem occurs when a certain smart card is in progress and I inserted another smart card to another smart card reader.  Both smart card reader halts and throw sun.security.smartcardio.PCSCException: Unknown error 0x8010002f.
    I also observed that every time there is an attempt to insert/remove a smart card in the smart card reader that is connected to the USB port would cause the programming in progress to be interrupted and throw the PCSCException.
    These are some exceptions I got during my testing:
    sun.security.smartcardio.PCSCException: Unknown error 0x8010002f
      at sun.security.smartcardio.PCSC.SCardTransmit(Native Method)
      at sun.security.smartcardio.ChannelImpl.doTransmit(ChannelImpl.java:171)
    java.lang.Exception: Loader Record Failed: 6E | 0 //Sometimes I got this return code SW1 0x6E SW2 0x00 which means an APDU with an invalid 'CLA' bytes was received. I had check the command before it was sent and it was correct.
    Help me understand this issue. I think the CardTerminal.isCardPresent(), CardTerminal.waitForCardPresent(0), and CardTerminal.waitForCardAbsent(0) cause this issue that CardChannel.transmit(apduCommand) is interrupted or the smart card insertion/removal causes the CardChannel.transmit(apduCommand) is interrupted.
    Regards,
    Knivez

    Hi,
    when you work with one smartcard reader only usually you address the slot -1 that means "the first found".
    But to deal with multiple readers you have to use slots of course since one reader will be slot 0, next reader will be slot 1 and so on...
    So a credential object will be identified on a system by a couple
    <slot,alias>
    After that, the way to address slots (I mean the syntax) depends on the classes you are using...
    Bye

  • OBIEE Date Comparison report with multiple measures

    Hello everyone...
    I have a requirement where I need to create a date comparison report (Current Month vs. Prior Month vs Prior Month Year Ago vs YTD vs Prior YTD vs Rolling 3 months, etc) with multiple Measures (Quote count, Quote offered count, New Business count, etc). I am to generate this report in this fashion:
    Quotes Current Month vs PM vs YoY Prior
    Month Current Month Prior Year Current
    YTD vs PM Prior
    YTD Rolling 3 Months vs PM Prior Rolling 3 Months
    Issued 120 120 123 1400 1020 1700 1580
    Unique Risks
    Offered 556 449 571 5881 6220 6101 5892
    Unique Risk Close Ratio
    Offered Close Ratio 21.6% 26.7% 21.5% 23.8% 16.4% 27.9% 26.8%
    Bitmap
    Avg Issued Premium 240 238 222 2801 2630 3104 2892
    Avg Offered Premium
    New Business
    Count
    Avg Full Term Premium
    I understand that time series is an option, and have created the time series (which show up as measures).
    My problem is:
    when creating the report (even as a pivot table) , OBIEE is not allowing me to drag the measure to rows, nor is it allowing me to drag the time series to columns. Also, I need to do conditional formating on some of the columns showing an up arrow for increased vs. prior month and down arrow for decreased vs. prior month.
    Does anyone have a solution for this issue? Any assistance would be greatly appreciated...
    Please advise and thanks!!!

    Jason,
        You've been very helpful, but I guess I'm just not explaining myself that well. The Credit Memo's throw things off because they do not contain a "Paid Date" value. That field in the record is blank. Since it is blank the report query ignores them. Therefore when the report query returns all records that have a "Paid date" range of "x to y" they are never returned. This is a problem whenever a credit memo exists for an invoice because the "invoice total" never changes. So when a customer pays on their account for a particular invoice, they only pay what is due which is the "invoice total" minus any "credit" from the "Credit Memo". So when my A/R person receives payment they are showing the invoice paid in full because MAS automatically includes all invoices and credit memo's. My report does not because there is no data in the "Paid Date" field of the record for Credit Memos.
    I've been doing alot research in trying to resolve this "exception" to my report. I think I may be on to something, but my knowledge of arrays is extremely limited. My resolution involves populating an array with the "invoice numbers" that are returned from the initial query from the supplied date range. Then using the "invoice numbers" from the array have it then populate my details section of the report with all of "invoice records" both the actual invoice record and any "credit memo" records. I can then group the records returned  based upon the "invoice number". then within that grouping I can performing my calculations to show whether or not the invoice has been paid in full. What do you think?  I've been able to populate an array with the invoice numbers based upon my date search range, but I have yet to figure out how to take that information and perform another lookup to pull in the rest of the data I need. Do you have any ideas?
    Thanks.  Bill

  • Create Characteristic with multiple units of measure

    Hello Friends,
    I want to create characteristic (CT04) which has multiple units of measure.  At present  a  Characteristic is created with a single unit of Measure. I have to create characeristic and assign it in MIC. MIC specifications are customer dependent. Customer may give specifications in different unit of measure. While creating sales order, I am entering the specifications for characteristics, as material is created with varient.
    I am creating Single Characteristic multiple times for different Unit of Measure and assigning it to the class.
    Therefore according to the Customer requirment and his specifed Unit of Measure, that Characteristic is choosen having same UoM as of Customer.
    Insead of doing this, Is it possible to assign multiple units of measure to single characteristic?
    Waitng for reply!
    Regards,
    Kiran

    Hi,
    With Multiple Unit Of measures, I don't think its possible.
    You can Use CHAR for characteristics, to Use.
    Instead for Fixed Units. Let Marketing/sales Enter the req.
    But you shall make it Multiple Selection, Since you can use them in Selection Condition.
    Hope this is Useful.
    Regards
    Raghu

  • Create characteristc with multiple units of measure

    Hello Friends,
    I want to create characteristic (CT04) which has multiple units of measure.  At present  a  Characteristic is created with a single unit of Measure. I have to create characeristic and assign it in MIC. MIC specifications are customer dependent. Customer may give specifications in different unit of measure. While creating sales order, I am entering the specifications for characteristics, as material is created with varient.
    I am creating Single Characteristic multiple times for different Unit of Measure and assigning it to the class.
    Therefore according to the Customer requirment and his specifed Unit of Measure, that Characteristic is choosen having same UoM as of Customer.
    Insead of doing this, Is it possible to assign multiple units of measure to single characteristic?
    Waitng for reply!
    Regards,
    Kiran

    Hi,
    With Multiple Unit Of measures, I don't think its possible.
    You can Use CHAR for characteristics, to Use.
    Instead for Fixed Units. Let Marketing/sales Enter the req.
    But you shall make it Multiple Selection, Since you can use them in Selection Condition.
    Hope this is Useful.
    Regards
    Raghu

  • HT204364 how do I order multiple card or postcard with different images each one in same order?

    how do I order multiple card or postcard with different images each one in same order?
    I keep paying separate shipping cost for each different photo

    That is not an option - with the exeption of photo prints you can only identical items on one order
    LN

  • Does iPhoto allow you to order multiple card projects that you designed with your photos all at once?

    I have create multiple cards with iphoto and I want to order them all at once, but it seems to me that I can only order one card of the same design at once. If I order them all separately, that means I have to pay for shipping for each card I created. I don't want to pay so much for the shipping, I think if I order them all at once, the shipping fee will be cheaper. And I will just recieve one big package instead of several small packages. Has anyone able to order all their iphoto projects in one single order?

    It's not possible.
    Regards
    TD

  • Firewire card with multiple controllers

    Quick question....
    I am looking for a firewire card for connecting 2 cameras.  Will I be able to use a standard PCI-E card or will I need to look for one with one controller per port....  Most share a single controller voer multiple ports.  I've had problems int eh past with multiple ports on one card, but this may have been a PCI card with limited system bandwidth.....
    Ideas anyone?
    The cameras will be most likely 1280x1024 RGB cameras with 60FPS.
    Cheers for any help forthcoming.
    Shane
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

    Nobody, no?
    The cameras are actually monochrome, 8-bit not RGB (24-bit) and only go up to 30Hz.....
    I mean theoretically a FW400 card should handle a 1024pixel x 1280pixel x 8bit x 30Hz (314 Mbit/s without overhead) picture no problem but adding a second camera will more than saturate the bus.....
    Anyone know of a decent PCI-E FW card which has two ports with a seperate controller for each?  Please?
    Shane
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • Am I able to tag a data point of a spreadsheet that is being created by a datalogging VI such that at the end I have the data with multiple tags which corelate to events during a measurement cycle

    Am I able to tag a data point of a spreadsheet that is being created by a datalogging VI such that at the end I have the data with multiple tags which corelate to events during a measurement cycle
    My final need is to take data from a datalogging VI and store it in a spreadsheet with tags that corespond to events in a subVI which is controlling motor movement. This will allow users to view all data and mark the relevent data for analysis. As usual, user want everthing but with conditions.

    Sure. What you do is take the numeric value acquired, the tags you want, and build them into an array. So now, when you write to the spreadsheet, you'll have a 2D array. One thing you have to keep in mind is that all elements of an array have to be of the same type. So if your tags are strings, you'll have to convert your numeric data into strings as well.

Maybe you are looking for