Hot to Access Multichann​el DAQ Data

Hello All,
I have kinda asked a similar question before but am still a little confused.
I have a system that is using 16 channels and on each channel I am sampling 32768 points here is my first function I call
DAQmxCreateAIVoltageChan(taskHandle, "Dev1/ai0:15", "",DAQmx_Val_RSE, -5.0, +5.0, DAQmx_Val_Volts, NULL )
then when I am ready I call
DAQmxReadAnalogF64( taskHandle, NoToRead, DAQmx_Val_WaitInfinitely, DAQmx_Val_GroupByChannel, dData, NoToRead * MaxChannels, pNoRead, NULL );
dData is my Single dimensional array that the data is read into. My question is when I call DAQmxReadAnalogF64 are all 16 channels each having 32768 points being written into this array? So is my array (16 * 32768) ???
Jeremy

That is correct.  The DAQmxRead function will return an array that has the size (Number of channels in the scan list * numSampsPerChan input parameter).  So your array will be 16*32768 elements.  Keep in mind that with the value DAQmx_Val_GroupByChannel for the fillMode input, the first 32768 elements (0 through 32767) will be channel 0, and elements 32768 - 65535 will be channel 1, and so on.
-Alan A.

Similar Messages

  • I recently installed an app CARTOON HD. I stupidly clicked install as I read that it wants access to my protected data. How can I see what it wants access to and how do I delete it

    I recently installed an app CARTOON HD. I stupidly clicked install as I read that it wants access to my protected data.... I think.  How can I see what it wants access to and how do I delete it

    How do I delete it permanently if it has indeed requested my protected/personal data?

  • Error while crawling LOB contents. ( Access denied by Business Data Connectivity. )

    Hi,
    When I execute Incremental or Full Crawl I get 17000 error and only 1 success.
    The error is:
    Error while crawling LOB contents. ( Access denied by Business Data Connectivity. )
    I went to Central Admin > Security > Specify Web application Policy > Search for the service account for crawl and it's "svc_SPSearch"
    I went to Central Admin > Application Management > Manage Service Application > BDC Service > I select all the affected external sources > then Set Object Permission in ribbon > Added "svc_SPSearch" with execute rights > then
     kick incremental crawl...
    After this I still get 17000 error, 1 success.. Still an error.
    I am not sure how the crawler's trust to FAST infrastructure works.
    Your response is appreciated. Thanks!
    -Fran

    I have the same issue. 
    I have Configured the BDC Service application using SQL external content. The connection was successful and I am able to see the external content in the List "BDC Demo" . But when I search in the BDC Demo site it gives nothing.
    So I checked in the crawl logs and identified that it shows " 1 " under error. to further drill down the issue , I went to click on "1" and see the error message : Error while crawling LOB contents SharePoint 2013 .
    I have created an external DB named BCSDemo_DB for which I have granted my search Service account read& write permission.
    I have added the same account under administrators for both secure store and BCS service applications. 
    I have done index reset , done a full crawl but the error still occurs.
    Can someone please advise if I am missing something.
    Regards

  • Error in Account related information sections Access denied.(SBL-DAT-00553)

    Hi,
    I have 2 users, 1 from Spain and the other from Italy.
    The spanish user is the owner of an account and adds the user from italy to the account team section with full access to the account.
    The italian user is able to view the account. However the italian user is not able to view any of the custom objects in the related information sections below the account information.
    The error is as follows:
    Access denied.(SBL-DAT-00553)
    Both users have the same role. However, if he/she is not the owner of the account but only a 'Team' member, he's able to view the account but not the CO's below the account. I've checked the access profiles and roles and it all seems fine. Oracle support confirmed this as well as both users were able to search and view the CO records without any issues. It's just that it hits the error if it's in the related information section.
    I was just wondering if I'm missing any settings for customer team.
    Currently, I'm not even sure if Customer team functionality was built for use with custom objects in related information sections.
    Any help would be greatly appreciated!

    Hi, What i meant is, if you are using C04 - C015 objects, then ensure under related sections of Accounts in "Full" access profile, you set it as "View" or "Read-Only" instead of "No Access". "No Access" is what being set by OnDemand by default even though the access profile is named as "Full"
    -- Venky CRMIT

  • When back up to time capsule I get the message no access to backupcopyfiledisc/Volume/data/imac.sparsebundle ( error - 1 )

    When back up to time capsule I get the message no access to backupcopyfiledisc/Volume/Data/Terjesumac.sparsebundle ( error-1)

    Try #C17 in Time Machine - Troubleshooting for known fixes. Works for me as well.
    http://pondini.org/TM/Troubleshooting.html

  • I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device.  But I have a Conceptronic router.  Will Time Capsule work with this and how?

    I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device.  But I have a Conceptronic router.
    1. Will Time Capsule work with this and how?
    2. Can my printer USB be plugged in and then shared between the devices?
    3. Can I create a network and how?
    4.  What happend when a visitor logs onto my existing wireless router?
    I'm new to Macs (well a returning user having started with Mac Plus!!) and not very technical.  Any help / advice will be much appreciated.
    Ray

    The key to what you seem to want to do is to be able to get Apple's Time Capsule router to "join" the network that your Conceptronic router.  I believe that works with some third-party routers, but I've never seen a list of those that work in such a configuration and I have no experience with Conceptronic equipment.
    You might be better off with a Network-Attached Storage (NAS) device instead of a Time Capsule.

  • My Ipod has a lot of music on it! but my computer crashed and I lost all my info and data! Is there a way that i can access my Ipod's data without itunes

    My Ipod has a lot of music on it! but my computer crashed and I lost all my info and data! Is there a way that i can access my Ipod's data without itunes 

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • How can I notify staff of updated data if they do not have access to the remote data?

    We have a shortcoming on one of our major programs that will not be fixed for at least one year. I want to create a notice for staff when there are pending requests for local offices. I am using a remote view to check if there are new requests from
    local offices:
    SELECT xxx_yyyyy_request_queue.COMMENTS;
    FROM xxx_yyyyy_REQUEST_QUEUE xxx_yyyyy_request_queue;
    WHERE xxx_yyyyy_request_queue.MODIFIED_BY IS NULL
    I use the remote view as the data source for a table and have a small window that stays on top that I can see if there is an order. I trigger the remote view using a timer event.
    This is fine as a stop-gap. However, I cannot run this on the machines of the staff that need the notice: they do not have the correct version of Oracle, they do not have access to that remote data, we do not want multiple machines triggering the same query
    every 15 seconds, etc.
    Is there a way that I can notify other users of the change in the data fro the remote view. My original thought was to update a local table with the view reults and have a companion routine notify them of changes to that table. However, I do not see how
    the SQL used by VFP accomodates the "INTO" clause.
    Your help is appreciated.

    data.
    At least your query seems to get data where MODIFIED_BY IS NULL, doesn't it?
    So if the reccount is>0 there is a reason to inform your employees.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH
    http://www.tmn-systemberatung.de

  • "error in accessing Star office configuration data"

    Hi I'm posting this on behalf of someone who has Star Office 7 pre-installed on their PC. They are no longer able to open Star Office and are getting the message in the title above. Their message to me is below:
    the exact message is Star office cannot be started due to
    an error in accessing Star office configuration data
    It is not a trial version it was with the comuter when I bought it from Aldi.
    It is Version 7 Star Office. I have not recently added any more programs, or changed the way i am running the computer.
    I cannot find this issue reported in the forum. i have found a similar open office issue in the faq.
    OpenOffice.org fails to start, and the following error message appears:
    OpenOffice can not be started due to an error in accessing the OpenOffice.org configuration data.
    Please contact your system administrator.
    The following internal error has occurred: Get Storage: "No Content".
    The message often occurs because a file named Common.xcu becomes corrupted. In most cases, this file becomes filled with 0s. The problem seems to occur most often in Windows, possibly as a result of a crash or an improper exit while OpenOffice.org was open.
    http://documentation.openoffice.org/faqs/various_topics/019.html
    are they comparable? if so, could someone advise on transfering the recommended action to Star Office 7? Thanks! Nick

    Thursday 15 February 2007
    I am assuming that you are referring to a Windows system.
    SO7 and OOo1.1.x are based on the same OOo build series - 645. Most of the time comments about one apply to the other, except in the case of SO7 commercial addons. (SO8 is 680).
    The error message indicates that their is corruption in some kind in the User data found in
    \StarOffice7\User.
    The easy way to fix it is to back up the User folder, then delete it and let SO7 rebuild the user data.
    You can try backing up and deleting Common.xcu only--it's found in two places, in both the Share and User folders.
    \registry\data\org\openoffice\Office
    I suspect the one in Share is used for the creation of the one in User, but I am not sure.
    Phil

  • If i associate my apple id with another email will i lose my icloud data or i will still be able to access all my stored data with the new linked to my apple id email address?

    hi there
    if i associate my apple id with another email will i lose my icloud data or i will still be able to access all my stored data with the new linked to my apple id email address?
    i mean i am not signing up for a new account, just changing my old id primary email which is my apple id login into account.
    in other words, www.icloud.com will recognize that it is still me if i login on the site? will i be able to see there all my stored information?
    and if i change my password, does it automatically changes the @icloud.com password which should be the same as my apple id pass?
    thanks

    After opening the email it shoud of had you enter the Apple ID and password. Using certian web browser's can cause errors. You can adjust securty settings (big pain) or you use another browser. Using Firefox or Safari should do the trick.
    Let me know if using Firefox or Safari resolved it.

  • Access to JSTL localization data from java/javascript

    The core problem is very basic - I need to have access to same localization data both from JSP and Javascript code.
    I successfully localized JSP data using
    fmt:setLocale and fmt:message that read from messages_xx.properties files.
    I want to have access to same locale strings (messages_xx.properties) data from javascript code. I am going to use code like -
    <script language="JavaScript" type="text/javascript">
    var LocalizedStrings = {
    <%
    // Here we obtain strings from .properties files
    // maybe using something like
    // some_bundle = some_context.getBundle("???")
    out.println("key1: \"String 1\"");
    // printing out data from our bundle
    %>
    Could anybody point me how can I obtain the needed data, or maybe I have used the wrong library for achieving my purpose? I didn't find any such example for current library

    And finally I found an evident solution, that didn't come into my mind, cause I am new to java resources -
         <script language="JavaScript" type="text/javascript">
              var LocalizedStrings = {
              <%
                   ResourceBundle mybundle = ResourceBundle.getBundle("Messages",new Locale("en"));
                   Enumeration en = mybundle.getKeys();
                   while(en.hasMoreElements()){
                        String key = (String) en.nextElement();
                        String value = mybundle.getString(key);
                        out.print(key);out.print(":");out.println("'"+value+"',");
              %>
         </script>
    where XX is the set locale like "en"

  • ListCellFactory - how to access an object's data associated with list cell?

    I am new to javafx and building a sample app to learn the basics. The app has a list view control and used listcellfactory to create listcells. Each list cell is composed of few labels and image. I populated list view with listViewItems function, where in it sends object[]; I have my own object with data that needs to be populated in the list cell. I have hard coded the object[] and that size is reflected in list view items size. However, I am not able to populate the object data in individual labels.
    In the following code, I can only get the string representation of the object and I am unable to figure out how to individually access the object's data. Please help me with this.
    function listCellFactory(): javafx.scene.control.ListCell {
    var listCell: javafx.scene.control.ListCell;
    def offerLbl: javafx.scene.control.Label = javafx.scene.control.Label {
    text: bind "{listCell.item}"
    def descriptionLbl: javafx.scene.control.Label = javafx.scene.control.Label {
    text: bind "{listCell.item}"
    def friendLbl: javafx.scene.control.Label = javafx.scene.control.Label {
    text: bind "{listCell.item}"
    def offerImgView: javafx.scene.image.ImageView = javafx.scene.image.ImageView {
    image: imagetrial
    fitWidth: 300.0
    fitHeight: 250.0
    def offerVerticalBox: javafx.scene.layout.VBox = javafx.scene.layout.VBox {
    content: [ offerLbl, descriptionLbl, friendLbl, offerImgView, ]
    spacing: 6.0
    listCell = javafx.scene.control.ListCell {
    node: offerVerticalBox
    return listCell
    }

    If I understand you question, it should be (listCell.data as YourClassName)
    Edited by: AigarsP on Oct 21, 2010 2:10 PM

  • Accessing the output type data in rv60afzz exit

    Hi All,
    I want to access the output type data in stored in VNAST table of the program SAPLV61B from the user exit. I am doing this using field symbol. But I am not able to get it .
    data :it_xnast  like vnast OCCURS 20 WITH HEADER LINE,
            it_x1nast like vnast OCCURS 20 WITH HEADER LINE.
      field-symbols :
                <Fs1> type ZSDTT_VNAST,<Fs2> type ZSDTT_VNAST .
      data: wa_xnast type vnast, wa_x1nast type vnast.
             assign ('(SAPLV61B)XNAST[]') TO <fs2>.
             assign ('(SAPLV61B)VNAST[]') TO <fs1>.
    I have written the same code for the order user exit. There the field symbol is getting assigned with the internal table. But in case of this user exit, the sy-subrc is coming 4.
    Or is there any other user exit, I can make use of this for such requirement?
    Thanks in advance,
    Rgds.
    Madhuri
    Edited by: madhuri sonawane on Nov 30, 2009 4:32 PM

    Hi Nishant,
    I think you have not understood my problem. I want to access the internal table where the output types data gets stored at run time for the particular invoice. The code I have written is working fine in the order's user exit. That means I can access the data in order. But in the case of billing , even if that program SAPLV61B is getting called before the execution of this user exit, no data is coming in the field symbol FS1 neither and not even in FS2. I want to know is there any other user exit, where I can access the run time data of the output types attached to that invoice. or is there any other program from where I can access the output type data in the same above user exit.
    Rgds,
    Madhuri

  • HT1766 Is there way of accessing your back up data without the use of an i-phone?

    Is there a way of accessing your back up data from the computor without the use of an i-phone?

    If it wasnt activated prior icloud wont help now. Did you ever use the save and print option to "send it itunes"?  I did that all the time prior to icloud to back up my docs. Then you can "copy from itunes" in the new document dialog.
    I still recommend doing the export to iTunes to create a local back up copy on ocassion.
    For future reference, To activate icloud for documents, go into the main settings app, tap icloud, then documents and data, and turn it on. Then go to the app (maybe numbers) further down the main settings list, tap it and turn on "use icloud".
    Jason

  • I have a new mac book pro/LION and can't access my back up data when I click on "enter time machine".  I need the back up data that I could access on my old mac book pro (that is now broken). Tnx so much

    I have a new mac book pro/LION and can't access my back up data when I click on "enter time machine".  I need the back up data that I could access on my old mac book pro (that is now broken). I can only access time machine  back up data that I've obtained since starting the new mac book pro.  Tnx so much

    Try doing a click-and-hold on the Time Machine icon in the Dock, then select "Browse Other Time Machine Disks".
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

Maybe you are looking for

  • Installation problem any program that requires Adobe Air

    Installation problem I just purchased a new HP Pavilion Laptop running windows 8 If I try to install any program that requires Adobe Air I get a failure message that says "Sorry an error has occured The applcation could not be installed because the i

  • What is the best way to export the data out of BW into a flat file on the S

    Hi All, We are BW 7.01 (EHP 1, Service Pack Level 7). As part of our BW project scope for our current release, we will be developing certain reports in BW, and for certain reports, the existing legacy reporting system based out of MS Access and the o

  • OPC Comm. with a NI PCI-FBUS/2

    I lose communications intermittenly between my VB.net program and the NI-OPC Server.  (Once per week) It occurs after a long period of no use by the operator, usually overnight.  The program and network is always active 24 hours a day.  Only a screen

  • Export and import "keywords" in bridge

    Is it possible to "move keywords and comments" from one collection of images (directory) to another on a different computer? We have a collection of images (about 1000 RAW files - about 50 GB) where a client have enclosed comments and keywords in Bri

  • HT202213 Can I share audio books between computer in my house

    Can I share audio books between computer in my house