Random error occur if a program including Non-regeration AO and Synchronous AO&AI function?

Hi,
Does you know Non-regeneration of data and synchronous AO&AI functions can be written in same VI or not?
I did a program which needs Non-regeneration of Signal and Synchronous AO&AI functions.
When I run this program, a error 200292 is random occured. Would you know how to solve it? Thanks very much.
Attachments:
unstable question.vi ‏144 KB

Hello,
"1. If no. of sample is -1, then I can't control how many points it capture. I cannot do the alignment between AO and AI data. For example, AO is 100kpts and AI is 90~120kpts."
Even though you are displaying 90 - 120 kpts per iteration of your while loop, the AI and AO is still synchronized. The reason you are seeing a difference in the number of points written and read in each loop is because the DAQmx Read.vi immediately reads whatever data is in the buffer. Then the DAQmx Write.vi writes 1000 points. The DAQmx Write will hold the loop until all 1000 points are written. When the next DAQmx Read is called, it picks up the data that it missed in the previous iteration plus the new that data that was written.
"2. If the "Sinewave generation" is run before AO write, the level or frequency AO signal cannot be changed during program running. However, I need it to be changed easy and effectively."
To change the waveform parameters during execution, you just need to put another waveform generator inside the while loop. I have made this modification and attached the new VI. Keep in mind that with AO, the output frequency is dependent on the frequency control, sampling frequency of the generator, and update rate. Use this formula to calculate actual output signal frequency:
Output Frequency = [Update Rate * Frequency] / Sampling Frequency
Let me know if you have any further questions.
Regards,
Sean C.
Attachments:
Multi-Function-Synch AI-AO-Non-Regen_2.vi ‏190 KB

Similar Messages

  • A conversion error occurred while the program -- display data on the screen

    HI all,
    Iam getting a dump error described below:
    A conversion error occurred while the program was trying to
    display data on the screen.
    The ABAP output field and the screen field may not have the
    same format.
    Some field types require more characters on the screen than
    in the ABAP program. For example, a date field on a screen needs
    two characters more than it would in the program. When attempting to
    display the date on the screen, an error will occur that triggers the
    error message.
                  Screen name.............. " Ztable_MM_MRQ "
                  Screen number............ 0100
                  Screen field............. "WA_PO_ITEMS-MENGE"
                  Error text............... "FX015: Sign lost."
    Further data:
    Give us step by step procedure to rectify the same with T.codes
    Thanks
    Regards
    Siraj

    Raymond
    please give details in se51 where i have to put a "V"  to allow negative amounts
    whether it is in Text or I/O templates
    name                                     type of screen element         Text or I/O field
    WA_PO_ITEMS-MENGE     Text                           PO_quantity__     
    regards

  • An error occurred while publishing file "/Web/Sites/iWeb/Jim and Steph's Si

    I'm guessing this is a common message most see when they try to publish their website. Reason I say this, is it is the only message I have recieved in the last week when trying to use this faulty software.
    Here it is again if you missed it:
    An error occurred while publishing file “/Web/Sites/iWeb/Jim and Steph's Site/Jim's Blog”.
    I got this MacBook week ago yesterday. Totally excited to share pictures and blog information. Spent 99 dollars or close to it for a mac account to simply share this information on the web. The first four pages (all pictures), I published worked well. Then I updated to iWeb 1.1.1 and tried to publish with blogs and more pictures and it won't work. Now all that I published before does not even come up. I emailed support here on mac.com and got the generic reply that I have already read on this forum. I tired as many fixes as I could to no avail. Two questions:
    1. Any ideas to fix this problem?
    2. Can you get your money back?
    Sorry this was so long.
    Thanks everyone,
    Jim B

    Jim...
    Try doing a "Publish All to .Mac" if nothing else works for you. And if I could make a recommendation, it probably wouldn't be a bad thing to simplify your site name (Jim and Steph's Site) and eliminate the apostrophes (also in Jim's Blog). A longer site URL with complexities such as punctuation and spaces and even capitalization can potentially wreak havoc on your site navigation and function. Simplifying your site and page names will at the very least lead to shorter and more recognizable URLs...and when you start to add more pages it will also make the navigation menu at the top of your pages look "cleaner". Think simple names, like "oursite" and "HeSays" or "SheSays"
    Just a suggestion.

  • I set up a playlist in itunes and when i tried to sync it to my iphone i get an error message "itunes could not copy "x" to the iphone "x" because a timeout error occured.  Using itunes 10.5.2.11 and Windows Vista 64

    I set up a playlist in itunes and when I try so sync it to my iphone, I get an error message "itunes could not copy "x" to the iphone "x" because a timeout error occurred.  Using itunes 10.5.2.11 and Windows Vista 64.  Any help?  Thanks in advance!

    I have the same question and the only reply I've found on the forum was "change the USB hub", which HASN'T worked. So I am accepting new suggestions. Tks!

  • Upon sync or backup, I receive the message, "iTunes could not back up the iPhone "iPhone name" because and error occurred. I have deleted my backup file and tried another computer, with no success.  Also, the bluetooth function stopped working.

    Upon sync or backup, I receive the message, "iTunes could not back up the iPhone "iPhone name" because and error occurred. I have deleted my backup file and tried another computer, with no success.  Also, the bluetooth function stopped working.

    Hi, EJ13. 
    I see you are having issues with backing up you iPhone and have tried a couple troubleshooting steps.  There are a couple more steps I could recommend in the article below. 
    iOS: Troubleshooting backup issues in iTunes
    http://support.apple.com/kb/ts2529
    Regards,
    Jason H. 

  • I have never been able to connect to the itunes store. It always says"itunes could not connect to the itunes store. An unknown error occurred.(306)  So what does this mean and how can I fix it?

    I have never been able to connect to the itunes store. It always says"itunes could not connect to the itunes store. An unknown error occurred.(306) " So what does this mean and how can I fix it?

    Hello zabetnz
    Start with the article below to get access to the iTunes Store. If it does not work, then there are some links towards the bottom of the article for additional troubleshooting.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    -Norm G.

  • I can't download Elements 13. It said an error occurred. I downloaded a trial of Lightroom and it worked. However, when I bought Lightroom, it doesn't download.

    I can't download Elements 13. It said an error occurred. I downloaded a trial of Lightroom and it worked. However, when I bought Lightroom, it doesn't download.

    Which operating system are you running on?
    We might be able to help with Photoshop Elements but lightroom has it's own forum
    Photoshop Lightroom
    It would be useful if you could give us any error message you are seeing.
    Are you trying to download Photoshop Elements from here
    https://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    For Lightroom, you need to say if you have bought the standalone version or the cloud version.
    Brian

  • I have been getting a message saying my iPhone cannot be synced because an unknown error occurred (-50).  I have an iPhone 4, and never had this message until after I upgraded to the new OS.

    I have been getting a message saying my iPhone cannot be synced because an unknown error occurred (-50).  I have an iPhone 4, and never had this message until after I upgraded to the new OS.  Does this have something to do with icloud?

    I have the same error on both iPad & iPhone when connection is made but seems to sync when I manually sync.

  • Compile Errors occured when simulink models including 'cmex' by SIT

    I am trying to compile a simulink model to DLL with following softwares and hardwares.
    Software:
    LabVIEW 8.0.1
    LabVIEW Realtime 8.0.1
    Simulation Interface Toolkit 3.0
    MATLAB R13
    Visual C++ 6.0 Service Pack 4
    Target Hardware:
    PXI-1042RTPXI-8196
    PXI-6289
    When I tried to compile a model including 'cmex' function on Simulink to DLL, compile error about Visual C++ occured. Does SIT support the model including 'cmex' functions?
    When I removed the function 'cmex', compiling is working correctly.
    To import original model which is written by C or other language, I strongly want to use 'cmex' functions. To avoid the compile error, if you have any ideas, please let me know.
    Thanks,
    Tsugo

    Hello Tsugo,
    I believe that it is possible to compile a DLL for SIT from a model that contains a cmex function.
    To tell whether the issue is caused by SIT or not, you can try changing the RTW target file from nidll.tlc to grt.tlc (in the model's Simulation Parameters dialog, look in the Real-Time Workshop tab), and see whether the compile error still happens. If the compiler error occurs with grt.tlc, then please refer to the documentation provided by The MathWorks Inc. on how to get your cmex functions to work in Real-Time Workshop®.
    If the compiler error does not occur with grt.tlc, then please post the whole text of the compiler error.
    Thanks!
    Andrew

  • I can't burn cd. When I try to burn a cd a message states "The attempt to burn a disc failed. An unknown error occurred. (4450) Anyone know what this means and how to repair it?

    I can't burn a cd from my ITunes playlist. When I try to burn a cd a message states "The attempt to burn a disc failed. An unknown error occurred. (4450)" How can I correct an unknown error?

    Hello rcrown01,
    The following articles can help get iTunes back to burning.
    Can't burn a CD in iTunes for Windows
    http://support.apple.com/kb/TS1436
    iTunes for Windows: Additional troubleshooting tips for burning issues
    http://support.apple.com/kb/TS1374
    Cheers,
    Allen

  • My purchases show partially downloaded. When I attempt to resume the download I recieve an error message " an unknown error occurred -50" Itunes has charged for the download and sent a reciept however the shows wont play?

    My Purchases show partially downloaded. When I attempt to resume the download I recieve an error message: "an unknown error occurred -50". I tunes has charged for the download and sent a reciept however the shows wont play?

    I had the same problem so (assuming under the Purchased items in the Store you have a song stuck at 'Downloading'):
    I went to Music, then Artists.
    From there I chose the album.
    The song that failed to download had the cloud symbol next to it.
    I clicked the cloud symbol and the song completed the download for me.
    (Please note this was in iTunes for Windows - I expect it to be similar in iTunes for Apple)
    Message was edited by: UbergeekRFC - parenthetical note added
    Message was edited by: UbergeekRFC - added note about song stuck as downloading

  • I have tried to download an app from the App Store for my I phone 4s with iOS 6, it is saying unknown error occured! I have tried turning phone of and signing out of the App Store but it will not let me sign back in saying the same thing, unknown error oc

    I have tried to download apps from the App Store, after entering my password it come up with unknown error occured! I have tried signing out of the App Store but it will not let me sign back in again! What can I do?

    Newton91 wrote:
    I have tried to download apps from the App Store, after entering my password it come up with unknown error occured! I have tried signing out of the App Store but it will not let me sign back in again! What can I do?
    Download them to iTunes abd then sync the apps. Make an appointment with Apple and see what the problem is.

  • Help - Receive message "an error occurred printing this document" when using airport express and Ipad

    Hi, I am trying to set up an airport express hub to work with a Star tsp100 receipt printer and IPad 2. The IPad is being used to accept credit card payments and I was hoping to print receipts out wirelessly using the airport express and receipt printer. I checked to make sure the airport express has the latest firmware and it does. The IPad software is also updated to the latest 7.1.  I then connected the Airport express and IPad and the network setup with no problems. I connected the receipt printer to the airport express using the USB slot available. While the printer comes up as available, when I attempt to print something, I get the error message "An error occurred printing this document" and I can cancel or Try again. No matter how many times I try, I continue to get this message and I lost as to the cause. When I disconnect and reconnect, another instance of the printer appears, but receive the same cryptic error message when I try to print. Totally lost, please help

    Hi kelston3,
    In order to print from an iPad you will need to use a printer that is compatible with AirPrint, which is described in the following article -
    About AirPrint
    http://support.apple.com/kb/HT4356
    AirPrint printers must be wireless on your network - not connected via USB to the base station. There is a list of printers that are known to be compatible with AirPrint in the article.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • How to find where the error occured in a program ..

    hi sap techs,
    while running a idoc processing program, I am getting a error. this program is very large so I don't know where the error in coming. I have clicked the error message and noted down the message Id and message number.
    I have tried using<b> where-used</b> on this message but the results were unsuccesful. I also tried searching the program with the message number.
    how can I know in which statement, i am getting this error. please advice me.
    thank you.
    madhu

    Thank aRS / ferry,
    firstly thank you for your replies.
    1) I am using new debugger and did not find option to set break point at system exceptions.
    2) as ARS suggested, i have tried but was bit confused what to use at Message..
         Should I give message number eg '23' or should i give message id
    Also just for your information, when I used. Where-used on the message it said. could not find (possible dynamic calls).
    Please let me know, where I am doing mistake.
    thank you
    regards
    madhu

  • When the browser is open the mouse does random things in all open programs, I can close FF and it works fine is there a mouse bug?

    Since the last upgrade, when the browser is open the mouse randomly clicks on things changes windows by itself. In addition highlighting things to cut and past is almost impossible... this transfers over to all open programs word, movie maker, audacity, etc... and as soon as the browser is close the problems go away... I am having this on two computers the first is a 32 Bit Vista system with a corded mouse the second is a dual boot 64 bit Win 7 and Linux Mint laptop using a Logitech cordless mouse and built in mouse pad both mouse and pad does this... in both operating systems.
    I thought it was a problem with the mice or interference with the wireless receiver or from an Xbox in the same room interfering with the systems, however updated drivers were downloaded and installed on both computers for all three operating systems.

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?

Maybe you are looking for

  • Is Creative Cloud billing hopeless?

    As an Adobe shareholder and 15-year customer, I dismay for the future of the company if they are betting on Creative Cloud.  At my company, I signed up for the one-year CC membership.   Everything was great until I decided to leave my company, four m

  • I can't export my contacts from Tiger to Mt. Lion?? Help

    Hi all, my G4 running Tiger has died (got hit by lightning, so very dead), so I have replaced it with a MacBook Pro running Mt. Lion. Contacts will not import my data which I had saved as a .abbu file. When I try to import it asks me if I am sure I w

  • Safari in Maverick wont open

    Hi. It started out of the blue. Safari wont open and i get this report: Process:     Safari [575] Path:        /Applications/Safari.app/Contents/MacOS/Safari Identifier:  com.apple.Safari Version:     7.0.1 (9537.73.11) Build Info:  WebBrowser-753707

  • Why is the URL constantly updated in ie but not in safari?

    Safari: https://www.mysite.com/app/editor?handle_type_id=7#m=editor&wfs=2 Internet Explorer 8: https://www.mysite.com/app/editor?handle_type_id=7#1262397566?1262397566?1262397566?126239 7566?1262397566?1262397566?1262397566?1262397566?1262397566?1262

  • Flash installer wont event start

    i was trying to update my flash player because mozilla is starting to be unable to fully view some sites. i downloaded the installer but it wont start. i double clicked and nothing happened. nothing at all, not even an error message. i also tried uni