Error 200278 and error 200279 with DAQmx read

Good day everyone,
I have been trying to write a code which generates a sine wave and a trigger signal and send them out to two different devices. I am trying to phase lock device-1 on a certain phase angle of the operating signal  (sine wave) of the device-2.
The device-1 which receives the trigger signal also generates a trigger signal at the same time it receives the trigger. It also can not work with trigger signal with a frequency which is greater than 4 Hz.
I got that part to work and then I realized that I need to make sure that the responses of the devices have the same phase difference. So I added another part to the code which reads the trigger signal generated from the device-1 and the sine wave generated by the code (which basically goes to the device-2).
I did not have any loop in the code at the beginning, and I just set the sampling frequency and sample rate and I though that it would work at the rate which I want. Unfortunately it did not. So I added a while loop to control the speed of the writing and reading process, and slow it down to 4Hz which is the limit of device-1.
I have tried the reading process with finite sample and continuous sample on the sample clock and I got Error 200278 and Error 200279 correspondingly. Attached please see the main VI and subVIs. There are some subVis for writing data to the file which are not attached.
I really appreciate it if you can help me to solve this problem and get the code to work in a way that the whole process works at 4 Hz frequency.
I am not sure if my code is completely optimized. Any suggestion to optimize the speed of the code and the way it acquires data is also highly appreciated.
Regards,
Pooya
Attachments:
Trigger_Seq_R1.vi ‏115 KB
time.vi ‏23 KB
wavegen.vi ‏33 KB

Hello Pooya,
You need to add some wait delay in your while loop. Try adding a Wait Until Next Millisecond Multiple to your while loop with a constant wired in.
You are acquiring data too quickly. Here is a link that discusses this in general.
Regards,
Jeff L.
Applications Engineer | National Instruments

Similar Messages

  • Putting a row into a pageable cache failed with error 9 and error message

    Hi Guys,
                 I am fetting the follwoing message when the job is scheduled.
    Putting a row into a pageable cache failed with error <9> and error message <Db::put: Bad file descriptor>
    I read the forum and Manoj has suggested to one of the forum member to change the size of the Pcache setting through the server manager. But I do not see the setting there. can any one please let me know where exactly I can see and increase the size of the Pcache.
    Thanks

    Hi
    I've had the same problem.  We know from other (more meaingful) error messages that we ran out of space for the Pageable Cache, but we've just increased it by 50GB and still get the same error.
    Anyone??
    Btw i don't think you there is a setting for PCache size - it will just use all the free disk you have on the drive where you have located the PCache directory.
    Richard

  • Deployment Adobe Reader 11.0.10 - Error 259 and Error 150210

    Im using the "AdbeRdr11010_de_DE.exe" from ftp server to deploy.
    I want to update from 11.0.08 to 11.0.10.
    Switches used for deployment: /sAll /rs
    I am getting the error: 259
    if i try to install again on the same machine
    i get the error: 150210

    The log looks fine…
    Adobe SFX 10.0.0.1 logging started.
    CommandParam CmdLine:
    5004nas\Software\AdobeReader\11.0.10\AdbeRdr11010_de_DE.exe /sAll /rs
    CommandParam passToSetup_  : /sAll /rs
    CommandParam bSilent_
    TempFolder: C:\Windows\TEMP\
    Support folder: C:\Windows\TEMP\27822
    Extracting: C:\Windows\TEMP\27822\config.bin
    Found RDC resource and valid configuration information - setting RDC mode
    CheckSystemRequirements os,sp = 61 10 osString = 61W6, physicalMemory (3968) = 4096
    Adding extracted installer size to the total size: 133
    Adding extracted RDC size to the total size: 44
    CheckDiskSpace...
    Required size in MB:  249
    Available disk space in MB:  225814
    IsAlreadyInstalled...
    SetupInstaller...
    Extracting: C:\Windows\TEMP\27822\installer.bin
    Extracting: C:\Windows\TEMP\27822\RDC.bin
    Installer folder: C:\ProgramData\Adobe\Setup\{AC76BA86-7AD7-1031-7B44-AB0000000001}\RDC
    Extracting files from Archive: C:\Windows\TEMP\27822\installer.bin
    Extracting files from Archive: C:\Windows\TEMP\27822\RDC.bin
    StartInstaller...
    CreateProcess cmdLine: "C:\ProgramData\Adobe\Setup\{AC76BA86-7AD7-1031-7B44-AB0000000001}\RDC\setup.exe" /sAll /rs  /msi DISABLE_CACHE=1
    And Adobe Reader is updated…!! but error in Deployment Software is still Error:259
    Looks like it is a false positive error ☺
    Von: Sabian Zildjian
    Gesendet: Mittwoch, 7. Januar 2015 19:20
    An: Jakel Jürgen
    Betreff:  Deployment Adobe Reader 11.0.10 - Error 259 and Error 150210
    Deployment Adobe Reader 11.0.10 - Error 259 and Error 150210
    created by Sabian Zildjian<https://forums.adobe.com/people/Sabian+Zildjian> in Enterprise Deployment (Acrobat and Reader) - View the full discussion<https://forums.adobe.com/message/7074444#7074444>

  • Error 48 and Error 69 when trying to synch iPod with iTunes

    I keep getting error 48 and error 69 when I am trying to synch my iPod to iTunes. I have tried all of the Apple troubleshooting steps and still cannot get music onto my iPod. Has anyone else had this issue and been able to resolve it?
    Thanks,
    Ginger2

    Hey there! I see you have Tiger...grrr...I love Tiger. But, is this a Windows problem? I am going to assume that this is a Mac OSX problem. Although, I own several Mac's, I have not run into that problem, But perhaps you could find the help on the iTunes for Mac forum:
    http://discussions.apple.com/forum.jspa?forumID=789
    I'm not sure really why you are getting that problem. That's kinda odd. But, Good Luck, I hope someone over there can help you out.
    Rachyl

  • HT1349 itunes will not open on my computer, and says I need to reinstall it.  When I try to reinstall itunes I get an error message error #2502 and error #2503

    When I try to open itunes I get a message that says that itunes is corupt and I needto reinstall it.  When I try to reinstall itunes Iget two error messages; error #2502 and error #2503.  How can I get itunes to work?

    Many thanks.
    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • Error #1095 and Error #1090

    I am using Flash player 14.0.0.125 with IE 8. I am constantly getting Error #1095 and Error #1090 when access any report that require flash to load.
    My co-worker's system has the same build as mine and she is not these messages.
    Has anyone experience this issue before and were able to successfully resolve them?

    I am using Flash player 14.0.0.125 with IE 8. I am constantly getting Error #1095 and Error #1090 when access any report that require flash to load.
    My co-worker's system has the same build as mine and she is not these messages.
    Has anyone experience this issue before and were able to successfully resolve them?

  • Error messages and error numbers

    Hi,
    Anybody know where can I get list of Error messages and Error numbers for Oracle Provider OLE DB.
    Thanks.

    Thanks for your help.
    We're using the same user and the environment isn't explicitly modified through ALTER SESSION or log-on triggers etc. However I was thinking it might have to do with different drivers: perhaps the JDBC driver used by OraAS 10g has creates a different environment than when connecting with SQL*Plus.
    I haven't opened a TAR with Oracle yet. We're currently in the middle of working out what we want (and paying for ;-) our support contract.

  • Error Categories and Error Codes in XI??

    Hi,
    What kinds of error categories and error codes exist in XI?
    Does anyone know the list like below?
    Where can I find related documents?
    Error Category                           Error Code
    XI_J2EE_ADAPTER_JDBC     PROCESSING_ERROR
    XI_J2EE_ADAPTER_FILE     PROCESSING_ERROR
    XI_J2EE_ADAPTER_JDBC     NOT_ACTIVATED
    XI_J2EE_ADAPTER_XI_HANDLER     CALL_CONSUMER_ERROR
    XI_J2EE_ADAPTER_JDBC     INITIALIZATION_ERROR
    Thank you.

    > Error Category                           Error Code
    > XI_J2EE_ADAPTER_JDBC     PROCESSING_ERROR
    if JDBC is want to insert, update of delete etc and its fails becaus of invalid SQL querry, or data type mismatch etc
    > XI_J2EE_ADAPTER_FILE     PROCESSING_ERROR
    //same for file..unablet put the file..no directory..no authorization to read or write the file etc.
    > XI_J2EE_ADAPTER_JDBC     NOT_ACTIVATED
    JDBC adapter is not activated
    So far I am not come up any document for this..if some know about it then do come up and share with us:-)
    Thanks
    Farooq.
    *Rewards points if you find it useful**

  • Error IN and Error OUT

    Is error in and error out important? If I leave out error in & out can I VI still run. What is the purpose of errir in & out?

    To answer Tim's question about automatic error handling and NI VIs:
    The VIs shipped with LabVIEW have the VI property for Automatic Error Handling turned off. We are "supposed" to write good code, which includes good error handling. So the automatic error handling dialog should never be posted from within a VI shipped with LabVIEW. If a call within one of our VIs does not have Error Out wired, it's because we know the execution of the code is correct whether an error occurs there or not (that's the idea, anyway).
    The bulk of the value to automatic error handling is that it allows you to write "quick and dirty" code and easily catch your mistakes. It's most useful for prototyping and initial code development. Production code should always be reworked for good error handling if error handling was not included in the initial design and implementation.
    Error handling often boils down to just helping you identify where an error is occurring and what is wrong. That's what the automatic error handling does for you. It just tells you error xxx occurred at location yyy and it allows you to break in at that location. You then figure out what is going on and add more code to your application to handle the condition (aha - error handling, not just error reporting). For example, what should I do if the file I am to write to already exists and is read-only? Should I just quit? Should I report file open error and quit? Should I report the file is read-only and prompt for a new file?
    Error handling code takes time to design and time to write. If all goes well all the time (shut your eyes and dream for a moment), then most error handling code is not needed. But all does not go well all the time. The better you get at using Error In/Out, the better off you will be in the long run. Wiring Error Out forces you to consider what you will do when an error occurs at that location. It makes you think and you make a conscious decision about what to do (which can include "do nothing"), but obviously a conscious decision is better than the unconscious decision which currently happens when you don't consider errors and hence default to "do nothing".
    Good code doesn't need automatic error handling turned on. There are times when it is helpful to all, e.g. prototyping, and there are times when it is always helpful, such as demos or when the developer simply doesn't want to write error handling code. Not everyone wants to write really good code. And some devious developers may want to find out who's pointing them to read-only files and not let them run their application anymore.
    Roy

  • Pls help me get itunes back on my computer.  runtime error R6034 and error 7 windows error 1114

    when i updated my itunes i got an error that it couldnt install it and to do it manually which didnt work either so i tried the uninstall and reinstall but i keep getting a runtime error R6034 and error 7 windows error 1114 and it wasnt installed correctly.  pls help so i can get itunes back on my computer.  i use windows vista. thanks so much in advance.

    Hi shannonvc,
    If you are having issues with iTunes after an attempted update, you may find the following article helpful:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Regards,
    - Brenden

  • Get these two error messages when I run the iTunes exe file:  Error 2 and Error 2 (Windows error 2).  Both say Apple Application Support is required.  Uninstalled and tried to install again several times.  Using Windows 7 64 bit on laptop.

    Trying to install iTunes on my Dell laptop with Windows 7 - 64 bit.  Get these two error messages when I run the iTunes exe file:  Error 2 and Error 2 (Windows error 2).  Both say Apple Application Support was not found.  Can anyone tell me why this is happening?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Using Error In and Error Out Clusters within VIs

    Quick question for the LabVIEW experts - I try to include Error In and Error Out clusters ICON terminals in all of my VIs.  My question is however, if I have a VI with code that does not use any error terminals do I need to include Error In and Error Out clusters in that VI?  If my code does not use those terminals I would think that I'd just be passing errors right through this VI and I don't see a purpose of including them.
    Thanks!

    dems wrote:
     As for the idea itself, I personally argue against it. LabVIEW should be a language. Adding a sequence structure and a few wires to a VI is not a language feature.
    It's a primitive.  There is no wires nor sequence structure in a primitive.
    This is one of those that NI and I are just going to have to agree to disagree.  When I see every company out there have a wait function in their library just so they can sequence the wait with the error cluster, that tells me there is something wrong with the core language.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Error Stack and Error DTP-Doubts.

    Hi Experts,
    I have a doubt on Error Stacks and Error DTP's in BI 7.0.
    For example i am doing a load that has 100 records and 10 of these records have some invalid characters and hence are showing up in the Error Stack.Now I know that i can change these records directly in the Error Stack and then use the Error DTP to process these 10 records.
    But for the remaining 90 records the Error Handling in the Update tab is set to "No Update,No reporting" and hence the original request is red.How do I update these remaining 90 records?Is the only way to set Error Handling to "Valid Records Update,Reporting Possible(Request Green)" so that these error free 90 records are loaded and available for reporting?
    Also what is the advantage of using of the Icon "Manually Post-Process Error Records" that exists in the DTP Monitor window against using Error DTP's?
    Thanks
    Aravind

    Hi...
    If it failed due to issues like Invalid char or error records, you may have the error data alone loaded to Error stack which you can edit and reload using an error DTP.
    Else in case if your entire DTP failed, then you need to retrigger the DTP.
    Handling of Data Records with Errors
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/fbd598481e1a61e10000000a422035/content.htm
    Error Stack
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/fa1acfcf2c1aa2e10000000a422035/content.htm
    Thanks
    Assign points if this helps

  • Replace AI read.vi with DAQmx read.vi

    Hi,
    I'm trying to replace AI read.vi with DAQmx Read.vi. The old VI, "AI read.vi", is returning two data: 'scaled data' and 'binary data'. However, the new DAQmx read.VI has only one output. Can anyone tell me how to get both data in new DAQmx read.vi?
    Thank you for your support.
    Best,
    Jay  
    Attachments:
    POT9.230.VI ‏252 KB

    duplicate thread
    Stick to your original!

  • Iphone4 restor and update. Plese advise what is error 21 and error 11

    Iphone4  restore and update . Plese advise what are error 21 and error 11 ?

    Read about errors here http://support.apple.com/kb/ts3694

Maybe you are looking for

  • Trouble removing a user from creative cloud for teams

    I am trying to remove a user from my team, however the X does not show the pop up menu with the option to remove them.  Also, when I click on any item on the left hand menu, nothing happens.

  • Logical Column Aggregation

    I have CurrentDollars and CurrentUnits in my measures table, and I"ve created PriorDollars and PriorUnits logical columns utilizing the AGO function. Since 'Use existing logical columns as the source' is checked, I don't have access to the Aggregatio

  • Problem with inverted commas in texts in WAD

    Hi all, I've a problem with description texts in WAD. In a graph where one of the columns have the description, let's say something like ' bla"bla ' (in Hebrew we've texts with inverted commas in the middle of the word) and when I point with my mouse

  • Flickering screen on 13" MBP 2010 with NVIDIA GeForce 320M

    Did anyone experience display issues with his / her 13" MacBook Pro (2010) with NVIDIA GeForce 320M? I've been using mine for several weeks and every now and then, the display starts flickering and I have no clue why. Unfortunately, the problem is no

  • Oracle JDeveloper 11g - Online Demonstrations

    Hi there, thank you for providing the first JDev11GA! From a first glance I'm realy enthused. But look here: http://www.oracle.com/technology/products/jdev/viewlets/viewlet.html A repeated review of the Online Demonstrations is absolutely needed. Som