Writing only one instance (1 sec) of the waveform

Hi,
I'm trying to output the analog input and output signals (VI attached) that I obtain from the waveform graphs to .lvm files. I've used the high level Write to Measurement File express VI. However, I'm finding that the VI only writes the data in one instant of the run, i.e. the output files only have data from 0 to 1 seconds. I'm wondering whether I could change this so that, if I run my experiment for,say, 5 seconds, it would actually write the all the data from 0 to 5 seconds?
Thank you.
Attachments:
multichannel_daq.vi ‏250 KB

Hi Jorge,
Thank you for the reply. I think I've got the second first method you've told to work (placing the write to file inside the loop). However, I ran it for 16 secs and the measurement file is around 40MB. Is this normal? Given that my sampling rate is very high (15kS/s). I've attached pictures of what I've done for both the methods.
Also, I couldn't get the second method to work (because I don't know  how I could use the high level express VI Write Measurement to File with arrays), or maybe I could use a low-level VI to do it (something like what I've attached?)
Cheers.
Attachments:
lowlevel.PNG ‏20 KB
method1.PNG ‏25 KB
method2.PNG ‏15 KB

Similar Messages

  • How to restrict only one instance of web service running at a time

    Hi All,
    Have a requirement to ensure that only one instance of java web service is active at any point of time.
    Using Application Server 10.1.3.4. Not the soa suite.
    Thanks
    Saikrishna

    Thanks for the reply..
    I have a java web service that pulls up some files produced periodically from remote machine and uploads them to some doc mgmt system and then update the database that what files are uplaoded successfully so that during next run it will ignore those files.
    so, if my web service executes second time before completion of first run. It would pick files that were already processed by first run since the first run might have not updated the databse yet.
    Thanks
    Saikrishna

  • Getting Error :- Only one instance of COBRAS Export can be running at a time

    Hi All,
    I was checking the Briefcase Mode help file and it mentions for Unity Conection
    that COBRAS will run multiple instances of itself – if you schedule multiple backups to fire up at the same time they will all run at the same time.
    However if I schedule multiple backups to fire at the same time then I get the error :- "Only one instance of COBRAS Export can be running at a time".
    This also happens if the COBRAS windows is left open and the scheduled backup starts in the background.
    http://www.ciscounitytools.com/Applications/General/COBRAS/Help/COBRAS_Briefcase/COBRAS_Briefcase.htm#_Toc276653845
    I am not sure if I am making a mistake in understanding the statement :- "COBRAS will run multiple instances of itself – if you schedule multiple backups to fire up at the same time" or do we need to add any switch like lot of other application need like /m etc in the field of the scheduled backups as I see as /silent switch for process to run in background automatically but none for multiple instances.
    I am attaching the screen shots of the errors I got when
    A.) I scheduled 2 backups to run at the same time and the COBRAS application window was open "COBRASExportCUC7.exe" was running  and no backup took place and got errors for both the scheduled backups.
    And
    B.) I scheduled 2 backups to run at the same time and the COBRAS application window was closed off and "COBRASExportCUC7.exe" was not running and one of the scheduled backups started to work and the other one gave error and didn't work
    Unity Connection in use :- Version 8.0.3.20000-18
    Cobras Export :- Version 1.0 Build 76
    Please Suggest.
    Regards,
    Prad
    (E-Mail :- [email protected])

    Yeah, I’m of two minds on that – on the one hand it’s bad style to have a scheduled application popping dialog boxes (especially if you’re running as an account you don’t log in as regularly) – one the other hand I did have some sites go a while not noticing backups were failing (due to a UNC not flying any longer after a server reconfig) – folks can be bad about checking log files or the event log for issues.  A pop up would pretty much guarantee they’d notice on next login at any rate.
    I think I may stitch in email notifications in COBRAS Export in the same way they’re in the User Data Dump so failures of scheduled backups would be noticed right away (big, bright email in your box saying “failed!” would do it). 
    Either way, I’ll update the help and make sure it fails quietly for now when I update some other items on the site middle of next week.
    Thanks for the report.

  • Instead of creating multiple Instances I want to create only one Instance.

    Hi Everyone
    Good morning, How are you.
    I have a requirement to transfer files from one location to another location, I am able to do this successfully using FTP Adapters.
    I have some Issues please help any one.
    1) When I deployed my process it is creating one instance for one file transfer, Suppose If I have 50 files in my Get
    directory, After deploy the process 50 instances are creating and 50 Email generating saying files are not tranfered successfully.
    Instead of creating 50 Instances I want to create only one Instance.
    2) When files are not transferd it will fire error mail saying that not success (I want to display all file names(not tranfered files) in my mail , i.e whatever files are not tranfered, need to diplay in mail).
    3) And I am not able to transfer 0 size files, But in BPEL Console Instance is creating for 0 size file also and I am getting Email for success... and In put directory 0 size file is not showing. (Instance is creating and Success Email coming but file is not exists in Put directory)
    Please help me.
    Regards
    Venkat
    Edited by: user10263255 on Oct 1, 2008 8:10 AM
    Edited by: user10263255 on Oct 1, 2008 9:15 AM

    Hi Dharmendra,
    Thanks for your reply.
    I am not able to see any thing about singleton process in mentioned URL.
    Can you please provide me the another URL or please paste here about singleton process .
    Thanks in Advance.
    Regards
    Venkat

  • Allowing only ONE instance of a PDF to be open

    I'm trying to work out a new system for proofreading and commenting in our business using the Comment and Markup tools in Acrobat 8 Professional. I'd like to allow multiple users on a network to interact and markup a PDF easily. I'd like to make it so that one of two things can happen:
    a) Only one instance of a PDF can be opened at once on the same network. That is to say, if a user on one computer opens a PDF, another user on the network on a different computer cannot open that same PDF at all, until the first user has closed it. Also, I'm not sure if the functionality for this would be implemented in Acrobat or the operating system (Mac OS X 10.6, to be precise).
    b) Multiple users can open a PDF simultaneously, and markups and comments from all users are somehow saved.
    I'm sure it's more of a possibility for a) to happen, but perhaps I'm wrong. Anyway, I hope there is a solution out there! Thanks for all your help!

    George,
    Thank you for your helpful reply. It does appear that Shared Reviews is capable of providing our business exactly what we need in this regard. I have found that Acrobat 8 does support Shared Reviews, but it only does so with Network Folder locations and WebDAV folders as locations for comment servers. I know how to get to the process to set up Shared Reviews, but not how to designate or set up a folder as a comment server using Network Folders or WebDAV. Unless you just so happen to know about that process as well, I will post a new thread, since the problem of finding a solution has been solved, but the new problem of implementing it has risen.
    Although using Acrobat X Pro to share PDFs and collaborate automatically using Acrobat.com sounds mighty tempting...

  • PAR iView: Only one instance need to be opened by a user in a portal sessio

    Hi All,
      Please  let us know how to enforce only one instance of PAR iView is opened at a given time for a user.
    Regards,
    Gangadharayya.
    For Eg: let us say We have created PAR iview <b>A</b>. Once user <b>U</b> logs in to portal and opens A by clcking on iView link(Let us say that it opens in New Window).
            If U clicks once again on A iView link now , it is opening in one more new window.
           How to stop this scenario i.e. when user tries to open A once again, it should clsoe previous window or SOMETHING LIKE THAT

    Hi,
    How do you link to IView ? If you link with html like
    <a href="http://www.sap.com" target="_blank">SAP</a>
    try to use a target parameter
    <a href="http://www.sap.com" target="sap">SAP</a>
    If you link in this way,
    First time user clicks link,
    It opens new window
    If user clicks the link second time it just refreshes previous opened window.
    Regards
    Abdul.

  • Only one instance in a RAC will start at a time

    All:
    I have a 4 node Oracle RAC running on RHEL AS 4 64 bit. 10.2.0.1 64 Bit
    This DB was running just fine last week.
    Now all of a sudden only one instance will start.
    In the alert log I get an ORA-1102
    crsctl shows everything good
    srvctl show all node apps running
    srvctl shows all ASM instances running
    When the second instance starts the alert log shows the reconfiguration taking place.
    Then the second instance will die after getting an ORA-1102.
    I have tried deleting and re-adding all the instances with DBCA.
    ocrcheck comes back fine on all nodes.
    I have another RAC on the same set of HP Blades that is still hunky dorey so I don't know what is going on.
    Please help.

    Hi,
    check the value of cluster_database parameter
    it should be TRUE on all instances, also post ur alert log and trace file.
    Thanks
    Kuljeet

  • Best way to have only one  instance of an object in web application.

    Hello,
    I defined a class that provides services to my web application: subscribes user, check if user already subscrubed etc. The objects don't need to save any session information. So it is like a Stateless Session Bean (from what I've read about Session beans).
    The webapp is small and I don't want to use EJBs.
    What would be the best way to have one instance of the above class in my webapp ?
    Would making the class static be a good method ? Using a factory ?
    Is there a way to put in web.xml something that asks the container to instantiate an object that is not a servlet and place it in Application scope, so that I cann retrieve it whenever required in my app ?
    Other suggestions ?
    Thank you,
    Vlad.

    Hi
    The best way to have only one instance is use the singleton pattern. The idea is : the class has a private
    contructor, a public static method that returns an instance of this object and a static member that is false if not any instance and true if there si an instance.
    To obtain one instance you can do some like
    MyObject ob=MyObject.getIntance();
    this method inspect the static member and returns null if true. If false set to true and return the object
    via the private constructor.
    You can lear more at book of Gramma .... (gang of four)
    Hope this helps

  • Consumer Group/Resource Plan to use only one instance of a RAC

    What would be the way to create a Consumer Group/Resource Plan to use only one instance of a RAC? I have 10.1.0.5 database
    running on 10.1.0.5 RAC.
    Thanks,

    You should use "services" to limit workload to just one specific node of RAC:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10739/create.htm#sthref400

  • Why Left and Right Joins if only one of them can serve the same purpose?

    I understand that left join is used to display all the records from left table whereas the right join is used to display all the records from right table in a join.
    However, if we switch the positions of the join tables and perform left join we can get all the records of the left table.
    A left join B -> will give all records from A
    A right join B ->will give all records from B
    B left join A -> will again give all records from B.
    The order in which the data is displayed(ie the field order) can also be maintained in the SELECT clause.
    So, Why do we have left and right joins separately in existance, when only one of them can serve the same purpose?

    Hi,
    I think it's because it is sometime more natural to outer join on left or right.
    In your data model (or the query you are writing), there is some kind of hierarchy between tables : I feel more natural to have the table with lowest hierarchical level (the root table) on the left. So I sometimes prefer to right outer join...
    This is a very personal feeling, I must admit.
    To me what is strange is to have chosen left and right as they refer to a "latin" reading direction => forward join and backward join would be more meaningful for people that read from right to left.
    +And I prefer the new joining syntax that doesn't us the {noformat}(+){noformat} sign...+

  • Display only one instance if value is repeating

    hii everyone,
    i have a requirement i want to show following data
    no name
    1 a
    1 b
    1 c
    2 d
    2 e
    3 f
    3 g
    3 h
    in this form
    1 a
    b
    c
    2 d
    e
    3 f
    g
    h
    i.e if elements are reeating then show their only one instance
    i am using oracle 11g is there any way to write this on sqlplus??
    thanks

    Hi,
    810345 wrote:
    i am using oracle 11g is there any way to write this on sqlplus??The SQL*Plus command is
    BREAK   ON  noAfter you give this command, if the first column in the output is called no, then SQL*Plus will not show it if it is the same as the value on the line right above it.
    You may have noticed that this site noramlly compresses whitespace.
    Whenever you post formatted text (such as query output) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How do I capture tape-based media to my external hard drive?  There is only one firewire 800 port on the back of my I mac.  The manual says to import tape footage directly into fcpx, but then I lose my external hard drive.   thanks for your help.

    In FCP X How do I capture tape-based media (hdv clips)- which I want to import-to my external hard drive?  There is only one firewire 800 port on the back of my I mac.  The FCPX manual says to import tape footage directly into final cut, which works, but then I lose  my external hard drive    Do I  have to import it into an event, then copy it over to an external hard drive?  On Larry Jordan's tutorial, he has 3 external hard drives that show up on his monitor WHILE he imports his tape based media.  How is that done?  I can only get either the camera to appear OR my external hard drive.   thanks for your help.

    Thanks for your response, but that doesn't solve the problem.  Yes, the LaCie hard drive has 2 firewire ports-
    I have always done what you suggest (works fine in FCP7), but in FCPX when I do that the camcorder icon
    does not appear.  It only shows up when I DIRECTLY import the footage via firewire.  ????

  • 180 GB of my 639-GB Macintosh hard drive is used. 320 GB of my 498-GB Tie Capsule is used. Only one backup ("now") exists for the Time Capsule, which can no longer backup because of "insufficient space". How come? What is wrong?"

    180 GB of my 639-GB Macintosh hard drive is used. 320 GB of my 498-GB Tie Capsule is used. Only one backup ("now") exists for the Time Capsule, which can no longer backup because of "insufficient space". How come? What is wrong?"

    Thank you William for your most helpful response. I shall deal first with your three comments:
    Not being tech savvy, I would not have been able to make that call myself but it sure makes sense.
    I have updated my profiles as you suggest.  Excellent tip.
    This guidance is good.  Being new to Apple Support Communities, I did not find the field a labeling and guidance to be clear, a point you make.  Now I know, I shall do as you say and will use the small slim box as a header to the full message/question, which will place in the larger box below.
    Secondly, I come to your question: Did anything change on your Mac recently, such as replacing the disk or main logic board?
    The answer is “yes”.  Two events have happened both of which concerned the Time Capsule:
    The telephone company, with which I have access to the Internet and I have my email account, installed a new modum.  After the technician left I had to try and get the Time Capsule and WiFi working again which ended with my having to call Apple for technical assistance.  The Apple technician walked me through a number of procedural steps which effectively re-set up the Time Capsule. 
    Access to the Internet failed and the telephone company reset the modum.  I had to call Apple again.  This time the technician did not reset the Time Capsule but walked me through a number of steps tha included renaming the “site”  (not the Time Capsule).
    Another piece of information that may be relevant is that the MacBook Pro uses the Time Capsule for backup.  Everything appears to be in order.  When I enter the Time Capsule for this laptop I have backups going back for a long time.
    Also, I do a weekly backup of the two computers onto another external hard drive using the Time Machine software.  So I have another backup of both computers.

  • A 6 and a 6 Plus with seperate phone numbers are receiving txts sent to only one number. They share the same iTunes acct. Is this the problem?

    A 6 and a 6 Plus with seperate phone numbers are receiving txts sent to only one number. They share the same iTunes acct. Is this the problem?

    Hmm... Just found out the 6 and 6 Plus were updated to 8.1.1 today. Coincidently, that's when this started.
    Another thing is both phones ring and you can answer either one, or both. fwding is not selected.
    Thanks Kilted Tim.

  • Am I the only one experiencing battery drain with the 6.1.3 upgrade?  It went from 100% to 63% in 7 hours WITH NO USE!

    Am I the only one experiencing battery drain with the 6.1.3 upgrade?  It went from 100% to 63% in 7 hours WITH NO USE!  I've had worse luck with the i5 than the i4.  This is the first time I regret being in a two year contract.  I might add that this is my 3rd i5

    So now 12 days later and another replacement I'm still having issues and apple still isn't helping. My phone has started shutting off unexpectedly again today. Does anyone have any suggestions on where to go from here?
    <Edited by Host>

Maybe you are looking for