Changing from finite to continuous samples and vice versa?

Hello,
I have a problem which I'm trying to overcome: I have a measurement system consisting of an analog output and reading two analog inputs. I would like to run it continiously to monitor the current values (without saving the previous data), however, when I click something like a record button, I'd like to start a recording of a predefined period (like a finite samples measurement) and then restarting the monitoring without saving again.
Currently my measurement program is based on the examples "Continuous AO" and AI vis, and are made with continuous sample mode and while loops. How can I insert a record button?
I tried putting event handlers in the measurement loop, however it suspended the loop from running.
I attach a screenshot of my current measurement loop. (With the shift register I tried to read data, however I cannot get it out of the loop, until the loop is stopped)
Thank you in advance
Engage! using LV2012
Attachments:
question.png ‏81 KB

I have tried adopting something similar, however it doesn't work the way it should. (Or at least the way I think it should) Could you please help me ironing it out? I've seen some vis on the internet with queue-controlled (but only one-way) and tried adopting them.
The MainProgram vi is the app, with some settings (now limited to a signal file selection and channel settings). Then the data acquisition can be started by clicking the Start Acq button.
And here come my problems: first sometimes the queue starts, sometimes it doesn't (or at least it doesn't start the data acquisition). And the main point: I set the sample rate, yet it is acquired at a much-much slower rate (my signal has a period time of 4 seconds, yet it needs at least 20 seconds to get near finishing). And the strangest: sometimes, mostly after some time (about 1-2 min) it hangs and does nothing with the daq (yet labview seems responsive, just my program hangs somewhere).
So now only the controlled acquisition is in the problem and first I don't care about forwarding the data for analysis and saving. (That seems to be the smaller problem).
What am I doing wrong? Thanks for your help. 
I attach all the files.  (MainProgram is the app itself, MY.SIGNAL is the signal file I want to output.) I use a USB-6211 device. (at work a physical one, at home a simulated one).
Engage! using LV2012
Attachments:
queued_daq.zip ‏366 KB

Similar Messages

  • Dynamic data flow from sales order to delivery and vice-versa

    Hi Experts,
    One of our teams working for a client (transportation industry) on ECC 6.0 is facing an issue in relation to copying of partner data. (Ship-to-party address field changes to be precise)
    Currently, whenever the partner address data changed in a Sale order, though delivery is already created prior to this change, the change done is dynamically getting reflected in delivery too. Further, if the partner data in the delivery is changed, this also is getting updated on the preceding document i.e. sales order.
    We have checked the copy controls under VTLA and didn’t find any specific modifications made in this regard. Our question is:
    Is there any configuration available in standard SAP through which the data updates (like header data viz. partner field data etc.) get dynamically updated forward and backwards in a sales flow(i.e. from sales order to delivery and vice-versa)
    Your help on this will be highly appreciated.
    Regards,
    Jagan

    if the partner data in the delivery is changed, this also is getting updated on the preceding document i.e. sales order.
    The standard functionality is if you change the address of a partner function, the same will get reflected in an existing sale order.  This being the case, can you reconfirm your statement that in delivery, if you change the partner function, the same will get updated in sale order also?
    G. Lakshmipathi

  • I have the iPhone 4S and my daughter has the iPad 2, we share one Apple ID, is there anyway to stop her text messages from appearing on my iPhone and vice versa?

    I have the iPhone 4S and my daughter has the iPad 2.  We share my Apple ID.  Is there any way to stop her text messages from appearing on my phone, and vice versa?  She doesn't need to be reading my texts!

    no, there currently is no way of doing this. You can only create a second Apple ID.

  • How to transfer texts from text control to table and vice versa

    Hi
    if anybody can give me link or any code giving how to transfer text from text control to table and vice versa, that will be of great help to me
    THanks in advance

    Rashmi,
    Use the methods GET_TEXT_AS_R3TABLE / SET_TEXT_AS_R3TABLE and then you will have to use the SAVE_TEXT to store in the database.
    The GET_TEXT_AS_R3TABLE method will give you back a internal in which text, in which text on the screen is existing. Similarly once you fetch the data from database using READ_TEXT, use the method SET_TEXT_AS_R3TABLE to put the text on the screen.
    These methods belong to class CL_GUI_TEXTEDIT class.
    Regards,
    Ravi
    note : Please mark all the helpful answers

  • How to convert from UNICODE (UTF16) to UTF8 and vice-versa in JAVA.

    Hi
    I want to insert a string in format UTF16 to the database. How do I convert from UTF16 to UTF8 and vice- versa in JAVA?. What type must the database field be? Do I need a special set up for the database (oracle 8.i)?
    thanks
    null

    I'm not sure if this is the correct topic, but we are having problems accessing our Japanese data stored in UTF-8 in our Oracle database using the JDBC thin driver. The data is submitted and extracted correctly using ODBC drivers, but inspection of the same data retrieved from the GetString() call using the JDBC thin driver shows frequent occurrences of bytes like "FF", which are not expected in either UTF8 or UCS2. My understanding is that accessing UTF8 in Java should involve NO NLS translation, since we are simply going from one Unicode encoding to another.
    We are using Oracle version 8.0.4.
    Can you tell me what we are doing wrong?
    null

  • How do I sync my event colors from treo 650 to iCal and vice versa?

    heres the deal:
    in using iCal and my Treo 650 (Verizon), I have been iSyncing the two together. While all the data and calendar events, contacts from Address book, tasks from task list transfer no problem, none of the event colors sync up. If an event from iCal is marked red, it moves to the Treo in "unfiled" gray. If the event is on the Treo and moves to the iCal, it is automatically shuffled under the default color code in the Options category.
    If the event is on both the Treo and iCal as red, and I edit the iCal version and then sync the two, it changes the Treo version back to "gray", even though both tools have the same color options and the same categorizations. although this sounds like a small glitch, I run a tour guiding business with multiple tour guides and the color coding is crucial to my PDA, so its driving me absolutely crazy. I bought my Treo with the promise that everything would sync up with the iCal, and it wont.
    What do I do?

    The behavior you describe is a characteristic limitation of the iSync Palm Conduit.
    The Missing Sync for Palm OS from Mark/Space supports categories and groups, and therefore—on advanced Palm OS devices like your Treo 650 smartphone—calendar colors. You can learn more about this application here:
    http://www.markspace.com/missingsync_palmos.php
    The Mark/Space Knowledge Base says this about categorization:
    Calendars and Categories
    • iCal events are assigned to a Palm category with the same name as the calendar they are part of. If the category does not exist on the Palm device, the Events conduit creates a category with the calendar name and assigns the event to that category. If that category cannot be added—due to space limitation—the event is added to Unfiled.
    • Palm events/tasks that are in a specific category are sent to that calendar in iCal only if a calendar with the same name as the category exists. If the calendar does not exist, the record will be sent to the calendar that is chosen in the conduit configuration sheet. If the calendar is read only, the event/task will be ignored.
    • On the first synchronization of read-only calendars, the items are properly assigned to the correct category on the device. If any edit is made to an item in a read-only calendar the change is ignored but will persist on the device until something forces it to be overwritten by data from the desktop, for example: if the read-only item was updated. If an item is assigned to a read-only calendar it will be switched to the calendar you have selected in your preferences.
    • Calendars listed in the conduit settings are pulled from Sync Services, meaning that if iCal has not finished synchronizing with Sync Services the full list of calendars may not be read.

  • Data from R/3 to APO and vice versa

    Hi,
       Does anyone know what data is usually sent from R/3 to APO and from APO to R/3?
    Thanks

    Hi Disha,
        could you please let me know what is PPM and also what data is transferred back to R/3?

  • Same MessageID  from sender(Webservice) --  PI --  ECC and vice versa

    Folks,
    We have a sender and receiver  webserver which has its own monitoring system in it and it tracks messages by means of Message ID which it creates .
    Now this web service when hits PI it sends the message ID in a field in payload.
    The message ID which the webservice sends is now different then which is created in PI as the  message propagates
    The same message ID is created in ECC as we all know .
    Now Our problem is we are  finding it difficult to track messages from webservice Outbound as well as inbound
    If there are 100 messages we have to search on the basis of time only , we cant search on message ID
    My question is can we have a unique message ID throughout the scenario.
    ( i.e webservice -- PI-- ECC and ECC -- PI --Webservice)
    Please  help
    thanks
    Ninad

    Thanks Gouri ,
    In case of webservice sender the webservice sends a message ID in a payload ( they have there own monitoring using there own message ID )
    Being in Support , I get a call that message belonging to  xxxxx message ID has failed. Now when I look in SXMB_MONI
    I see 1000 messages between same sender and receiver.
    I have to check payload and check the said message ID and then find the message , this is Cumbersome
    hope we find some better approach
    Thanks
    Ninad

  • Synching Contacts from Outlook (2003) to Iphone and vice versa

    Can anyone tell me how I can have edited contacts update same contact on the Ipohne and how can I get edits or new contacts I enter on my Iphone to add or change on my Outlook.  Other smartphones I had were able to perform this function.  Help anyone?

    Yes, Outlook is normally where the iPhone gets its contacts when using Windows. If the contacts are on an Exchange server and you set up mail, contacts and calendar (in Settings) on the phone to point to the server it will happen automagically.
    If the contacts are only on Outlook and you do not sync to an Exchange server they contacts will sync when you sync the phone to iTunes by cable. There is a one-time setup step; tap on the Info tab in iTunes when the phone is connected and check the box to sync Contacts.
    BTW, this is not a copy. It is a sync. Changes made on either side are copied to the other on the next sync or via push if through Exchange.
    Message was edited by: Lawrence Finch

  • Attachment from webdynpro abap to workflow and vice versa

    I added  the attachment using the following code from my webdynpro abap application:
    DATA: lv_xstring TYPE xstring,
            att_id TYPE swr_att_id,
            ls_msg_ln TYPE TABLE OF swr_messag,
            ls_msg_str TYPE TABLE OF swr_mstruc,
            lv_objkey TYPE swr_att_doc_id,
             ls_header             TYPE swr_att_header.
      lv_xstring = lv_file.
      ls_header-file_type      = 'B'.
      ls_header-file_name      = 'Attachment'.
      ls_header-language       = sy-langu.
      CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
        EXPORTING
          workitem_id          = lv_wi_id
          att_header           = ls_header
         att_bin              = lv_xstring
         do_commit            = 'X'
       IMPORTING
         return_code          = rc
         att_id               = att_id
    TABLES
       message_lines        = ls_msg_ln
       message_struct       = ls_msg_str .
    I see the attachments in the workitem but am unable to open the attachment.
    Another question is how can I show the same documents in another webdynpro application as attachments.
    Thanks,
    ST

    Hello,
    Try specifying file_extension = 'DOC' like in this thread (see Pavan's code about halfway down) :
    attachment to _Attach_Objects in user dicision step
    regards
    Rick Bakker
    Hanabi Technology

  • MFP Anomaly Detected Access Points are moving from one wlc to another and vice versa

    Hi together,
    a customer has lost some Access Points to another WLC with 7.2  and then they come back after 15 minutes to the origin WLC with 7.5
    Attached the messages
    MFP Protection is configured as optional
    152
    Wed Nov 27 05:33:26 2013
    MFP Anomaly Detected - 1 Not encrypted event(s) found as   violated by the radio 58:bf:ea:0f:67:4a and detected by the dot11 interface   at slot 1 of AP 58:bf:ea:0f:67:40 in 300 seconds when observing . Client's   last source mac 70:11:24:e4:43:0f
    153
    Wed Nov 27 05:31:40 2013
    AP Disassociated. Base Radio MAC:88:43:e1:56:91:d0
    154
    Wed Nov 27 05:31:40 2013
    AP's Interface:0(802.11b) Operation State Down: Base Radio   MAC:88:43:e1:56:91:d0 Cause=New Discovery Status:NA
    155
    Wed Nov 27 05:31:33 2013
    AP Disassociated. Base Radio MAC:58:bf:ea:0f:73:d0
    156
    Wed Nov 27 05:31:33 2013
    AP's Interface:1(802.11a) Operation State Down: Base Radio   MAC:58:bf:ea:0f:73:d0 Cause=New Discovery Status:NA
    157
    Wed Nov 27 05:31:33 2013
    AP's Interface:0(802.11b) Operation State Down: Base Radio   MAC:58:bf:ea:0f:73:d0 Cause=New Discovery Status:NA
    158
    Wed Nov 27 05:31:28 2013
    AP Disassociated. Base Radio MAC:58:bf:ea:0f:fc:20
    159
    Wed Nov 27 05:31:28 2013
    AP's Interface:1(802.11a) Operation State Down: Base Radio   MAC:58:bf:ea:0f:fc:20 Cause=New Discovery Status:NA
    160
    Wed Nov 27 05:31:28 2013
    AP's Interface:0(802.11b) Operation State Down: Base Radio   MAC:58:bf:ea:0f:fc:20 Cause=New Discovery Status:NA
    161
    Wed Nov 27 05:31:17 2013
    AP Disassociated. Base Radio MAC:b4:e9:b0:e4:02:20
    162
    Wed Nov 27 05:31:17 2013
    AP's Interface:1(802.11a) Operation State Down: Base Radio   MAC:b4:e9:b0:e4:02:20 Cause=New Discovery Status:NA
    163
    Wed Nov 27 05:31:17 2013
    AP's Interface:0(802.11b) Operation State Down: Base Radio   MAC:b4:e9:b0:e4:02:20 Cause=New Discovery Status:NA
    164
    Wed Nov 27 05:31:15 2013
    AP Disassociated. Base Radio MAC:a4:18:75:eb:da:b0
    165
    Wed Nov 27 05:31:15 2013
    AP's Interface:1(802.11a) Operation State Down: Base Radio   MAC:a4:18:75:eb:da:b0 Cause=New Discovery Status:NA
    166
    Wed Nov 27 05:31:15 2013
    AP's Interface:0(802.11b) Operation State Down: Base Radio   MAC:a4:18:75:eb:da:b0 Cause=New Discovery Status:NA
    167
    Wed Nov 27 05:28:26 2013
    MFP Anomaly Detected - 35 Not encrypted event(s) found as   violated by the radio d8:24:bd:2f:df:6f and detected by the dot11 interface   at slot 1 of AP d8:24:bd:2f:df:60 in 300 seconds when observing Deauth.   Client's last source mac 00:23:14:a7:e3:54
    168
    Wed Nov 27 05:23:26 2013
    MFP Anomaly Detected - 23 Not encrypted event(s) found as   violated by the radio f8:4f:57:a5:40:b2 and detected by the dot11 interface   at slot 0 of AP f8:4f:57:a5:40:b0 in 300 seconds when observing . Client's   last source mac 44:4c:0c:ba:27:77
    Don´t know at the moment how to handle it.
    Regards
    Alex

    Hi lAlex,
    Disable Client MFP under WLAN advanced tab & see if  this still occur
    Regards
    Rasika
    **** Pls rate all useful responses *****

  • How to change view in iPhone from vertical to horizon and vice versa?

    How to change view in iPhone from vertical to horizon and vice versa?

    Not all applications will go from Portrait to Landscape. Changing just requires you to turn the device. However, if you have the orientation lock activated, then it will not change to landscape. To check, look in the status bar and see if you can see a small lock shaped icon near the battery icon. If you do, then orientation lock is activated. To turn it off, swipe upwards from the bottom of the iPhone screen to bring up Control Center. The orientation lock is the last icon on the top row to the right. Tap on it to turn it off. White is on, black is off.

  • My screen goes off and on once its changes power from AC to Battery and vice versa

    Dear All
    I started noticing this from today ownwards that whenever the power is switched off and goes to battery mode and vice versa the screen turns off and on for 1 second. I dont know this is normal or i did mess up with some kind of power options. I am using T410i.
    Please help me out in this.
    Solved!
    Go to Solution.

    Hi sanku500, and welcome to the Lenovo User Community!
    What you're seeing is the video refresh rate switching:
    http://forums.lenovo.com/t5/ThinkPad-Edge-Knowledg​e-Base/Display-screen-flickers-blinks-goes-blank-o​...
    Hope this helps!
    I don't work for Lenovo. I'm a crazy volunteer!

  • For some reason when my daughter sends a text to someone else I get it and vice versa.  Also, when I send a text to her the text comes to me as well.  How do I stop this from happening?

    For some reason when my daughter sends a text to someone else I get it and vice versa.  Also, when I send a text to her the text comes to me as well.  How do I stop this from happening?

    This is iMessages, not an SMS/MMS, and this means the same Apple ID is registered for iMessage on each iPhone.
    You or your daughter need to activate your own Apple ID for iMessage and FaceTime. The same Apple ID can continue to be shared for iTunes store downloads - for music and apps.
    On the iPhone, go to Settings > Messages > Send & Receive.   Select the Apple ID at the top and sign out.   Sign in with the new Apple ID.
    Make sure the same email address is not available below You can be reached by iMessage at on each iPhone.

  • TS3899 My ipad does not communicate with iphone on one of my email accounts and will not remove deleted emails that are done on the iphone and vice versa, what setting should be changed?

    My ipad does not communicate with my iphone on one of my email accounts and will not remove deleted emails that are done on the iphone and vice versa, what setting needs to be changed?

    It's my understanding that an iPhone can only sync with one computer. You need to choose one computer. Sounds like it syncs at work, but not at home. If you want to just sync it at home, then you have to make sure the home computer has all the info that you want on it, like music etc. Then you have to deauthorize the work computer for it to sync at home. When you connect it will ask if you want to set up as a new iPhone or restore from backup. If you don't have a backup on the home computer then either way you will be wiped clean. So any photos, contacts, notes etc you have will be erased. You would need to backup or copy your photos from your iPhone. When you connect it to your home computer, it will give you that popup message to open your iPhone files. Then you can copy those photos and save them onto your computer and sync them back in through iTunes.
    For your contacts, do you use any type of address book? If so you'll want to back that up and then transfer to your home computer. For notes, you can just email those to yourself and then save that email. I use MobileMe so the contacts issue is easily resolved.

Maybe you are looking for

  • How to use a tag library in multiple web applications?

    Morning all, Environment: Tomcat 5 on Apache2 using Mod_JK connector on Windows XP I have developed a custom tag library and tested it out and its working great. Now, How do I use in my other web applications? Do I need to copy the JAR file to webapp

  • How do i make a notification sound for incoming texts/messages?

    Hi. I just got my new blackberry 8120, and i'm wondering if there is any way to make a message sound when i have an incoming message either text or email.  I've looked through the guide and looked online and no one seems to have an answer for me. Jus

  • Trouble Importing P2 Files

    Hi, I'm trying to bring in P2 footage that has already been transferred to a GRaid drive using ShotPut. I watched Shane's excellent tutorial <http://library.creativecow.net/articles/rossshane/tapeless-workflowfcp-7/video-tutorial> about importing P2

  • CSPP / Data missing from Portal

    I have finished setting up the basics of the Cloud Services Process Pack. A rather fun and complicated process :) When trying to Register a Tenant via the SMPortal the cost center section is empty, despite having several cost centers setup in the rel

  • Re: MSI 58 eclipse plus won't start

    Hmmm...bad board.  I guess my context was completely wrong.  Hehehehe