Dynamic data aquisition on USB-6212

I am using USB-6212 to aquire (AI) and control (DO) from/to 8 UUTs. It works perfectly. What I want to do is dynamically launch my daq vi for each UUT that will acquire AI and DO data for its respective lines.
For example, I launch UUT-1 daq vi to get AI data from ai0 and DO data to p0.0, p0.1 and p0.2. Then launch UUT-2 to get data from ai1 and data DO to p0.3, p0.4 and p0.5 at different times.
I want to be able to launch and stop daq at my will.
Here is the problem. So, I tried launching VIs dynamically, which works ok. But, data aquisition is not working. It works for the first launch of the daq vi. For the other UUTs, it give me this error:
Error -50103 occurred at DAQmx Start Task.vi:2
Possible reason(s):
NI Platform Services:  The specified resource is reserved. The operation could not be completed as specified.
Task Name: _unnamedTask<15>
So, my question is, can this be done? Would USB-6212 support dynamically allocating task resources on DAQmx?
I have attached my main launch vi and daq vi block diagrams. Any help/feedback is appreciated.
Attachments:
MainLaunch vi.png ‏35 KB
LaunchTest vi.png ‏43 KB

Hi sbk143,
The 6212 only has a single analog input timing engine, so you cannot run more than a single analog input task at a time.
What you can do is acquire from all of your AI channels in a single task, then programmatically index out the channels that you are interested in.
Your approach would work for software-timed DO, so you can control the UUTs independently at different times.
Best Regards,
John Passiak

Similar Messages

  • How do you save dynamic data type, from the DAQ assistant, for use in Excel or matlab?

    Currently, I have the following basic VI setup to save Data from my PCI6221 Data Aquisition Card.  The problem I'm having is I keep getting the last iteration of the while loop in the measurement file and that's pretty much it.  When I try to index the data leaving the loop it gives me a 2D array of Data which cannot be input into the "Write to Measurement File" VI.  How would I save this to a useful Data/time step format?  I was wondering of a way to continuously collect the Data and then save it in a large measurement file that I would manipulate in Matlab/excel?  Am I using the wrong type of loop for this application?  I also noticed my Dynamic Data array consists of data, time, timestep and then a vector of the data taken.  Is it possible to just get a vector of the time change per sample alongside the data?    Sorry for the barrage of questions but any help would be greatly appreciated, and thanks in advance!
    -Bryan
    Attachments:
    basic DAQ.vi ‏120 KB

    There is a VI in the Express > Signal Manipulation palette called "From DDT" that lets you convert from the Dynamic Data Type to other data types that are more compatible with operations like File I/O....for instance, you could convert your DDT into a 2D array and use the Write To Spreadsheet File.vi.  Just a thought...
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Wireless Data Aquisition

    I wanted to begin doing data aquisition wirelessly and was wondering how I would go about it. I am currently using scxi modules for my signal conditioning and a USB Data Acquisition and Control Module for the SCXI. I have read about using a something called a MiniDAT by ViaSat to connect a DAQcard to achieve wireless data acquisition capabilities but I can't find any information on the MiniDAT or if it is even still in production. Any suggestions or info about the MiniDAT would be appreciated. Thanks

    Hello Postemun
    Take a look at the TDK Blu2i module.
    I'm using this in conjunction with LB7.1 apps I've written for PDAs and PCs with bluetooth capability and it is designed as serial cable replacement, although it also has some rudimentary analogue and digital DAQ.
    In cable replacement mode it effectively converts a dumb serial device for wireless operation. Obviously there is a bandwidth issue if you're trying to get large amounts of data out of your DAQ unit ie high sampling rates, so you're limited to lower end serial comms speeds.
    The other issue is distance. How far away is your pc going to be from your wiress DAQ kit? Another alternative is to use 802.11 based serial modems for longer distances, although comms is still limited to se
    rial speeds. This website may be of interest:
    http://datahunter.com/
    Cheers,

  • Read in signals from a usb 6212 in more then one computer

    I have a NI-USB 6212 to read in signals from a industrial proces in the computer. This computer has also a touchscreen so workers can select a reason why the proces is stoped. Now the problem is that this has to happen at two places so with a another compter and touchscreen plus on a another computer has to monitor on a big screen al the procesvariabels. I want to do this al with LABview. What is the best way to do this?
    Kind regards,
    Solved!
    Go to Solution.

    fille,
    if the signals that are acquired by the 6212 are not too fast, you could write the acquired data to network published shared variables. If your second PC has a network connection to the first one, you will be able to access these shared variables there.
    Kind regards,
    Jochen Klier
    National Instruments

  • Dynamic Data in Xcelsius Dashboard via ExcelXML Map?

    Hello,
    I am trying to create a dashboard with a grid with a variable number of rows and columns. The data is given to Xcelsius through an Excel XML map i.e. I have given an XML source to an Excel file and then have imported that excel file into Xcelsius.
    I am able to see dynamic data changes within the pre-specified dimensions (i.e. from the first import). For example, if I have a 4X5 grid and change the text in the first row and first column, then Xcelsius will reflect this. However if I add an additional row with data in the xml file, I am not able to see this, even if I resize the the grid so that it has room at the bottom to be filled in.
    Does anybody have any experience with this/can anyone point me to specific articles? I have followed the instructions given in the Tech Tips article, but this only applies to data within a specific structure, while I want to change the structure itself.
    In short, is it possible to do dynamic structures in Xcelsius?
    Thanks.
    Regards,
    Anjana Dasu

    Hi,
    Please go to Data>Connections>Excel XMl maps under usage tab please check if you have set the options "Refresh on load" or "refresh every".
    If not, please select the refresh option and save the xlf file and then try to create a dashboard again.
    Cheers,
    Anshul

  • A data table in one column of a dynamic data table

    Hi , I have to design a dynamic data table(with dynamic columns and data) which looks as the following
    DETAILS      NAME      ROLE NUMBER     CLASS     SECTION
    15     MATHS     SURESH     15     10     A
    20     SCIENCE                    
    25     ENGLISH     
    15     MATHS     SURESH     15     10     A
    20     SCIENCE                    
    25     ENGLISH          
    The data in the column 'DETAILS' should have inner table. The data in this inner table should have hyper links. If there is no inner table infor mation there shold be an image with hyperlink. This data table should also have pagination and sorting features. Please send me some example code for this. Please help me out as i have client demo on monday

    You may find this example useful: [http://balusc.blogspot.com/2006/06/using-datatables.html#NestingDatatables].
    To toggle between a nested datatable and a hyperlink with image just use the rendered attribute. E.g.
        <h:column>
            <h:dataTable rendered="#{!empty dataItem.innerList}">
            </h:dataTable>
            <h:commandLink rendered="#{empty dataItem.innerList}">
            </h:commandLink>
        </h:column>
    ...

  • Using htp.p for print dynamic data in apex region make my page slow?

    Hi, everyone!!! My name is Rafael, and...
    I search in the web and in this forum but i can´t find a answer for my doubt.
    Using the procedure htp.p for print dynamic data in apex region through on demand process , this will leave my webpage slow to load when the user access?
    Example:
    For build a menu in my webpage, it´s read a function in the database that returns variable string, so by a demand process this string is obtain and print in a web page using htp.p.
    I notice that this practice causes slow to load the data on the page.
    This is it...
    If someone help me, thanks...
    bye and Happy new Year!!!
    Edited by: user9518141 on 26/12/2009 17:19

    Hi,
    Try commenting out the function call and print some sample text in the htp.p like htp.p('Hello world..');
    I think the function call is probably taking a lot of time .. not htp.p.
    I have used htp.p to print out values dynamically in a lot of situations and have not ever come across any performance issues.It could be a problem with the function you are calling.
    Thanks,
    Rajesh.

  • Dynamic Data Connection Parameter and Report Parameters

    Post Author: despec
    CA Forum: General
    Hello to all,I am using a business view that is based on a dynamic data connection of 13 databases, each a different school.  When I use the BV is a CXrystal Report (XI), it correctly, of course, uses the "read only" parameter for me to select a school.  My problem arises when I try to enter a student name "list of values"  parameter using that same dynamic data connection.  After I select the "read only" school parameter, I then  select that student name and immediately, the "read only" school parameter resets to "--".  Therefore when I click okay, I get an error saying that my selection for the first parameter is invalid.Anyone have any suggestion on how I may be able to resolve this?Thanks,David

    Hello,
    Jsut a reminder this is not a Support Case Management system but for all to use.
    Since you have BOE 3.1 you should have a valid support contract. Log into Service Market Place and create a case on line and a support Engineer will call you.
    If you don't know how to then ask your Manager who is your SAP Account Super User and that person can add you to the list and give you a log in ID and password.
    Thank you
    Don

  • XML Publisher - Dynamic Data Columns Issue

    Hi,
    I am creating a amortization report where I need to show the amortization schedule for unearned revenue. Customers have signed different years of contract and I need to show the amount as per their remaining contract months. So if there are 2 month remaining in the contract then I should show the data for 2 months only and if there are 10 months then I should display 10 months. If we run the report for both customers then it should display two lines in report. For first customer the data should be only for 2 months and for second row(customer) there should be data for next 10 months. These months should be columns in the report(like excel columns, not rows). I need to display all months in columns instead of rows.
    I have acheived that using Dynamic Data Columns as mentioned in the user guide. Everything is working fine except following issues -
    1. How to create page level total?_
    I have created page total in my template using <?add-page-total:TOTUREV;'UREV'?> and displaying using <?show-page-total:TOTUREV?> but when I run the report in excel format these page total do not display. These columns are static columns not dynamic.
    If I run the report in pdf format then the static column total is displayed correctly.
    2. When I run the report in excel format then report run fine and it shows all the columns properly but if I run the report in pdf format then the dynamic column are not displayed in their own columns, all the columns are overwriting each other in a single columns itself, its not expanding.
    3. How do I get the total for the dynamic columns?_
    I need to display the page level total for the dynamic columns also, how do I do that?
    4. When I run the report in excel format the 2 decimal places of the numbers are gone(it works fine in pdf output), like 12.50 becomes 12.5 and 14.00 becomes 14. I need to maintain those 2 decimal places. I have tried using <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?format-number:CVALUE;'999999D99'?></fo:bidi-override> but this does not solve my problem completely. It shows the values correctly in excel but then I am not able to do any calculation on those columns, looks like it converts them to text values.
    Any help is really appreicated. Please let me know if you need the xml template and data file.
    Regards
    Hitesh

    Hi Hitesh,
    Can you please upload your RTF and XML template file? I will try to spend sometime on this issue.
    Cheers
    Sachin

  • Background Jobs with Dynamic Dates

    I am looking for how to run a job in the background on a Daily basis where the data time range is always Yesterday - specifically, I want to run a Notification report daily to see the previous day's notifications.
    I have established a Variant with the Dynamic Dates to be "Current Date - 1 days", and schedule it to run in the background Daily.  The report runs daily as scheduled, but the dates are not changing (i.e. it always runs the report for the same date).

    Dear Richard,
    It appears that the date that you generated by "Current Date - 1" is not used for running notification report or not passed from variant.
    You can actually code the same in your program.
    I suggest you to expecute the report in SE38 with debugging by putting a break-point.
    v_date = sy-datum - 1.
    v_date should be used for notification report. (not sy-datum)
    Reward points if this is helpful.
    Regards,
    Naveen.

  • How to realign elements of an array? Working with old Dynamic Data consumers

    Hello,
    I've got some code which was written with DAQ assistants years ago.  I'm trying to use tasks and arrays for my producer now for speed and efficiency, but I'm stumped on one thing.
    The consumers were written to have the data in a certain order - there's even a VI in there that selects certain elements and sends them to specific outputs.  I previously took care of this with a simple VI that split the dynamic data, wired them to different order terminals, and then set it back to dynamic;  Screenshot attached.
    Is there a structure like this for array where you can break out all the array elements, reorder them and insert constants, and then put them back into the array?  What this ends up feeding is a subvi that's an array builder which converts the DD to array and then reroutes it.  Seems almost like what I'm trying to do could be done there, but it's a bit confusing to me.
    Thanks in advance.
    Still confused after 8 years.
    Attachments:
    realign.jpg ‏166 KB

    Hi Ralph@NES,
    One thing I have done before for this is create a mapping array and a for loop to reorder the elements in your data array. Take a look at the example VI I've attached. If you know exactly where you want everything, you just need to go into the mapping array and set the index destination for the corresponding data. Hope this helps.
    Paul C
    Paul C
    Applications Engineer
    National Instruments
    Attachments:
    Reorder Array.vi ‏9 KB

  • How to save the dynamic data from a pressure sensor

    Hello Everyone,
    We have a FPGA board NI cRIO-9073, a temperature module NI 9217 and a pressure module NI 9203. Right now we have problem with saving the data from pressure sensor.  I succeed in getting and saving the data from the temperature sensor. Then I just simply modify the FPGA VI and host VI of the temperature function block which are shown in the attachment files.But I get an error saying I cannot connect two different data types.
    Could anyone here give me a help on this?
    BTW: we are using a 2 wired pressure sensor with 4~20mA. The brown one is +Vcc and the white one is GND.I connect the white one with the COM of NI 9203 and the brown one is connected to AI7. DidI make a right connection?
    Thx for any help from anyone!
    Attachments:
    pre_tem.JPG ‏36 KB
    pre.jpg ‏35 KB

    Hi, I get this error message:
    Write to textfile: function contains an unrelated or improper connection.You have combined two different types of connections among each other.
    At least one entrance of the function required for their operation, is open or not properly connected, the connection scheme is illustrated in the context help.
    They have combined two different types of connections with each other. This connection is not possible because the data types (such as "numeric", "String", "Arrary" or "clusters do not match"). Open to see the contextual help at what must have a data type for the connection. The type of data source (fixed) costs. The type of data is dynamic data.

  • How to get data from a USB-UIRT device using Labview?

    How to get data from a USB-UIRT device using Labview?
    I'm trying to get data from a USB-UIRT device, is it posible with Labview?
    I really appreciate your help, 
    thanks

    You may want to contact the developer of the device for the API and DLL.
    http://65.36.202.170/phpBB2/viewforum.php?f=3

  • Hi, my Ipod Schuffle (4 gen) dissapears from windows vista right after I execute Itunes, I've change the drive letter, erase temps in App data file, verified USB drivers, etc... Can someone guide on how to solve this?

    Hi, my Ipod Schuffle (4 gen) dissapears from windows vista right after I execute Itunes, I've change the drive letter, erase temps in App data file, verified USB drivers, etc... Can someone guide on how to solve this?

    If you want the shuffle to be always visible in Windows (outside of iTunes), you need to Enable disk use.
    Select the shuffle in the iTunes sidebar, under DEVICES.  Over to the right, select the Summary tab.  You should see a checkbox that says Enable disk use.  Check it and click Apply.
    NOTE:  If disk use is enabled, you have to Eject the shuffle in iTunes, BEFORE you physically disconnect it.  If disk use is NOT enabled, you can disconnect the shuffle at any time, as long as iTunes is not doing something with it at that moment (such as syncing); the shuffle's light will then be blinking (to indicate DO NOT DISCONNECT).
    So, unless you want to use the shuffle like a USB flash drive (carry random files on it), you may want to NOT Enable disk use.

  • Creation of Dynamic Date Variables to be used in WebI reports

    What we are trying to achieve is to create 4 optional filters (Current Day, Current Week, Last Week, Last Month) on 4 different dates which will allow the users to use them in WebI reports.
    When using an optional SAP Customer Exit variable in BEx and creating a Universe on top, the filter becomes mandatory (i.e. the whole Universe is filtered by the SAP Exit, irrespective of whether the filter is used in the WebI report). Even if the filter is flagged as optional at the Universe level, it still behaves as mandatory.
    If each filter becomes mandatory then we'll have to create 16 different Universes (for each optional filter and date combination)! This is not feasible.
    I've seen in other posts that MDX Statements are not currently supported for Universes base on BW and SAP Exit should be utilized.
    So with the existing BO version, is it possible to create optional dynamic date variables or is that a product limitation?
    We are on XI3.1 SP3 FP3.1
    Thanks

    Hi Adam,
    In BEx, I would create this query very easily using the "Amount" key figure twice in my results and restricting each with a different SAP standard out-of-the-box delivered variable. For your reference, the variables in BEx are: 0FPER and 0FYTLFP.
    If I expose these variables in my OLE DB for OLAP query, they are not transfered into the universe, but rather act as filters on the entire universe. I've seen in documentation that only "Ready for Input" variables can be transfered as options into the universe which is not something that I have seen mentioned in this thread.
    >> In the BEx Query you have the option to either make the variable "ready for input" or not. The behavior is the same in Bex or in the Universe / Web Intelligence. "Ready for input" means the user can actually provide an input and without the flag the user can not provide an input. Yes those variables are supported in the Universe.
    Why this is a problem: I can't create separate universes based on potential variable periods that users might want to see. Additionally, many financial reports require concurrent use of these measures in the same report. Also, in reality it's not 2 variables, but dozens.
    >> Which is a decision you make already on the BEx query level. if you decide that the variable is not ready for input then the user can change the timeframe in BEx either.
    Also, I don't have a good way to mimic the standard out-of-the-box functionality given with BEx in BO. If I custom create all my variables in the universe, how do I do a lookup from the system date to the fiscal calendar that is stored on the BW server? In other words, how does BO know which date belongs in which period? (the same would be true with factory calendars for a different functional area).
    >> Variable are created in the BEx query and the Universe will leverage those.
    If you want a dynamic date range then EXIT variable as part of the BEx query - ready for input or not - is the solution.
    regards
    Ingo Hilgefort
    The only work around I can see is to require users to enter the current fiscal period and have the BO reports filter based off that user entered value. This is unfortunate as the entire purpose of SAP Exit variables is to avoid having to require user input at report time.

Maybe you are looking for

  • Will not start on New Install. Opening goes straight to Crash reporter

    Will not start on New Install. Clicking on icon does not open a window and goes straight to Crash reporter. I cannot access a window to try to open in safe mode (unless there is another method than outlined in the help article). I run Windows XP and

  • Dding favorite contacts in phone app causes it to crash in iOS 4.1

    Hey guys I had this problem in ios4.1 and I am running on an iphone 4. Go to your phone app,Then go to your favorites tab,Then tap the add button,Then go to the search feature in your contacts tab and search for any contact,after that click the conta

  • HDD suddenly very slow

    Hello, One week ago, my white Intel iMac has begun to be really slow, always getting the spinning wheel. I ran Onyx maintenance scripts, defragmented, and finally formated and reinstalled my whole system. However, it did not solved the problem, but i

  • WRT120N & VPN issue

    Hello everybody, I'm a bit stompped at this problem.  The laptop (one of my reps' unit) I'm currently using (Dell Inspiron 1545 w/ Dell 1515 802.11N WiFi adapter (driver rev 8.0.0.144- Atheros chipset) has no problem connecting to the HQ VPN server (

  • What SAP function is used to get current system time?

    Hello All:     I heard there is an SAP function to get system time. It was "gettime" or something! Could anyone please tell me what the function is? Thanks. Mithun