Problems with emptying the buffer for profile motion; Errors-70061-and-70137

I'm trying to generate a movement code that synchronizes a motion profile with data acquisition using breakpoints; the VI (joint) is loosely based on the 25229.vi provided on ni.com.  I use a PXI-7354 controller and running Labview 2011.  I can run the VI once (successfully), complete the desired query, trigger the breakpoint and take data with no error message.  Then if I try to run the same VI immediately after, the engine will move only steps 5 and 6 and then stops. No data is collected, and no error message is displayed.  Then when I run it it a third time, movement and data acquisition complete, but I get error messages in the clear Buffer.vi saying that the buffer is used (error-70061).  I also have error-70137 to the CheckBuffer.vi, which I think is because it is still monitoring the buffer after the failure of the ClearBuffer.vi.

Do I need to include a clearing of additional buffer somewhere initialization?

Thank you

Matt

Hi MattCS,

I think you see this undesirable behavior because you are not initializing your shift registers. Data of your last run are still saved in your shift registers so the next time you run it will start where it left off. So if you press stop during execution of the time VI the first it stops and everything works, but then the second time you run the VI the loop will stop after its first iteration since its listing, the old value of the shift register. Also if you ever get an error in the while loop will continue to be there every time that you run the VI. Please try the changes circled in the picture below and see if that helps.

Tim O

Tags: NI Hardware

Similar Questions

  • Facing a problem with writing the custom for WLS identity assertion provider

    I am facing a problem with writing the custom for WLS identity assertion provider.

    Requirement:

    Asserter identity configured in WLS should get called when the following cookie is sent in a request by my application
    cookie name: OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I added the name of the cookie as a token of support and Active token in WeblogicCustomIdentityAsserter.xml

    < MBeanAttribute
    Name = "SupportedTypes.
    Type = "java.lang.String [].
    Writeable = "false".
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >
    <!-ActiveTypes attribute contains the subset of your mbean SupportedTypes who are active in the area. ->
    < MBeanAttribute
    Name = "ActiveTypes".
    Type = "java.lang.String [].
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >

    Problem:

    Identity asserter provider is not invoked for the request that has the cookie named OAMAuthnCookie_blr1234567.idc.oracle.com:7777.

    I did some experiments with the cookie name, to see where the problem could be

    Identity asserter provider is triggered for the following cookies:
    OAMAuthnCookie_blr1234567.idc.oracle.com7777.
    blr1234567. IDC. Oracle
    blr12_XXX. IDC. Oracle.com

    and it does not work for cookie name - OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I think that the name of the token supports not the colon. I don't have control over the name of the cookie, two points will always be

    Tried it with giving the name of the cookie after the encoding of the colon

    < MBeanAttribute

    Name = "SupportedTypes.

    Type = "java.lang.String [].

    Writeable = "false".

    Default = "new String() {& quot; OAMAuthnCookie_blr2211441.idc.oracle.com & #58;. 7777 & quot ;} »

    / >


    But still does not work
    Am I missing something? Any help will be appreciated.
    Help, please!

    colon ': ' is an illegal character in the name of the cookie.

    RFC 2616, Section 2.2 says:

    token = 1 *.

    separators = "(" | ")" | " <" |="" "="">" | " @"

    | "," | ";" | ":" | " \" |<">

    | "/" | "[" | "]" | "?" | "="

    | "{" | "}" | SP | HT

    It is clear ":" a "separator" and thus not allowed in a token or a cookie name.

  • I have problems in installing the creative cloud, because mark "error 206" and not let me download.

    I have problems in installing the creative cloud, because mark "error 206" and not let me download. What could be the cause of this problem? and that he could fix?

    Error 201 & 205 & 206 & 207 or several U43 errors

    -https://helpx.adobe.com/creative-cloud/kb/download-update-errors.html

  • Problem with obtaining the installation for CS5 files

    My computer crashed and I lost photoshop CS5.  How can I reinstall the CS5?

    CS5 download products<---Official link.="">

  • problem with my laptop asking for the administrator password or power on password

    I have the same problem with my laptop asking for the administrator password or power on password. It is a compaq presario cq61. It happened when my hard drive failed and was not used for a long time. With the password, any help would be much appreciated. It says system turn off after a few trials with the key: 55427586

    Hello

    Try to enter: 40585508

    Kind regards

    DP - K

  • Problem with uninstalling the Toshiba Bluetooth Stack for Windows

    Guys, I have a problem with uninstalling the Toshiba Bluetooth Stack for Windows v4.00.22 on my laptop Windows XP SP2. Whenever I choose to remove the "battery Bluetooth for Windows by Toshiba" (or "Bluetooth HID Switch Service") the installation program starts to prepare, but crashes after a few minutes - the only way to continue is to turn off the laptop.

    The same thing happens when I try to update the stack to the latest version - the installer says that the old battery has to be removed first and crashes after trying to remove it. So is it possible to remove it by hand? I really don't want to reinstall Windows!

    I don't have a copy of the original Software v4.00.22 to recharge so if you have a copy or know where I can get a copy I would gratefully

    Thanks in advance.

    I would try to delete the folder: "C:\Program Files Toshiba Stack.
    Registry settings will remain, but should be repaired after a new installation of the Bluetooth stack.

  • I need to reinstall photoshop elements 8 after having problems with my hard drive. I use MacBook Pro and a timemachine. After restoring the program of the Time Machine, I got the error 6 code: a license for this product has stopt working. How can I cancel

    I need to reinstall photoshop elements 8 after having problems with my hard drive. I use MacBook Pro and a timemachine. After restoring the program of the Time Machine, I got the error 6 code: a license for this product has stopt working. How can I cancel it?

    See here:

    Error "Licensing has stopped working". Mac OS

  • Problem writing to the buffer of the device

    Hello

    I have a problem with writing the values to an analogue output. You can see the following code.

    So my problem is, when I call the function PostHolding (0.004), I put a few values in a table and the end of this function, I write the table in the buffer of the device to the analog output.

    The call is the following: DAQmxErrChk (DAQmxWriteAnalogF64 (taskHandle, (PostHoldingTime * sampling rate), 0, 10.0, DAQmx_Val_GroupByScanNumber, PostHoldingArray, NULL, NULL));

    I checked the table and the number of values for each channel, and there is all right.

    So now I come to the loop and the if clause (table a good values). With generatePatter(), I generate a pattern, it is a global. The return value shows me how many values are in the model. When I call now DAQmxErrChk (DAQmxWriteAnalogF64 (taskHandle, (newPointer-g_Pointer), 0, 10.0, DAQmx_Val_GroupByScanNumber, g_TotalPattern, NULL, NULL)); He should write my new model similarly in the buffer of the device. When I start the task I would see the first table in the PostHolding function, then the second table of the second function. And here is the problem that I always see the table from the PostHolding function, but not the second of the generatePattern(). I don't know where is the failure.

    I have the same problem, when I call the function (green in the picture) PostHolding after calling generatePatter(). Here, I see the signal from the generatePatter() function but not the signal of the PostHolding function.

    I hope someone can help me?

    Best regards

    Hello

    Thank you for your response. I already found the failure. When you create a channel, you must say how many samples gets channels. I forgot to calculate additional examples to my first sample.

    DAQmxCfgSampClkTiming (taskHandle, "", DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, SampleRate, samples);

    Best regards

  • Problem with playing the games on my Satellite A100

    Hello..
    Thanks for your help on my last question.
    I was wondering if the Satellite A100-756 is compatible for the Sims2.
    I tried to play it, and it works fine until I try to leave the game.
    He died with a "blue screen" and restarts.
    Everyone is having the same problem with that?
    Thanks for your help.

    Concerning

    Have you checked the SIMS support page? This situation is already known?

    If I were you, I will check for some SIMS forum. Maybe other SIMS players have similar problems. There, you have much more chance of finding useful tips.

    Check this one http://www.sims2community.com/

    Good luck!

  • I'm having a problem with a sound used for Norton ccSvcHst.exe process. And perhaps dwm.exe

    I'm having a problem with a sound used for Norton ccSvcHst.exe process. I have all the dates of the last mounted and I roughly 1 000 000 errors page an hour and the hard drive of my computer is crazy with me doing nothing. Norton has been included in the software package supplied with the computer. so I hope that support you. What can I do to calm my computer runs to stop this service... I have also about 500 000 for the service dwm.exe. What could cause this?

    Hi dude, on average

    A. from when what happens?

    B. recent changes made on your computer?

    C. you get any error message?

    First of all, I suggest you to uninstall and reinstall Norton using the Norton Utilities disk and check if the problem persists.

    Second, you may have to perform an auditor of the system files on your computer in order to replace the files corrupted on your computer.

    Open an elevated command prompt. To do this, click Start, click programs, accessories principally made, right-click Guest, and then click Run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click on allow.

    Type the following command and press ENTER: sfc/scannow

    The sfc/scannow command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    Bindu S - Microsoft Support
    [If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message.] [Marking a post as answer, or relatively useful, you help others find the answer more quickly.]

  • Problems to install the driver for Canon lasershot 2900B printer, to get the message "installing the driver interrupted."

    I have problems to install the driver for Canon lasershot 2900 B printer. I have windows 7 64-bit (SP1) installed in my PC. I get the message "driver installation interrupted. I had downloaded and installed the latest driver and I get the same result. I was told it might be a problem with OS. I have had no problems to install the drivers for the scanner or hardware drivers. Thanks in advance.

    Original title: printer drivers

    Thanks for the reply of Ravi Shankar. My PC is a Dell Inspiron 530. There is no specific error message except for the one I provided. There is a solution to this problem. It seems that if the print spooler is disabled (services and storage via the computer management), the installation of printer driver is interrupted. I manually activated the spooler on automatic printing and the printer driver has been installed immediately.

  • Problem with finding the SmartGlass an Xbox to Store or App Store

    Original title: xbox a smartglass

    I can't find that the smartglass an Xbox on the windows store or the appstore please help

    Hi Ibrahim.

    Please contact Microsoft Community. I understand that you have a problem with finding the SmartGlass an Xbox to Store or App Store. I will surely you help with this.

    You can download Xbox a SmartGlass from the following Windows store link.

    http://apps.Microsoft.com/Windows/en-us/app/Xbox-one-SmartGlass/c3a46cb8-e733-4579-B716-862e123fa831

    For more information you can check the link.

    http://support.Xbox.com/en-us/Xbox-360/apps/SmartGlass-Info

    Hope this information helps. If you need more assistance or information on this question, reply to this message. I'll be happy to help you.

  • Problem with installing the game "no apps are installed to open this type of link try find at the store.

    Original title: problem with installing the game

    install a game but saying o\s

    No apps are installed to open this type of link try find in the store and when I opened store it for the app its available nt tried compatibility troubleshooting but no use it please help

    Hi harsh,

    For a better understanding of the issue, I would need more information on your side.

    1. What is the name of the game you install?

    2. where did you install the game from?

    3. What is the full error message?

    4. the question facing you while opening the store Windows or you are looking for an app? Have what compatibility troubleshooting steps you tried?

    To resolve the problem with applications, I suggest you try the procedure described in the article and see if it helps.

    Solve problems with a soft

    Please provide the necessary information to help you further, I'll be happy to help you.

  • I get a box that says, please verify your billing information. We discovered a problem with your last payment for creative cloud. Go online to manage your account and check your billing account. 19 days remaining. What is c?

    I get a box that says, please verify your billing information. We discovered a problem with your last payment for creative cloud. Go online to manage your account and check your billing account. 19 days remaining. What is c?

    Since this is an open forum, not Adobe support... you must contact Adobe personnel to help

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    Don't forget to stay signed with your Adobe ID before accessing the link below

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html

  • I have problems with downloading the Lightroom app! What is the location of the appropriate installation?

    I have problems with downloading the Lightroom app! I have already many programs Adobe works on my PC and I have a cloud of Adobe license. But now, with the installation of Lightroom, I get the following error:

    Exit code: 7

    Please see specific errors below for troubleshooting. For example, ERROR: DF014...

    -------------------------------------- Summary --------------------------------------

    -0 fatal Error (s), 1 Error (s)

    -Payload: Adobe Lightroom 6.0.0.0 {8048A5DF-8A70-5BE1-954B-E0FDE1BD0D0D}.

    ERROR: DF014: unable to create the symbolic link to ' \\XC-DC-01\Users\Patricia\... \Desktop\Adobe Lightroom.lnk "(Seq 6641).

    When I go to the solution, then it says: rerun the installation. Select a different installation location.


    But I tried to select all the other folders on my computer for the last two weeks and it still not working? Update other programs is not a problem, then I don't understand what goes wrong? What is the location of the appropriate installation? Why it changed on my computer?

    Can you help me with a solution? Thank you!

    Hello

    Please see Exit Code 7 Installing and errors ' Exit Code: 6 "," Exit Code: 7 "|"» CC, CS6, CS5.5

    Hope that helps!

    Kind regards

    Sheena

Maybe you are looking for

  • How do you eliminate a tab permanently?

    I keep getting tabs I want, some have begun to appear for more than a year and keeps returning. By clicking on the icon delete (X) does not work because they keep coming back. I would like to know how to eliminate way permanent.

  • Use dll in VC ++ in CVI

    Hello world When I use a dll file in the CVI, I have a problem. Whe I try to start my project, it displays an error message from the uart.h (my dll). As the picture of blowing: Can someone tell me how do slove this error? Thank you! It's my project f

  • Establishment of a VISA for a TCP/IP connection

    I'm writing a LabVIEW program that will allow me to recover data in my LeCroy Wavejet 354 and display them in a LabVIEW interface.  I set ACIP of LeCroy passport.  I have a problem ping from the unit so I know that my ethernet to the computer connect

  • Q10 call blackBerry keyboard shortcuts

    How do you define keyboard shortcuts to make it up. They are very comfortable and essential, in my opinion. Help me.

  • Error 13 when running the sample applications on dev alpha

    I installed a few examples of applications on my device Dev Alpha there are ten days, they all work very well when I installed them. I was trying to show them to someone today, but for all of them, I got the error message: "Failed to start because of