Specify the end point for the digital using an output circular buffer

When you use DAQmx and a NOR-DAQ for issuance of a digital signal using a circular buffer (buffer Renault). The program works and works, but when the 'DAQmx Stop Task.vi' function is called to end the task, he stops at the output buffering as soon as it is called and does not wait until the buffer pointer reaches the final value in the buffer. I would like that the program to wait until the buffer pointer is on the last value in the buffer, does anyone know how to specify this setting?

If you need to stop on exactly the last sample output you will need a way to trigger the stop in the material.  The options available to you will depend on what hardware DAQ, you use, but here are some possibilities on the top of my head:

1. set up a digital output redeclenchables task finished (not all hardware supports).  Set up a counter of output to issue a periodic trigger with the necessary synchronization signal such that the end result is a "continuous" digital output without interruption.  When you stop your loop, stop the task of counter - digital output ends his generation but the trigger signal will be removed and so it will not continue after that.

2. If you have an unused extra digital output line, add it to your task.  This line should exit 0 all except the last sample.  Physically, this additional digital line in a wire line PFI and use it to trigger a meter output.  Have the output counter generate a single pulse of some long-term (long enough to ensure that the software can respond prematurely).  Use the output from the task of counter as a trigger of break for the task of digital output.  Do not start the task of the meter until you leave your loop.  Do not stop the task of digital output until you have detected in the software that the meter has been triggered.

If you need to stop on approximately the last sample output, you could query the TotalSamplesPerChannelGenerated property after leaving your loop and only stop the task once it reaches a multiple of the size of your circular buffer.  This is no guarantee that it stops on the last sample (if you use a device on a bus with a latency higher as USB or Ethernet the non-determinisme would be worse).

Best regards

Tags: NI Hardware

Similar Questions

  • Error during the initial install: there is no end point for more available from the endpoint mapper.

    Summary of the issue
    Other issues of Windows Live family safety

    What version of Windows Live Family Safety do you use?
    Version 2011 (15.4.3538.513)
    Choose your operating system version:
    Windows 7

    Additional details
    While you select "Accounts of Windows I want to monitor on this computer" it shows the loading for a long time then popus symbol with:

    Windows Live Family Saftey modal window popup:

    "There is no end point for more available from the endpoint mapper."

    800706 9 error code

    Any ideas?

    I had the same problem and the error you mentioned above... Has been frustrating me. After much research I found out she was related to the basic and Windows Firewall filtering engine.

    Check if your Windows Firewall is working properly, and if you can make changes. If you get an error code when you try to change your firewall settings, which could be what it is.

    I followed this to correct the BFE and Windows Firewall it retries then parental control and he went through with NO PROBLEMS of...

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-Security/Windows-Firewall-cant-change-some-of-your-settings/514d78fb-39e9-47b1-B561-bc49cbdad904

    Hope this works for you as well...

  • An error occurred when trying to share Share_OD. There is no end point for more available from the endpoint mapper.

    I wanted a user to add a group named "OD" the client Desktop Machine and another thing is that OU is created named OD. But an error that "an error has occurred all trying to share Share_OD. There is no end point for most the endpoint mapper. »

    Hi Laurent,.

    This request is outside the scope of this forum. I suggest you to send this request in the Microsoft TechNet forum for better support.

    https://social.technet.Microsoft.com/forums/en-us/home

  • An error occurred when trying to share < folder name >. There is no end point for more available from the endpoint mapper. The shared resource was not created at this time

    Original title: sharing folder error

    How to solve this error message when I am trying to share a folder: "an error has occurred when trying to share . There is no end point for more available from the endpoint mapper. The shared resource was not created at this time. »

    Hello

    Were there any changes made on the computer before the show?

    I suggest to see the link and try to run the Troubleshooter:

    Share files with anyone

    http://Windows.Microsoft.com/en-us/Windows7/share-files-with-someone

    See also:

    File sharing essentials

    http://Windows.Microsoft.com/en-us/Windows7/file-sharing-essentials

  • There is no end point for more available from the endpoint mapper

    My wife is currently running Windows 7 Home Premium.  Trying to create a share gives the following error: "year error occurred while trying to share share name."  There is no end point for most the endpoint mapper. "It's a peer-to-peer network, the other computers running Windows 7 Professional.  No service is disabled or failing.  Any ideas? »

    This could be caused by the procedure call Locator service remote does not. See http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/error-1753-there-are-no-more-endpoints-available/de6f9381-fea6-4bee-b646-b06b81f75d19 for more information.

    I hope this helps.

  • Customer DRM batch throw no end point for listening error

    Hi Experts,

    I'm doing a DRM export to the file using batch processing utility. I use the following script:

    call C:\Oracle_OLD\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client\drm-batch-client.exe/op = export/u = username/PW = password/URL =net. "" TCP://localhost: 5211, Oracle, Drm, ProcessManager /log="D:\DRM_Batch\LogFile.log ' /xtype = Export /xname ="Export_Name"/outfile="D:\DRM_Batch\Test_Export.txt "/cver ="Version1"/pver ="Version1.

    When I run the above script, batch DRM client starts but I get the following error in the log file:

    06/08/2015-06:45:29 - * start Oracle DRM Batch Client *.

    06/08/2015 06:45:29 - = > error: initialization error: there is no end point for listening to net. TCP://localhost: 5211/Oracle/Drm/engine/SessionMgr that could accept the message. This is often caused by a wrong address or SOAP action. See InnerException, if any, for more details.

    06/08/2015-06:45:29 - * stop Oracle DRM Batch Client *.

    What I noticed, the url in the error message is different from the url that I use in the script. I think that due to this error that the export with the batch utility is a failure. Help, please.

    Thank you and best regards,

    Naveen.

    Hello

    Found the problem that caused this error. The active batch DRM client was somewhere else in the server. I tried to call the former client of lot.

    See you soon,.

    Naveen.

  • "There is no end point for the end point mapper.

    Summary of the issue
    Other issues of Windows Live family safety

    What version of Windows Live Family Safety do you use?
    Version 2011 (15.4.3538.513)
    Choose your operating system version:
    Windows 7

    Additional details
    Whenever I have try and configure the accounts of FS, I get an error that says: "there is no end point to the end point mapper.  I tried to uninstall the parental control and re - install the latest version several times and I get the same error.  I created several new accounts and tried to tie but still the same error.

    Any help?

    I had the same problem and the error you mentioned above... Has been frustrating me. After working through the questions Tech above, I discovered that it was related to basic and Windows Firewall filtering engine.

    Check if your Windows Firewall is working properly, and if you can make changes. If you get an error code when you try to change your firewall settings, which could be what it is.

    I followed this to correct the BFE and Windows Firewall it retries then parental control and he went through with NO PROBLEMS of...

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-Security/Windows-Firewall-cant-change-some-of-your-settings/514d78fb-39e9-47b1-B561-bc49cbdad904

    Hope this works for you as well...

  • In tools > Options > Applications: content type "Tif" - cannot specify the action "Using the Alternatiff (in Firefox)" which is a plug-in I CAN specify "TIFF". 31 Firefox.

    Running updated Firefox 31.0 on Win 8.1. AlternaTIFF is a plug-in which says it will read the files Tif or Tiff such that are on county recorder sites. Works very well on 1 website http://www.franklincountyohio.gov/recorder/ but not on an another https://www.uslandrecords.com/ohlr/. I suspect that the reason is the work site has ' tif? "in the url while the other site is going after a specific document that is to be".tif", since I can not specify using"alternatiff"for files 'tif' in firefox.

    The second site seems to be able to use other means such as a 'Quick Document Viewer' (PNG) and "PDF Viewer" to view the document.
    You can also download the document in TIFF format (Content-Disposition: attachment; filename = "xxxxx.tif")
    ).
    There is a running script that checks the table navigator.plugins for the AlternaTiff plugin (pluginFound = detectPlugin ('AlternaTIFF');).

  • Problems with the graphics, as well as circular Buffer

    Hello

    I am having several problems with my chart. Basically, every time I move the Panel before or shake it, data do not appear to be connected and it screws to the top of the chart.

    Second, whenever my buffer fills, 50% of the time, it is this line that appears at the end of the graph at the beginning for a fraction of a second. I do not understand why it would happen only sometimes however, because many times the buffer fills, but this does not happen.

    If anyone has had this problem before and knows a good way to fix it, it would be appreciated. I tried to see and undefer updates to the front panel, but that did not help my graphic. Thus, my CPU usage is quite high.

    I don't know the details of the Galil motion card, but looks like you he might order from the UI thread. When you hold the mouse on a border of window in Windows, the user interface thread is not available for a period of time, and the call of the DLL just hangs. If you do not order the Galil with a DLL, see if the DLL is set to run in the UI thread (it will be orange.) This is the default value; LabView assumes that your DLL is not thread-safe if you identify exactly what. If the DLL is thread-safe, you can change the configuration of appeal to let it run in any thread.

  • How can I open the end point of a letter/police?

    Hi all

    I try to open the end point of a letter using Illustrator. The attached image shows what I'm trying to achieve. I did it by putting a white shape on top of it, but it will not work for a logo to be used on a coloured background, for example. What I need is to be able to open the end without having to add forms, or to be able to merge these forms to the letter, it becomes a path or shape (but I had no chance of being able to find a way to do it).

    I hope I made sense! I'm rather perplexed, so any help would be greatly appreciated.

    Thank you!

    Screen Shot 2016-03-17 at 9.52.42 am.png

    Sukipop,

    Forms of letters assuming paths as usual vector illustrations (Type > vectorize or similar) with black outlines, you can:

    (1) select the paths of the letter and the object > path > Outline Stroke.

    (2) ShiftClickDrag with the line tool Segment each location where you want to cut paths/forms (horizontal lines), then object > path > divide objects below, then select the unwanted bits and press DELETE.

  • simultaneous monitoring of the digital input lines when executing digital writing tasks

    I'm writing a multithreaded application in C on Windows 7, using the 9.6 DAQmx API and device USB-6509. This requires that we constantly monitor several lines on the 6509 for entry, digital using the change of the device detection feature. You must also write the digital output without having to stop monitoring the input rows. It is very important that the input rows be monitored continuously for the duration of the project.

    In the DAQmx manual reading, it seems that it is impossible to make a digital reading as well as a digital writing occurs, even if these tasks are performed in different threads. (The same I understand, that it is impossible to have several tasks of digital entry running simultaneously.)

    It seems that it would be possible to launch the task for reading (configured with the change detection), to pause playback, start the writing task, pause the task of writing, and then re - start the task of reading. But - and this is the important part - for the duration of the writing task is running, is it possible to configure it to the task of reading will always monitor the lines, even if it's just stores the data in the buffer for these periods? The key is that the data will be lost.

    Thank you

    Danielle

    Each channel is independent. If you can get the input data that you export a value. You need not make a break each task. The two tasks are parallel.

  • Specifying the icon of a dialog box that is invoked via "dialogue: syntax.

    + (JDev 11 GR 1 material Studio Edition Version 11.1.1.2.0) +.

    I use the "dialogue: syntax" to call an inline popup dialog box that runs a stubborn workflow. (See [runs a workflow defined in a modal dialog | http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/taskflows_dialogs.htm#CHDCBFHB] and [how to define a JSF Navigation rule to open a dialog box | http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/taskflows_dialogs.htm#BABDAFDH].)

    How to replace the dialog box's default icon? Since this technique eliminates the need to define < af:popup / > and < af:dialog / > in the JSF page, I can't find a way to specify the dialog box icon, which is down to the task_flow_definition.png of the AFR.

    + <!-calls a dialogue online box that will run a limited workflow. How can I specify the icon used by the dialog window? -> +.
    + < text af:commandToolbarButton = 'Delete' action = ' dialog: Remove +.
    useWindow = "true" windowEmbedStyle = "inlineDocument".
    windowModalityType = "applicationModal" / >

    Nothing works, I tried setting the values of small and large icon on the workflow, activity, and the call to the workflow. None of them are used as the icon for the dialog box.

    + <!-defines the workflow in an adfc-config XML file. The icons specified on the movement and activity are not used in the dialog box. -> +.
    + <? XML version = "1.0" encoding = "windows-1252"? > +.
    + < adfc-config xmlns = "http://xmlns.oracle.com/adf/controller" version = "1.2" > +.
    + < id of task-flow-definition = "document - remove" > +.
    + < description id = "__22" > delete one or more Documents < / description >.
    + < name of view id = "__21" > delete document (s) < / name >.
    + < icon id = "__18" > +.
    + < small icon-id = "__19" >... /Images/delete_ena.png < / small icon-> +.
    + < large icon id = "__20" >... /Images/delete_ena.png < / large icon > +.
    + < / icon > +.
    + < default activity id '__1' = > delete < / default activity > +.
    +...+
    + < id view 'remove' = > +.
    + < description id = "__14" > delete one or more Documents < / description >.
    + < name of view id = "__13" > delete document (s) < / name >.
    + < icon id = "__11" > +.
    + < small icon-id = "__12" > /imaging/Images/delete_ena.png < / small icon-> +.
    + < large icon id = "__17" > /imaging/Images/delete_ena.png < / large icon > +.
    + < / icon > +.
    + < page > /PageDialogs/DeleteDocument.jspx < / print this page > +.
    + < / view > +.
    +....+
    + < / task-flow-definition > +.
    + < / adfc-config > +.

    I note that the non finalized ADF SHERMAN post-PS1 release - according to the [tag Docs | http://adfui.us.oracle.com/releases/adf.faces/sherman/multiproject/adf-richclient-api/tagdoc/af_document.html]-added a "smallIconSource" attribute the < af:document / >. Since the dialog box is actually framing a JSF page, perhaps by specifying the document smallIconSource on the page will be used by the dialog box? If so, that's fine, but I need a work around for 11 GR 1 matter until SHERMAN is finalized and published.

    Any ideas?

    Hello

    Sorry, it is hardcoded in RichDialogService right now. The only way to cancel that would be to create a Servlet instance who specifically meet the demands on the following servlet mappings:
    /AFR/task_flow_definition.PNG
    /AFR/unbounded_task_flow.PNG

    You will need to use the exact servlet mapping to obtain priority on the ResourceServlet

    Kind regards

    ~ Simon

  • specify the cfinput type file folder start

    Anyone know if there is a way if you use < cfinput type = "file"... > to specify the folder of the file Explorer starts in?

    Even better (and I REALLY want to do), is there a way to simply specify the file used by CFFILE name by concatenating the path + filename + extension doc, IE:

    < cfset form.photo = "source_path" & form.file_name_entered_by_user & ".jpg" >

    and then:

    < cffile action = "upload".
    fileField = "form.photo"...

    It would be much easier things mke for users.

    I'm sure that no, on both accounts. Mainly for security reasons.

    FILE fields require the user to interact with their computer and a decision consious about their choice. The startup location depends on where their last record or files during load or download of operations through the BONE... the OS commands this feature, not your web page. If people could program pages well start somewhere they could try and entice users to provide files which hinder the security of their computer. In addition, how do you believe you know where they recorded the file they are downloading?

    DOWNLOAD CFFILE requires a user multi-part form to submit for download, and the field sent to the command must be a file field. It cannot be done with the right programming. Again, it is a question of security, otherwise anyone could program a web page to steal files on a computer without the knowledge of the user, and it would be a huge legal and security problem.

  • Add an attribute of the element configuration table type programmatically.  How can I specify the type of table?

    I am trying to add a configuration item that is an array of strings.  I don't know how to do this programmatically and have it show as an array of strings.  I would like people to be able to use the client of vCO and only change these if needed is.  I managed to add items, but they appear as "modified".  I can retrieve all ok by programming, but I guess since one can table actually waiting variant values is done deal as the generic object rather than an array of strings.  Is it possible to force this type when I put the value via the api?  It's my test code:

    var testArray = new Array();
    testArray.push ("string1");
    testArray.push ("string2");
    element.setAttributeWithKey ("TestKey", testArray);
    This translates into an attribute of type table, but I like it to be of type Array/string;

    Paul, as far as I know, you must manually set your attribute types using the vCO client. You cannot specify the types using script.

  • I signed up for 30 day trial and I just got a notification if the trial ended. I did not use the system for more than 30 minutes.

    I signed up for a 30 day trial and I just got a notification if the trial ended. I did not use the system for more than 30 minutes.

    http://helpx.Adobe.com/x-productkb/global/trial-software-expired-early.html

Maybe you are looking for

  • Satellite A200 - Format C drive and reinstall

    Hello I have a Toshiba Satellite A200 with a 32-bit, windows vista, who bought about 4 years ago. He became extremely slow and crashes on a regular basis. I want to format the C drive and reinstall windows vista. Afterwards, I'm going to re - install

  • Resizing tables "dynamically".

    Hello I have a test taken that step of an array of containers. Suppose I have an array passed to me as a sequence of local variable: Locals.NumericalMappings And let's say that I have create an empty array. If I want to create a 1 d table tell the si

  • 4635 HP Office Jet: no black printing

    HP office jet 4635 does not print black, changed the cartridge (new is 8 months old), still no black printing. page alignment, after 5 rows of colors, shows some signs of red warning with 2 red and 'important' arrows in red.

  • Problem Panel of the start menu window opening control

    Hello I have Windows vista premium operating system. I have the problem to open the file on the right hand side starting by, default programs (error, 'class not registered'), Panel, connect (no problem), network (class error, Explorer.EXE, unregister

  • Dell studio 15 computer laptop dvd drive don't read do not discs in Vista

    IAM using dell studio 15 laptop with vista 32 bit os.my dvd player is not reading any disc Pleas give me the solution