Read spreadsheet file for Analog Out Profile using DAQmx

I am trying to read a .txt file in, then output the Analog out profile (Daqmx) vs. time.  The first column is time is (ms) in .001 sec increments.  The second column is the Analog out voltage I want to output.  I want to read the profile in, and ouput the a Analog out voltage incrementing in .001 sec intervals (or whatever the time increments are in the .txt file).  The problem I am having is, it reads in the whole file and outputs it in a fraction of a sec, instead of incrementing by the time.  I attached a screen shot of what I have.  Any help would be great. Thanks 
Attachments:
screen shot read.jpg ‏75 KB

You are reading the timing but not doing anything with it. You've specified Analog Wfm 1Chan NSamp for the DAQmx Write but you did not create the waveform data type. Use the Build Waveform function on the Waveform palette and wire in your array to the Y (waveform component) input and the time interval to the dt input.
Message Edited by Dennis Knutson on 04-06-2006 08:56 AM
Attachments:
Build Waveform.JPG ‏6 KB

Similar Messages

  • Looking for Analog Out example using DMA and C++; cannot find sample "GenMultVoltUpdates_SWTimed"

    Looking for example for Analog Out to multiple channels using DMA and C++.  Found reference to sample "GenMultVoltUpdates_SWTimed" which I do not have and cannot find.

    Hello Gerry,
    When you install DAQmx, there is an option to install
    support for Measurement Studio.  When you
    select this option, it will install these examples onto your hard drive.  All of the examples can be found at the
    following location: (C:\Documents and Settings\All Users\Documents\National
    Instruments\NI-DAQ\Examples\DotNET2.0\Analog Out\Generate Voltage)
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • Store Critical: Unable to read index file for user/mailtest: System I/O err

    more imap
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&V4NXPnux-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&XfJT0ZAB-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&g0l6Pw-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/test: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:52 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&V4NXPnux-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&XfJT0ZAB-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&g0l6Pw-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:54 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/test: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:36:58 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&V4NXPnux-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&XfJT0ZAB-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/&g0l6Pw-: System I/O error. Administrator, check server log for details.
    [27/Nov/2007:13:37:00 +0800] e69-1-c imapd[5984]: Store Critical: Unable to read index file for user/mailtest/test: System I/O error. Administrator, check server log for details.

    whr25 wrote:
    root@e69-1-c # ./imsimta version
    Sun Java(tm) System Messaging Server 6.3-0.15 (built Feb 9 2007)
    libimta.so 6.3-0.15 (built 19:27:56, Feb 9 2007)
    SunOS e69-1-c 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-FireThis is an old release of 6.3, you should be planning to upgrade to proactivly prevent known bugs.
    prstat
    2255 mailsrv 407M 310M sleep 59 0 0:00:44 0.0% imapd/3Not 3GB. Of course if you had just restarted messaging server as you noted below then that isn't unexpected.
    I'm restart Messaging Server,I't is not problem
    This issue is about two days after the RuningWhen the problem does occur what is the prstat output? The size of the imapd processes will increase over-time depending on the number of people accessing the store via IMAP, and the size of the mailboxes (store.idx files) they are accessing.
    Regards,
    Shane.

  • In HTTP log:  Store Critical: Unable to read index file for user/ uid

    All:
    Sun Java(tm) System Messaging Server 6.2-7.05 (built Sep 5 2006)
    libimta.so 6.2-7.05 (built 12:18:44, Sep 5 2006)
    We recently have started to see the following errors in our http logs:
    [01/Mar/2007:13:03:43 -0500] httpd[5174]: Store Critical: Unable to read index file for user/<uid>: System I/O error. Administrator, check server log for details.
    It's occurring a couple of different times during the day to certain users. Then it won't happen for days to anyone, but then start up again. I saw a similar thread to this re: IMAP and I'm curious if http could be having the same problem. We increased the number of process of http (from 2 to 4 a few months ago) but kept the same maxsessions (6000), so maybe I need to change the maxsession to something lower? We only started to see the I/O error two weeks ago We're not seeing the error in imap logs. Also there's no errors in the default log related to the users that receive this in http.
    I'm planning on running a reconstruct -m in the mean time to see if that helps. There have been no changes to the server or application for quite some time. Any thoughts?

    Yes, http can have the same issue. Yes, lowering the maxsessions from 6000 is the answer, IF it's the same problem. Likely, but not guranteed.
    If you actually look at the store.idx for that particular user, what do you see? Is it near 2 gig? If so, then the user needs to either delete some messages or move some to another folder, as 2 gig is the limit for the store.idx file.....
    jay

  • While signing a .XML file a message "cannot read the file for signing" is displayed. What is the solution.

    An official site incometaxindiaefiling.gov.in requires .XML files to be uploaded. When .XML files are uploaded without digital signatures there is no problem. When digital signatures are required for signing the same a message 'CANNOT READ THE FILE FOR SIGNING" is displaced. It happens with CHROME and IE also. The solution which I have devised is that I copy the .XML files in a folder called FAKEPATH in C: drive and pick the file for signing from this folder. The browser allows the file to sign with digital signatures. What is the solution.
    Ashish Goel

    Ashish,
    You might want to submit this feedback at https://incometaxindiaefiling.gov.in/e-Filing/Services/Feedback.html instead.

  • How do I store 4 hours of data and get them out of the "while loop" into a spreadsheet file for documenting purposes? "See additional Text for additonal info"

    What a have is a VI that uses the following SUbvi's, starts with FP OPENvi, then FP Create Tagvi, into a "While Loop" which contains a FP READvi outputting data into a INDEX ARRAYvi outputting to a Display (DBL). This shows the output of a FP-AI-100 monitoring a 9v battery. I have to monitor this battery for a 4 hour period my problem is storing the 4 hours of data and getting it out of the "while loop" into a "Write to Spreadsheet File vi" all I seem to accomplish is just one data sample which I get into a spreed ship file with no problem. I just can't get 4 hours worth. By the way this is my first VI and I'm sel
    f trained so have mercy.

    I figured it out Thanks.
    John Morris
    Glendinning Marine

  • Reading spreadsheet file with varying number of delimiters

    Dear Forum,
    I wish to read in a spreadsheet file (text) generated by some 3rd party programme. It turns out that while the programme generates columns separated by spaces, the number of spaces between columns varies in a fashion I have yet to disentangle. This is not a problem if I wish
    to read in the file in excel (or equivalent) - but LabView's "spreadsheet string to array" functions doesn't seem to be able to cope with it - if I enter "space" as the delimiter it accepts only a *single* space... is there some way to indicate "zero or more" spaces to this function ? [I know I can make a bunch of loops and read the items one number at a time, but this is very slow, so I'd prefer to avoid it]
    Thanks,
    Niels
    Solved!
    Go to Solution.

    You can do a search and replace. Search for any number of spaces and replace them with just one and then use the Spreadsheet String To Array function.
    Use the + to search for one or more.
    Be sure to set the Search and Replace setting for "Regular Expression" Right click options.
    But that might not always work if there are columns that are empty.
    Post an example of the text file that you are working with from the 3rd party software. 
    +
    Marks part of a pattern as one that can appear one or more times in the input. For example, be+ matches be in believe, bee in beep, and fails (no match) with bat.
    Omar

  • Reading back file for analysis purposes controlling X-axis

    Alright, I lose using labview.  I use it for a ton of different projects at work.  I have been fooling around with this for a while and maybe I am just missing it.
    Here goes, in one of my applications I record 4 AI channels at various rates (6, 600, 6000) Hz, I write the data to three different files depending on the record speed.  I create a .txt file using the "write to file" wizard.  I check the option to use one time column.  In the end I get a nice file with 5 columns the first being my time, and the other four being the data on the 4 AI channels. 
     Now I am trying to read this file back to graph and perform some analysis on it.  I have tried this a few different ways, with using charts and graphs.  My question is is there anyway to grab that first column and set it as my x-axis.  Right now the x-axis really dosn't make much sense.  Even if it graphed it as a sample number would be good.  Any help would be greatly appreated.
    Thanks
    Chris

    Hi Chris,
    attached vi will read your data...
    When you rename your txt to .lvm you may also use the "Read from measurement file" function. As I'm not using the dynamic datatype (DDT) (so far) I don't know how to separate the single signal from the output - but it is shown in the properties dialog...
    "Spreadsheet string to array" is located on the string palette - like any other string function too
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    Read_Data_LV85.vi ‏81 KB

  • How 2 read two files from 2 diff. directories, using single adapter

    How 2 read two files from 2 diff. directories in same system, using single file adapter.

    you can use advanced selection for source file
    see
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

  • Reading/monitoring file on each update by using java code

    Hello, Thanks for help in advance..
    I want to read a log file automatically on each time when log file get update . Actually i am reading that file one time but i have to read that file when log is added to that file.
    Thanks

    File change notification is not supported on all os yet.
    So I do not think it is available in java. You may have
    to write in C/C++ code for os which supports this feature.
    Or use file monitoring tools.

  • Read EDS file for EtherNet IP

    Hi friends,
    I need to check the EDS file for EtherNet IP communication. I want to read the EDS file, verify the vendor details and parameters that are being written into the EDS file for a verification purpose.
    Is it possible to read the EDS file for EtherNet IP?
    Regards,
    Ganesha Moorthy
    Solved!
    Go to Solution.

    Hi gnshmrthy,
    The example posted from the KB should work with your EDS file.  I was able to successfully use it with the default values for the section (Device) and key (VendName).  I think you are running into issues because you are using an invalid value for the Key.  In this image, I'm using a red arrow to point to the section and I'm circling the different keys that are valid. 
    Following this you should see results like this:
    Let me know if it works!
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • Newbie question -  How to read all files for a backup

    Hello all,
    I have two users on my iMac. I am an administrator and the other user is a Standard user.
    From my account, I wish to run backup software that will backup the entire "User" directory. The problem I am having is that when I run the backup software (fyi: iBackup),
    it complains that it cannot read the files in the other user's account.
    I notice that when I browse to the other user's account, all the directories in their home folder are locked.
    How can I run my backup software so that it can read all files in the User directory?
    Thank you kindly!
    Jeff
    17" iMac Core Duo   Mac OS X (10.4.6)  

    Hi kneecarrot !
    I don't know if this will suit your needs, but one easy way of backing up other user's stuff is via the terminal . If you have an admin accountm just use:
    sudo ditto -rsrcFork /Users /Volumes/"nameof_anotherharddrive"/Users
    This will perform an identical clone of all your users home direcories for backup purposes. To restore the bkd'up files, just reverse the lines:
    sudo ditto -rsrcFork /Volumes/"nameof_anotherharddrive"/Users /Users
    ATTENTION: Be aware that it will restore the files to the exact structure and contents it was when backed up, erasing all new and modified files!! You may however copy just the files/folders you want to recover, e.g.:
    sudo ditto -rsrcFork /Volumes/"nameof_another_harddrive"/Users/"usera"/Documents /Users/"user_a"/Documents
    IMPORTANT: As with all terminal commands... be careful, think twice and double-check the syntax. You may want to test with non-critical stuff or demo user accounts first.
    Good luck,
    Michael
    MacBook Pro   Mac OS X (10.4.6)   2 Gig RAM

  • Read raw files for nikon d5200 camera

    I have given up using raw files for several Nikon bodies such as the d5200 on Adobe software since Adobe no longer supports these files even with the updates that are supposed to support these files.  I can open the raw files fine using Nikon software to work on them and then save them as a tiff or jpeg to be used in photoshop, but this seems rather time consuming plus I lose the advantage of working on raw files in Photoshop.  You would think that a company like Adobe would make it easy to open raw files for all cameras.  Some bodies like the Nikon d300 raw files still work fine on Adobe software.

    ACR (Adobe Camera Raw) versions are specific to different versions of Photoshop.
    According to this link on Adobe's website regarding supported cameras
    The Nikon 5200 required at least ACR 7.3, but you need Photoshop CS6 to run ACR 7.3 It won't work with older versions of Photoshop.
    Camera Raw plug-in | Supported cameras
    You can download the latest version of DNG Converter and convert your 5200 files to DNGs that can then be opened in earlier versions of Photoshop.
    Here is the link for Windows: Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.4
    Here is the link for Mac: Adobe - Adobe Camera Raw and DNG Converter : For Macintosh
    The DNG Converter only works on folders of files, don't try to select an individual file to convert, Choose the FOLDER.

  • Displaying multiple analog input channels using DAQmx READ commands.

    I am using a NI USB-6009 module in a hydraulic load test stand.  I want to read multiple analog voltage inputs and display them on my front panel.  Using DAQmx commands or DAQ assistant, LabVIEW will only let you have one READ command for the analog inputs.  Can someone point me to an example or give me some ideas on being able to display at least 3 analog inputs?  Thanks.

    With the DAQ Assistant, when you get a list of 'Supported Physical Channels', look at the bottom of the window. It says "<Ctrl> or <Shift> click to select multiple channels. When you use the DAQmx Create Channel and have a physcial channel control/constant, click the little arrow on the right side of the control/constant, select browse and use the same <Ctrl> or <Shift> click technique. If you want to enter the channels manually, the format is Dev1/ai0:2 for consecutive or Dev1/ai0,Dev1ai3 non-consecutive channels.

  • How can load properties file for one time and use in entire application

    Hi folks,
    I dont want to read properties file every time , and want to get property value in any servelet or jsp page.(means i want to read only property file only for once and want to get value in any where ) , how to do this.
    Message was edited by:
    RajeshwarReddyT

    means we have to read file every time Know but i dont
    want to be happen that ??? No you don't . You read the file once. You store it in the hashmap. Then you hand that hashmap to whatever class needing the data.
    getProperties() returns the hashmap, doesn't read the file.
    Maybe I should have called the method getMap or something.
    Message was edited by:
    karma-9

Maybe you are looking for

  • Can I use more than one database connections in a jdeveloper project?

    I use jdeveloper version 9.0.4.0 (build 1407),Can I use more than one database connections in one jdeveloper project?

  • Problem in formatting with XSLT

    Hi - I am using xslt to format my xml file. Below is teh code that i worte. The structure and teh xslt file are both shown below. The airport has an attribute called name. The problem is while displaying the text in the record element, I should also

  • IMAC 2009 THUNDERBOLT Pegasus R6 EXTERNAL MONITOR

    I have an imac late 2009 and i would like to know if it is possible to connect a thunderbolt cable from the mini display port to a promise pegasus R6 which is then connected to an external monitor ? Thank you

  • Crash in ld-linux.so.2 after updating OpenJDK6

    Hi, Yesterday I (automatically) updated my package version of OpenJDK6 from 1.5-3 to 1.5-4. When I try to run a board game client, OpenJDK halts. To reproduce, install the BrettspielWelt-client from their download page and unpack it. Then run Brettsp

  • Seek to a particular location for MONO sounds not working in AS3

    Hi Guys, I am facing an issue seeking to a particular location for MONO sounds with sample rate 22KHz. Another thing I observed was that there is a problem seeking to positions greater than half the total length of the actual sound, otherwise it is w