Multiple channel sampling and write file

Hei,
I wrote a interface which is supposed to allow me to plot multiple channel and write all those datas in a file ; The problem is that :
1- not all the curves are plot in my graph (in fact just one is ploted).
2- At the same time it write in a file but after some times it stoped due to an error : buffer size...related to the offset.
I have attached the vi, I don't understand exactly where those problems are comming from and how to solve them easily.
Thanks for the help
P.
Attachments:
project.vi ‏207 KB

Hi thanks those tips. In fact I had solved those problems mentionned above ; I have alomst finish my interface except that I am trying to write all my datas in a file , in column (all channels) and create a first column at the time (maybe from the sampling time). The problem is that I don't know the output fomat of the "analog 2D DBL" vi and it seems that my way of writing datas time step per time are not right. have you already see this kind of used (analog 2D DBL)? I am using a PCI-6229, and DAQmx 7.3 Drivers
Thanks for your help
P.
Attachments:
project_acquisition.vi ‏338 KB

Similar Messages

  • Read and write files

    i am using IE as brower,. how do i change the properties so that i can let an applet to read and write files on my system? thank you, for help.

    DON'T POST MULTIPLE TIMES!
    Proper English:
    I am using Internet Explorer as my web browser. How do I change the properties so that an applet can read and write files to my local system? Thanks for any help.
    Answer) Search on Java and security in the forum search or google. This topic is covered numerous times.
    DeltaCoder

  • Create directory and write files to it

    i have installed tomcat 3.2.3 and am using ms access as databse.
    through my jsp code i need to create random directories on the server and write files to it(need to have write access on the directories).
    how do i do it?? thanx in advance.

    You can include java.io in ur jsp page only using
    <%@ page language="java" import="java.io.File %>
    then u can create directories on the fly on the server using
    mkdir(s) method of the FILE Object.
    You will have to specify the path while creating a File object.
    You will get the application's path using
    application.getRealPath() method .... to wich u can append
    whatever u will like...
    Once u got the directory u can also create files using file object
    Hope this is of any help...
    Feel free toa sk if i could not satisfy u...

  • Read and Write Files to user from Forms Server

    We are developing an application that requires us to rread and write files to the user system. We are deploying using the developer/forms server and this is not happenning. The text_io package and the d2wkutil operate on the application server system, not the user system. So is there a method to read the file contents into the app and write files out to the user system across the web. Thanks.

    developer6 can interact with javabeans. the javabean runs as an applet on the client machine. all you have to do is setup a javabean that read and write to your client machine.
    when you test your application, work with java console open so you'll be able to debug your appliacion, if you'll receive java security execption you may need to sign this javabean. look at sun site for info regarding the usage of javakey for signing java classes and jars.

  • What do I need to do to be able to read and write files to a Seagate Backup Plus Slim Portable Drive on BOTH a Mac and a PC? I downloaded "Paragon NTFS for Mac" onto my Mac, so now I can write to the drive, but when I plug it into a PC it won't work.

    What do I need to do to be able to read and write files to a Seagate Backup Plus Slim Portable Drive on BOTH a Mac and a PC? I downloaded "Paragon NTFS for Mac" onto my Mac, so now I can write to the drive, but when I plug it into a PC it won't work.

    If the HDD is formatted NTFS, then it suggests that there is a problem with the PC.  Check with the manufacturer.
    Ciao.

  • Multiple channels acquisition and Number of samples per channel

    Hi,
    I'm a new labview user and I need some help in trasposing an old traditional NI-DAQ acquisition software in a NI-DAQ-mx one.
    I followed the tutorial (#4342) but I found a problem with Analogue 2D DBL Multiple Channels Multiple Samples DAQmx Read Vi.
    I'm trying to acquire 8 voltage signals from a NI-USB-6341 device. When the Number Of Samples Per Channel I set is below the number of channels (8), the software acquires only a number of channels equal to the number of samples per channel I set.
    Is that a normal behaviour?
    Thank you
    Daniele

    This is my code. The problem is the same with or without the code for the scan backlog indexing.
    Tomorrow I will try with the code from the example.
    Thank you
    Daniele
    Attachments:
    acq code.jpg ‏119 KB

  • How Do You Write Thermocouple Readings From Multiple Channels to One Text File?

    Hi Everyone,
    I am having difficulty writing a Labview program that allows me to combine readings taken from 8 thermocouples to one text file. I am using a NI cDAQ - 9174 with NI 9219 modules.
    Attached is a copy of my program thus far. I have figured out how to combine readings from 8 thermocouples to one waveform chart but the text file will infact be more vital.
    I am very new to Labview and only require it for this task so the simpler the solution the better. Apologies for the lack of technical language.
    Any help would be much appreciated.
    Amy

    Here's one simple possibility...
    Of course, this shows incomplete file handling, and you'll probably want to truncate your floating point values to a few decimal places. I have used this kind of operations for generating text and csv files for thermocouples, much like you are doing.
    Good luck!
    Dan

  • How to burn read and write files on DVD

    I would like to know how to burn DVDs (image files) with the Read and Write setting. I have changed the settings in Get Info for the image files to Read and Write for Owner, Group and Others and yet when I burn the DVD and try and copy the files back onto the hard drive (to test if it works or not) it won't allow me. When I check the Get Info it says Read and Write for owner (greyed out) and Read Only for Group and Others (greyed out too).
    I have also tried to change the status of the blank DVD before adding files and after adding the files (but b4 the burn) to Read and Write, this works but then during the burn process the DVD or burner changes my settings to Read Only.
    I am burning with Finder and have tried with Toast 10 Titanium. What am I doing wrong, or not doing at all?! I'm going loopy with frustration!

    Kiraly, I agree that the actual problem here might be something else, but as a side issue there seems to be a difference in the way permissions are handled when a file copy is made using Finder compared to when the copy is made using the cp copy in Terminal. At least in my Tiger system, Finder preserved the permission structure, though not the ownership, when it copied a file, whereas cp used the OS defaults.
    I tried the following experiment:
    From my test user account "t", I created a textfile named ReadWrite.txt, and gave it Read+Write permissions for Owner, Group, and Others. I then burned it using Finder to a DVD which I named PermissionTest, and then unchecked the "Ignore Ownership" box on PermissionTest.
    The original ownership and permissions were preserved on the DVD, though of course you couldn't actually write to anything there:
    xxG5-Computer:~ t$ ls -l /Volumes/PermissionTest/ReadWrite.txt
    -rw-rw-rw- 1 t t 15 Sep 13 18:25 /Volumes/PermissionTest/ReadWrite.txt
    I then copied the file from the DVD to the Desktop using Finder, and the permissions were preserved!
    Finder copy:
    xxG5-Computer:~ t$ ls -l /Users/t/Desktop/ReadWrite.txt
    -rw-rw-rw- 1 t t 15 Sep 13 18:25 /Users/t/Desktop/ReadWrite.txt
    I then trashed the Finder copy of ReadWrite,txt on the desktop, and made a second copy from the DVD, but this time I used the cp command from Terminal instead of using Finder. This time the permissions were not preserved, but reverted to the OS default:
    cp copy:
    xxG5-Computer:~ t$ cp /Volumes/PermissionTest/ReadWrite.txt Desktop
    xxG5-Computer:~ t$ ls -l /Users/t/Desktop/ReadWrite.txt
    -rw-r--r-- 1 t t 15 Sep 13 19:43 /Users/t/Desktop/ReadWrite.txt
    I then switched to a different user account "t1", and repeated the above with the same DVD, first copying the ReadWrite.txt file to the desktop using Finder, and then using cp. The ownership of the copied file changed from t to t1 in both cases, but the permission structure again was preserved in the Finder copy but not in the cp copy:
    DVD file:
    xxG5-Computer:~ t1$ ls -l /Volumes/PermissionTest/ReadWrite.txt
    -rw-rw-rw- 1 t t 15 Sep 13 18:25 /Volumes/PermissionTest/ReadWrite.txt
    Finder copy:
    xxG5-Computer:~ t1$ ls -l /Users/t1/Desktop/ReadWrite.txt
    -rw-rw-rw- 1 t1 t1 15 Sep 13 18:25 /Users/t1/Desktop/ReadWrite.txt
    cp copy:
    xxG5-Computer:~ t1$ cp /Volumes/PermissionTest/ReadWrite.txt Desktop
    xxG5-Computer:~ t1$ ls -l /Users/t1/Desktop/ReadWrite.txt
    -rw-r--r-- 1 t1 t1 15 Sep 13 19:51 /Users/t1/Desktop/ReadWrite.txt
    I got similar results when I tried copying a file with Read+Write permissions for all from a USB flash drive to the Desktop, again with the "Ignore Ownership" box unchecked.

  • How do I read and write files on a mac?

    On my windows it's easy, but when I try to write files and read them
    on a Mac the filepath is always wrong. I want to write to my
    "Documents" folder, and when I do /Documents/Hello.txt as a filepath
    it gets it wrong. I don't know why it won't work because I'm not too familiar
    with macs yet. Any help with the filepath problem?

    Your Documents folder is not /Documents. It's /Users/your_user_name/Documents

  • How read and write file

    Hi
    please help me
    How to read and write data from file in j2me

    hello, u are looking to write some persistant data to a file on the mobile phone? Its the next step for me aswell. You can use the recordset function.
    I'm looking at this site: http://www-128.ibm.com/developerworks/library/wi-rms/
    It seems every time you use the function you must use try catch blocks. I hope this is what you are looking for.

  • Separate drives for samples and audio files..?

    Hello all
    I am moving to Macbook Pro (previous gen) with Logic Studio after years of PC (feel like I’m standing on the edge of a precipice staring anxiously down!). Will be looking to use it live in our 3-piece band to run existing MIDI Files and live triggered BFD drum samples
    Have decided on getting an Echo AudioFire 8 to handle the necessary Audio outs and MIDI connections and will be replacing our rather dated Korg 05R/W General MIDI module with virtual instruments / samples libraries
    I am thinking that once the Bass (probably Orange Tree CoreBass samples through Kontakt 3) and Orchestration (still wide open to suggestions on that!) are done, they’ll be exported as Audio files or perhaps ‘frozen’ in Logic to ease the load on real-time processing
    Here’s the query then:
    *Assuming that the internal drive will be for OS and programs only, will having the sample libraries and exported audio song files on separate physical drives from each other pay dividends – particularly when considering that the audio tracks (probably no more than two or three stereo files) will be streaming whilst BFD is triggering live samples via MIDI input..? I’m wondering if the samples and audio separate drives situation will be considerable beneficial, or given the intended application, would this approach be merely over-speccing things?*
    If that is thought to be the best approach, what do you believe to be the best way of hooking these up? I plan on using the FW400 port for the Echo AudioFire 8 and have ordered a Sonnet Express eSATA Card to hook up an external drive. Should any additional drive look to use the FW800 port or should I simply tag into the spare eSATA port on the Sonnet Express Card..? My concern with the latter is that a bottleneck would occur in the Express port and defeat the whole object
    I would really appreciate any thoughts on this
    Many thanks
    Clive

    My opinions:
    If you're really only talking about 2-3 audio tracks per song, having them on a separate drive is not going to make that much difference. I'd recommend just using one drive for both audio and samples for now, you can always add another hard drive later if you're getting disk errors, or if you start using more audio tracks.
    If you're looking for a good orchestral library, I recommend Vienna Symphonic Library Special Edition (about $500). VSL sounds great, and this particular set is much cheaper and still gives you a good amount of instruments/articulations.
    If you do go with a third drive, use both eSATA ports. Even with a little bottlenecking, you should see substantially faster performance than with FW800. The data transfer rate of eSATA is over 3 times that of FW800.
    Message was edited by: jdredge

  • Open and write files

    I have to open a file on the server and then save it, but I can't create a FileInputStream object. I know applets are denied file access on the client machine. So I am trying to open and save it in the same applet diretory.
    I'm trying to do this:
    file = new File("File Name");
    strm = new FileInputStream(file);
    What is wrong?

    Applets can read from the HTTP server. But most if not all HTTP server don't allow write access (for obvious security reasons). And of course they can't read/write to the local client disk.
    What you need is client-side code that accepts your input (through HTTP our your own custom protocol or ...) and writes it to the server filesystem (or even better: the database).
    That same code can provide the Applet with data to read.
    Best choice there is Servlets/JSP. Apache's Tomcat server is a great free Servlets server.
    http://jakarta.apache.org/tomcat

  • Create OS directory and write file from BLOB

    Hi,
    i want to create via a stored PL/SQL procedure a directory in an OS filesystem (Windows NTFS) and afterwards write a file (Type: DOC, PDF, ...) from a BLOB table to that directory.
    The filesystem is one to the node (where the database instance 10g is running) mapped fileserver directory.
    The complete environment is Windows XP (node of the database instance and the mapped fileserver directory).
    Maybe i have to use a Java stored procedure - if yes, where can i find an appropriate example and documentation?
    Has somebody an idea how to achieve this?
    Many thanks in advance.
    Best regards,
    Martin

    You can find lot of java stored procedures samples here
    http://www.oracle.com/technology/sample_code/tech/java/jsp/oracle9ijsp.html
    And java code to create a directory is here.
    http://javaalmanac.com/egs/java.io/CreateDir.html

  • How to read multiple Digital samples and plot a chart with time stamps

    Hi,
     Could anyone send me a code that:
    1. Reads 'multiple samples(lets say 4) from single digital input' 
    2. 'plot digital data as a chart with time stamps'
    3. Find frequency
    4. Log data into file with time stamps
    I have attached the code which i tried.
    Thanks,
    LK
    Attachments:
    DigitalNSample.vi ‏27 KB
    DigitalNSample.vi ‏27 KB

    Hi,
     Could anyone send me a code that:
    1. Reads 'multiple samples(lets say 4) from single digital input' using NI USB 6009 or NI USB 6251.
    2. 'plot digital data as a chart with time stamps'
    3. Find frequency
    4. Log data into file with time stamps
    I have attached the code which i tried.
    Thanks,
    LK
    Attachments:
    DigitalNSample.vi ‏27 KB

  • How to open a file, change the name and write file

    Hi,
    I want to open an existing .dat-file in Labview, manipulate the data and save this data into a new file with a different file name.
    Though the name should be different I would like to use the old name and add something to it.
    (In my programm the .dat file containes the date and time the data was
    measured and I would like to keep this information in the filename.)
    For example: the original title is file1.dat now I want to save it as file1_manipulated.dat
    Is that possible? What is the best and easiest way to do it?
    Thanks a lot
    Chris

    Hi Mike,
    thanks for your help.
    This will give me my path in string format. But to open a new file and then write my data into it, I need a path format (see right side of png)
    Is that right?
    I attached a png, so you hopefully get an idea where this is going. (I know this won´t work yet)
    I open a file and this filename depends on the date and time the data was recorded. So I can´t work with a stringconstant.
    Sorry for this beginner questions - this stuff is absolutly new to me.
    Thanks in advance
    Chris
    Attachments:
    newfile.png ‏11 KB

Maybe you are looking for

  • System Recovery didn't finish and now I can't log into my computer. Help please...

    My touchscreen was not working so I tried different steps to fix it and still nothing. So I did a System Recovery and still nothing..So then I did a System Restore to completly wipe everything out back to factory settings...and after I did it I tried

  • "Baud Rate" AttrId not found for CAN frame API's ncGetAttr and ncSetAttr

    Hi, Well, everything is in the Subject : "Baud Rate" AttrId not found for CAN frame API's ncGetAttr and ncSetAttr Although it is listed in the LabVIEW Documentation,  it is not in the enum's items gotten from `right click` -> `create` -> `contsant` o

  • Isql*plus DBA logins

    I want the steps required for configuring isql*plus for dba logins, when i connect to the following url: http://192.168.1.203:5560/isqlplus/dba/dynamic it prompt me for a username and password, how to setup this dba username and password

  • Owner of table

    I am trying to get the owner of a created table test but it shows no rows selected, as my table is having 8 rows already. please see below and assist me where I am wrong. SQL> select * from test; FLAT_MEMBERS_ID FIRST_NAME LAST_NAME AGE 1 Himanshu Gu

  • Printing crashes Safari, Firefox, Chrome

    I can print from Adobe Illustrator, but ALL BROWSERS immediately crash as soon as I go to PRINT. This is maddening and I'm looking for a way to fix it. Oddly, I can print from my MacBook Pro laptop running Lion with the same printer, but browsers cra