Hi speed non-regen AO with LV DAQ Occurrences

Hi
I need to output 6 non-repeating patterns to 3 PCI-6111's @ 150kHz.
Can anyone explain to me why the attached LV7 Development Library example, with modified defaults and utilizing DAQ occurrences, will not work when more than one copy is run? When I try to run a second copy (with the device number different) the first copy produces a -10803 error.
Another example (also attached) will successfully allow 3 copies to run simultaneously. While it can get the job done, I was wanting to use the DAQ occurences, because I thought that would allow the minimum amount of CPU usage. This is the first time I've had to do anything more with AO than state levels. Am I missing something basic here?
Thanx.
Attachments:
Generate_Continuous_Sinewave_Occurences_dev1.vi ‏117 KB
Generate_Continuous_Output1.vi ‏451 KB

Hi,
I believe what is happening is that your first VI is using DAQ occurrences and locking the driver. This is because traditional NI-DAQ (before DAQmx) is single threaded meaning it can only execute one DAQ process at once. When you try to start another VI with occurrences it times out (error -10803) because it cannot access the part of the driver that does occurrences.
Since DAQmx is multi-threaded it is able to run multiple VI's and can actually trigger on multiple boards. DAQmx will support the PCI-6111 in NI-DAQ version 7.2. Until this is released I would suggest using continuous generation without occurrences when using multiple boards.

Similar Messages

  • DAQ Occurrence Config

    I am trying to upgrade the Traditional NI-DAQ in my project to NI-DAQmx.  I am running into the problem with the DAQ Occurrence Config.vi .  There doesn't seem to be an equivalent VI in NI-DAQmx.  All the reading that I have done says that I should use a Timed Loop instead, but I just don't know how to fit a Timed Loop into this VI so that it works the same as before.  The True/False Case Structure, the Stacked Sequence Structure, and the location of the Wait on Occurence function being outside the Case Structure all make this a difficult upgrade.
    I am at a complete loss and have been pulling my hair out over this.  Please somebody show me how to upgrade this project.
    Thank you very much in advance.
    Attachments:
    DAQ.png ‏193 KB

    Hi Jeff,
    Thank you for your excellent question.  I will do my best to answer it.
    I am still very new to LabVIEW.  Everything that I know has been self taught by reading the book LabVIEW for Everyone by Jeff Travis and Jim Kring plus reading the help files.  I have taken over the maintenance of several programs that were written by someone who left the company 7 years ago.  No one else in our company knows how to write LabVIEW code and everything that I have learned, I learned while on the job.
    My task is to upgrade the programs that are using Traditional NI-DAQ to NI-DAQmx making everything 64-bit compatible.  I have successfully done this with one project:
         http://forums.ni.com/t5/LabVIEW/Traditional-NI-DAQ-to-NI-DAQmx/m-p/2944596#M850161
    That project was a little easier because everything had an equivalent function plus there were some great examples to be found.
    For this current project what the program does is the researcher has some muscle tissue in a bath solution.  A current stimulus is applied to the muscle tissue at different times and different intensities/lengths.  The program needs to record the expansions and contractions of the muscle tissue 1s before, during, and 1s after the stimulus.
         http://www.catamountresearch.com/products/myograph.htm
    It is very important for the program to be recording the data at the right times.
    The program itself is huge containing about 50+ VIs.  The myoCMD.vi is the top most VI.  There are three other sub VIs that also have Traditional NI-DAQ in them, but I figured I should start at the top.
    The truth is that I don't fully know why the DAQ Occurrence Config.vi was used.  I believe that it was used to synchronize with a different portion of the program.  So I am trying to just duplicate the code in NI-DAQmx and hope that I don't break something.
    Looking at the code the DAQ Occurrence Config.vi is inside a Stacked Sequence which is inside a Case Structure and the Wait on Occurrence is outside all of that.  I don't see how I could use the recommended Timed Loop to replace it.
    Sorry if this answer was long winded.  I looking forward to any help that you can provide.
    Gary

  • When SLEEP is selected manually the fan spins at maximum speed non-stop

    Hi,
    I have HP Pavilion Elite HPE-180t PC, WIndows 7, Home Premioum, 64 bits.
    Occasionally, I put the PC into sleep mode manually if I am finished with my work. Here are the steps I do:
    1. Press Start
    2. On the Shut down drop down list select Sleep
    3. PC turns the fan speed up for a few seconds and then goes to sleep with the power button changing color from blue to yellow.
    But once in a while on the third step the fan speed is cranked up to maximum (quite noisy), the button goes from blue to yellow, but the fan keeps running at maximum speed non-stop.
    In these situations pressing any key on the keyboard doesn't affect this state i.e. the fan keeps running, and the PC is unresponsive to any keyboard or mouse input.
    The only way I found to remedy this case is to press and hold down the power button until the fan stops and the PC shuts down completely.
    Any suggestions on how to avoid the freeze up while going to sleep mode manually?

    Hi,
    I have the same motherboard in my HP e9280t.  Open up your PC and use a can of compressed air and blow the dust out of the CPU heat sink, power supply, video card and system fans.
    Open up the RUN window and enter: msinfo32
    If msinfo32 doesn't show the bios level then you will have to boot into computer setup and find the bios level.
    Look for the bios level. Bios version 5.29 is the latest and I have been running that level for a long time without issues.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • Programmer Experience with NI-DAQ and VC++

    I am looking for a programmer for a short term project.
    It uses a high speed digitizer, as well as NI-DAQ hardware.
    I would like some programming to be done in VC++
    This is a project in the Bay Area, California, USA. Potential applicants must be able to work onsite.
    Applicant should have strong experience in C++, Visual Studio, signal processing theory, sampling theory, waveform generation, and experience in using NI-DAQ in a VC++ enviroment.
    Email resumes to jobs at intereasemedical.com,reference job IE004
    Email/CV/Resume should include dates able to start work, expected billing rate, and summary of experience.

    The behavior you describe seems to be how things work in LabView. However, I need to know what values to pass for the sample interval and timebase in the SCAN_start() function. In the documentation for SCAN_start(), there is no mention of automatically setting the interchannel delay.
    There is this:
    "If scanInterval equals 0, the time that elapses between A/D conversions and the time that elapses between scan sequences are both equal to the sample interval. As soon as the scan sequence has completed, NI-DAQ restarts one sample interval later. Another advantage of setting scanInterval to 0 is that this frees the scan-interval counter, counter 2, for other operations, such as waveform generation or general-purpose counting. This applies to non-E Series
    devices only."
    Of course, this is NOT what I want, since I need all channels sampled within one scan interval (provided I am parsing the documentation correctly, and that what is going on in this situation is that the interchannel delay = the scan interval... correct me if I'm wrong on this). Anyway, this point is moot since it does not apply to my E-series board.
    I've looked over my code a bit, and I see your point about the AI and AO clocks. I can set the AO clock to whatever I want and then just trigger the output using the AI_START_TRIGGER signal. For my purposes, the AI and AO processes do not have to be sync'ed.
    Thanks,
    Sharad

  • Error: there are non exicisable item with cenvat tax code

    I am getting an error message there are non exicisable item with cenvat tax code while trying to add po for pick and pack from sales order. I request all of you to help me with it.
    I have already checked if the item and ware house is exicisable in the check box of the master data.
    Best regards,
    Sandesh.Sreyamsh

    Thanks mahendra and rahul,
    Unfortunately my issue is not solved yet, the tax is not manually created it was created by sap during new company creation. I checked by adding other tax type in sales order but every time when I try to create sales bom it gives the above error.
    @ Rahul the tax is under cenvat type and the Items has been added under exercise transaction. here is what im trying to do
    I created a sales order for 4 of my items.
    Then i try to create po for two of my as pick and pack items by checking Purchase orders indicator under logistics tab of sales order.
    At this point i am getting the above said error.
    All the items i am trying to add is exisable and tax is also of cenvat type.
    Please help me out of this as im stuch very badly in this issue.
    Regards,
    Sandesh.Sreyamsh

  • Can i use a non-apple keyboard with my imac?

    can i use a non-apple keyboard with my imac?

    Welcome to the Apple Support Communities
    You can use the keyboard you want with your iMac. However, note that some keys, as the Command key, aren't present in non-Apple keyboards. For example, in a non-Apple keyboard, you have to press the Windows key because that's the replacement of the Command key of an Apple keyboard

  • Weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non clusterable object with jndiName ]

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

    Hi,
    I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
    I am getting following error during deployment.
    Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
         Module: Sample.jar     Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
    Unable to deploy EJB: SampleBean from Sample.jar:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
    clusterable object with jndiName ]
         at weblogic.utils.Debug.assertion(Debug.java:57)
         at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
         at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
         at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
         at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
         at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
         at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
         at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
         at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
         at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
         at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
         at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
         at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
         at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
         at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Any clue?, what its talking about?
    Thanks
    Naresh

  • Can Iuse non Apple display with a new MacBook Pro?

    Can I use a non Apple display with a new MacBook Pro?
    Special connections?

    Only thing you need is a minidisplayport-to-? adapter ... plugs into Thunderbolt port.  ? is replaced by VGA or HDMI or DVI.
    I have used high-quality brand names (LG, Samsung) that were picked because I liked the display and have had no issues.
    I will add that some threads speak of issues with some Dell monitors that work spottily if at all.  But only from reading other threads.

  • Posting in a non leading leadger with an open item G/L Accounts

    Dear all,
    Iu2019m facing the following problem.
    Iu2019ve a document posted in a non-leading ledger with a openu2013item G/L account.
    I taught that this kind of posting is not permitted by SAP-standard.
    Is that so?
    The management of G/L Account was never changed: it is always been defined as open-item in FS00..
    Thanks in advance
    Alberto

    Correct, if your account is open item managed, then you CANNOT post to that account in individual ledgers.
    Please check the setting 'Clearing Specific to Ledger Groups' in the 'Control Data' tab of GL account maintenance transaction FS00.  Please read the help on that checkbox.  If you check that checkbox, then you can post open items to that account in a specific ledger group and then also clear that item specific to that ledger group.

  • Box model/none absolute positioning with flash

    In recent years none-absolute positioning (or box model positioning) has become the norm with HTML/CSS
    this is uselfull for dynamic functions which appear on an event (such as an object which appears when a button is clicked on or a error message that appears when a form box is given invalid input because it automatically inserts itself it the right place.)
    One very important example of this is when you have a form which automatically produces an error message and the error message appears bellow the input area which caused it and the rest of the page is pushed down.
    With none absolute positioning the developer does not need to worry about this.
    But if the objects are given absolute position then it becomes a massive problem, the developer has to go about giving the objects differetn positions dependant on if dynamic objects appear or not
    potentially the developer has to consider all possible variables, and code if statements which determine the position of all static objects for all possible variables which dynamic objects could take.
    so does flash have a "none absolute positioning" solution to this problem.

    Before you get all happy and pleased with yourself, APDivs or Layers seldom work well as a primary layout method. Here are some reasons why:
    http://apptools.com/examples/pagelayout101.php
    You're much better off using default CSS positioning (which is no positioning at all) along with CSS margins, padding and floats.  If you don't believe me, check your page in non-IE browsers with increased/decreased text-sizes (zoom, text only).
    From  Tables to CSS Web Design Part 1 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • EWA on Non-ABAP System with Solution Manager EHP 1

    Hi Experts,
    We have recently updated our solution manager from SP Stack 16 to EHP1 (sp 18). we are now planning to set up EWA for non-abap components (EP 7.0). however, the only SAP note that i have been able to find is "976054 - Availability of EWA for Non ABAP components" but this is only limited up to SP 17. I have not been able to find any guides relating to EWA thru Solution Manager EHP1.
    I would greatly appreciate if anyone can refer any documents or SAP notes that would enable setting up EWA for non-abap components thru Solution Manager EHP1.
    We have also gone through the note 1332428, but we have'nt found it useful. We are still struggling to generate EWA report on Non-ABAP system.
    Looking forward to your kind help.
    Thanks and Regards,
    Sarthak Syal

    Hi Sarthak,
    Good!!
    Please do  the following:
    1) include the system in the Solution and scheduled the EWA session.Logical component should refer to the Non-ABAP System with no ABAP instance as relevant under the SID definition in SMSY-systems.
    2) Is the Non -ABAP ( assuming its java) has the Software component defined and is mentioned as relevant under the SID with the component name and type.
    3) Having said that SMD - Root cause Analysis functionality is configured-> check whether you are getting the Details for the Non-ABAP systems in the analysis Tabs of Root Cause Analysis.
    This should be good to go. Wait for the session to get completed.
    Thanks,
    Jagan

  • Non-blocking execution with Pro*C/C++

    Hi readers,
    Is there any mechanism available through which Non-blocking execution with Pro*C/C++?
    I observe that Pro*C queries are hanged when the DB server (hardware) is down.
    I understand that OCI provides non-blocking mechanisms. Pro*C doesn't use this OCI functionality?
    Regards,
    RajaGopal Maddi

    You can use TAF to handle your db down scenario.
    http://www.oracle.com/technetwork/database/app-failover-oracle-database-11g-173323.pdf

  • How to integrate non-sap application with sap netweaver trial abap

    Hi, I currently have with me SAP Netweaver ABAP trial and Mini SAP BASIS 4.6 D. What i want to do is to see how can i integrate my non-SAP application with SAP.
    I am confused as to if using SAP Netweaver ABAP trial, will i be able to establish that. Can anyone guide me in this regard.I want to connect using JCO basically, want to write a java client that will be talking with the SAP application. Provide me a starting point.
    Will i require a Deployed SAP application as well to do this, or will Netweaver ABAP Trial do the job, will i also have to expose the business objects using BAPI.
    Please help.
    Please point out the right forum to post the question if this is not the right one.
    Thanks

    Hey
    Please post this question in ABAP forum
    ABAP Development
    Thanx
    Aamir

  • Can you access non-Oracle database with HTML DB?

    Can you access non-Oracle database with HTML DB? If not, will this be possible in the future?
    I realize HTML DB is not an open-source product. However, it is necessary sometimes to get non-Oracle database info. JDeveloper supports this. It does not appear to me that HTML DB does. This is a major drawback to it being a product for more potential applications that rely on other database technology such as MySQL, etc.
    If it is possible, is this brain surgery to do it. HTML DB offers fast simplified development and it would be good if it was built in. Does anyone know of an example of accessing non-Oracle database that is available?

    12282,
    In general, HTML DB gives you access to Oracle database facilities. These include heterogeneous services. Please search this forum for keyword "heterogeneous" and you can follow the threads that interest you.
    As for the comparison with brain surgery, I'd rank them about the same in terms of raw thrill.
    Scott

  • Commutatio​n with 6280 DAQ Card

    Hello,
    I want to perform parameter identification of a three phase brushless DC servo motor. Basically I want to obtain mass moment of inertia, viscous damping coefficient and coulomb friction at the bearing. To do so, I plan to apply a step voltage input to the motor terminals and collect the position information with a DAQ card. I know the inductance and resistance values of the motor windings as well as the I want to perform parameter identification of a three phase brushless DC servo motor.
    Basically I want to obtain mass moment of inertia, viscous damping coefficient and coulomb friction at the bearing.
    To do so, I plan to apply a step voltage input to the motor terminals and collect the position information with a DAQ card.
    I know the inductance and resistance values of the motor windings as well as the torque constant of the motor.
    So when I apply a step voltage input to the terminals of the motor, I would know the torque that is applied.
    And since I know the torque that is applied and also collect the position data I would be able to plot torque vs. position curve and would be able to obtain the necessary parameters from this graph.
    My problem is; I don't know how i can apply a step voltage input to a three phase brushless DC motor.
    Is it possible to use a DAQ card (I have a PCI 6280 DAQ card) for commutation? If it's possible is there an example about commutation of brushless dc motor?
    I don't want to use a motion control card to perform the commutation since I want to observe the motor dynamics only.
    Regards.

    Hello,
    for commutation you need to synchronize the output signals to the absolute rotational position of your motor. Typically this is done by implementing a lookup table to output values according to the motor's angle of rotation. This operation requires deterministic real-time behavior, so you could use a DAQ board with LabVIEW Real-Time, but for your application an FPGA-based R-Series device is probably a much better choice.
    Instead of generating analog output signals, with an R-Series device you could directly generate PWM signals with sinusoidal duty cycles to control an external FET amplifier.
    Here you can find example code for such a setup.
    I hope this helps.
    Kind regards,
    Jochen Klier
    National Instruments

Maybe you are looking for

  • Can I connect to two wireless networks at a time?

    I am using an iMac currently connected wirelessly to a Verizon Mifi mobile broadband on one network. I also have a Linsys router connected to the same iMac via an ethernet cable so that I may stream my itunes content to my Apple TV third gen. Lets ca

  • CS6 Mac- How to disable metadata from showing in web gallery???

    Does anyone have a way to stop metadata from displaying in my web gallery main image display? I am trying to create a simple html web gallery of some images from within Bridge output module. Thumbnails look ok, but when I click on one and get the lar

  • *URGENT* Cash discount account configuration

    Hello SAP Gurus, We have the following requirement: The business would like to update the GL account that is automatically posted when cash discounts are taken in the AP payment run. Is there any functionality available in SAP to configure the cash d

  • Check No not displaying in vendor ledger

    Hi, My Customer wants check no to be displayed in vendor ledger. When I see vendor leger Ref1 and Ref3 columns are coming up with outgoing document number. Can it be done? Regards Shashi

  • Slow acrobat printing

    Extremely slow printing of PDF documents on networked HP 5000 DN. Printing about a page a minute. Files have been reduced in size using Acrobat. No recent software changes. Printer is networked using HP Jet Direct print server. Printing in other ppli