Problem with the help of several sensors piezo with DAQ

Hey there,

For a drum program, I have 2 buzzers piezo related to data acquisition in the code, I put it in place so that a different sound sample would be assigned to each sensor. However in the beginning, when I run the code, I hit a sensor (a1), he plays as ok. When I hit (a0), this kind of chance. Sometimes he plays the sample assigned to a0 or a1 or cheek then the other.

Then messing around with the DAQ assistant, I changed the scope of the input signal and found that the entrance to the a1 plays the affected a0 sound instead. My mind is boggled.

Code attached.

Thanks in advance,

Emile


Tags: NI Hardware

Similar Questions

  • With the help of several types of video files into one film will prevent the publication?

    I am using Movie Maker on Vista.  I have mpeg, avi and wmv files.  The Movie Maker plays very well in project mode, but will not be published.  Multiple file extensions would be the source of trouble?

    If so, is there a quick fix?

    Hi d1bon,
     
    1. what exactly happens when you try to publish a project?
    2. do you get an error message?
     
    With the help of several file extensions should not be a concern.

    Disable video filters and check the result.
    1. click on tools and then click Options.
    2. click on the Compatibility tab.
    3. to turn off a filter, clear the check box next to the name of the video filter.

    You also uninstall the Codecs and check the result: Uninstall

    Please provide us with more details on the issue, so that we can better help you.
     
    Check publish a movie in Windows Movie Maker
    Check, solving problems with publishing a movie to your computer 
     
    Kind regards
    Syed
    Answers from Microsoft supports the engineer.

  • Hi, I had a problem in the creation of several rounded cornered rectangles not "distorted"?

    Hi, I had a problem in the creation of several rounded cornered rectangles not "distorted"?  I have attached a picture to show what I mean (problem highlighted in blue). Any help would be really appreciated...

    ROUNDED CORNER RECTANGLES.jpg

    Thanza,

    If you wish to have proportionately more sizes with the same radius of rounding, you can:

    1) begins with a rectangle (not rounded) and effect > Distort & Transform > transform with the setting to the desired scale and the number of copies;

    (2) object > expand appearance.

    (3) effect > esthetics > rounded corners with a desired RADIUS.

  • With the help of several outings on NI USB-6229

    Hello

    I have a question about the use of several output (input) on NI USB-6229. I request of programming where I use a few digital, digital inputs, outputs some analog outputs and inputs. Initialization of all the ports that I have in a Subvi, which lies in a loop for I control settings on the other for loop by using notifications. Problem is that this outpust is really slow (or reading entries), I want to say in my main loop I setting button, but it takes at least 1 s to change my outings (even with reading entries)? So I am wonderig what I am doing wrong. Can plesae you tell me what is the best way how to control several different ports?

    OK, so my whole program structure is like this:

    In primary Vi, I have a loop that subvis in other control loops. One of the Subvi is Subvi whichchange parameters at initialization Subvi. The structure on the photo. Please help me because I really don't know where is the problem. I use two converters AD / DA more and some machines that I am targeted by using the RS232 but it NEITHER original is the slowest.

    PS. If I turn on only parameter Subvi loop everythinf is much faster.

    OK problem with loops slow fixed http://forums.ni.com/t5/LabVIEW/Slow-parallell-loops-with-DAQ/m-p/1698988#M601731.

  • Reg: With the help of several tables of facts in the RPD!

    Hi all

    Can I get help with the following scenario?

    We use OBIEE 11 g.
    We have a report that uses 1 single fact table to retrieve data and it must be hell a lot of time to display the data in the report.

    My question is is there a way to show the performance of the report if divide us the data in table 1 to 2 fact tables and the report uses them 2 made tables.
    Are there other ways of finalization of the report for better performance.

    Thanks for the help in advance!

    Ajay.

    Hi Ajay,

    Follow these steps for tuning;
    1. try to adjust the SQL query generated first by the report, and then make the necessary changes. (Put index on the column that is required so that your query is scanning the index instead of the whole table)

    2. you can try to create the agg fact table and use agg navigation to improve performance. (This is to reduce the data set on which sql is triggered)

    3. you can try to create partitions on the table of FACTS in the comic book, and so held the partitions are queried according to the filters.

    4. in the last if all the foregoing does not resolve your query, you can try to divide the FACT table in two or more depending on your decision and then use fragmentation content in the MDB of the RPD layer if it will strike appropriate tables depending on whether you declare.

    Mark Correct/utile so this can help.

    Good luck
    Kashi

  • With the help of several conditional tags with multiple outputs of WebHelp

    I have a project that I created for a web application. Within the web application, there are 3 types of customers (business Accts, Accts National and level 1 clients).

    I added each help topic associated with the help topics that I created.

    Then, I created 3 outputs of webhelp and 3 Table of contents for each type of client.

    My goal is to publish the project, where each type of client has their own output generated. Do it this way, which is listed in the help topics of table of contents for each type of customer that is not correctly displayed.

    Example: National accounts TOC

    What is generated:

    I have tagged in the table of contents to the conditional tag appropriate help topics. Help, please. Any advice? I can also be reached at [email protected]

    None of your screenshots came through - the icon of camera in the web interface allows you to attach images

  • Problem with the help of several lines of flight path images. Any help would be greatly appreciated thanks!

    Hello

    I use several lines of flight path images, and when the mouse is hovering over an image rollover on the second row or below the image that is supposed to appear appears on the image at the top of its column. Any help would be appreciated, I've tried everything I can and can not find a way to solve this problem. If you need videos or screenshots of the problem, DOM Panel or code please ask. Thank you

    I'm on a mac on Yosemite and spin the latest version of dreamweaver

    Until you find permanent web hosting, do a Google search for free web hosting.  You will find a lot out there that you can use for temporary testing & debugging.

    Nancy O.

  • With the help of several values with CFSET

    Currently using CF7 to develop for the server.

    Several (many) use < cfif > statements on page to hide/display based on the user name credentials.

    My curernt for this code is:

    < cfif (MM_Session.Username EQ "Name1" or MM_Session.Username EQ "Name2") or MM_Session.Username EQ "name3" > show me something < / cfif >

    The problem is that to add/change/delete a name, I have do this 15 times.  Can I still use find/replace, but I thought I could put something in place in the Application file for better management. What I came up with is the following:

    In the Application, I inserted:

    < cfset theadmin = "Name1, name2, Name3" >

    On the other page:

    < cfif (MM_Session.Username EQ #theadmin #) > show me something < / cfif >

    Of course, he did not.  I know there must be a table, but I don't know how to do this with cfset and what I found in the research and documentation does not worked either.  I was hoping to create a list of user names in the application so that I can quickly add/modify/delete users once.

    Any ideas or help would be great!  Thanks in advance!

    OgreOne wrote:

    Currently using CF7 to develop for the server.

    Several (many) use statements on page to hide/display based on the user name credentials.

    My curernt for this code is:

    Show me something

    The problem is that to add/change/delete a name, I have do this 15 times.  Can I still use find/replace, but I thought I could put something in place in the Application file for better management. What I came up with is the following:

    In the Application, I inserted:

    On the other page:

    Show me something

    Of course, he did not.  I know there must be a table, but I don't know how to do this with cfset and what I found in the research and documentation does not worked either.  I was hoping to create a list of user names in the application so that I can quickly add/modify/delete users once.

    Any ideas or help would be great!  Thanks in advance!

    First, it is important that your Application.cfm file implements the cfaplication tag. At least something like this will do:

    Then, put this in the Application.cfm file:

    It makes the adminList variable available to each page in your application. You can now proceed with the following checks on any page:

    Show me something

  • With the help of several styles of paragraph in a table cell

    Hello

    I'm stuck using several styles of paragraph within a cell. I guess the solution is that I need to start a new paragraph, but so far I have not found a way to do it. When I directly in InDesign, it works fine, but I can not start a new paragraph when you use the script.

    Here's a solution I've tried:

    with {(table)

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: '1 ' Format string,

    appliedParagraphStyle: styleFormat1

    };

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: "\rString in size 2',

    appliedParagraphStyle: styleFormat2

    };

    }

    But until now I did not get a new paragraph. When you look at the IDMLs, you can see that InDesign adds a new paragraph inside the cell, while my code remains in the same paragraph.

    Here the IDML result when I do in InDesign:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format1" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    And here is that when I use the script:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    It is therefore quite clear my script is not adding a new paragraph. Any ideas how to get a new paragraph so I can use more than one paragraph style?

    I don't have test nore debug your code, but I suggest you another method to apply the content and style of two paragraphs. Do not use a with statement.

    What is your version of InDesign?

    Example:

    // Add new document:
    var doc = app.documents.add();
    // Add two paragraph styles:
    var paraStyle1 = doc.paragraphStyles.add({name : "ParaStyle-1" , pointSize : 20});
    var paraStyle2 = doc.paragraphStyles.add({name : "ParaStyle-2" , pointSize : 15});
    
    // Add a new text frame (default is on page 1):
    var newTextFrame = doc.textFrames.add();
    newTextFrame.geometricBounds = [0,0,"150mm","150mm"];
    
    // Add a table to this text frame:
    var table = newTextFrame.tables.add
    (
        {
            bodyRowCount : 4 ,
            columnCount : 3 ,
            width : "150mm"
        }
    
    );
    
    // Assign the contents as array:
    // The fisrt and only entry in this array will give the first cell its contents:
    table.contents =
    [
        "Paragraph 1"+"\r"+"Paragraph 2"
    ]
    
    // Assign the formatting of the two paragraphs:
    table.cells[0].paragraphs[0].appliedParagraphStyle = paraStyle1;
    table.cells[0].paragraphs[1].appliedParagraphStyle = paraStyle2;
    

    Strategic outcome with InDesign CS6 Mac OS x 10.6.8 v8.1.0:

    Hope, that helps.
    Uwe

  • With the help of several mouseover images distributed on a BG image

    Here's the concept: at the recent show of my group, I got a picture of the scene.  I use this image as a background image for the site. When someone visits the Web site, when the mouse pointer hovers over a tool, image mouseover intervenes and surrounds the instrument with a white outline.

    I do this by creating images flown over; the mouseoff image is exactly the same as the part of the background image is above.  The mouseon image is surrounded by a white outline instrument (for the attention of viewers and let them know that it is a clickable object).   The positioning is difficult, but I managed to get the first image in place.  You can see the results http://www.solarisrpg.com/files/akistos/tbb/index.html.

    However, the problem arises when I insert a second image mouseover.  When the image first appears in Dreamweaver CS5, it sits in the lower left corner of the image of BG.  When displayed in a browser, the image appears to the right of the image of BG, hovering over the fill background color. (screenshot below)

    screenshot1.jpg

    When I insert position data in the attributes of the image for the image of mousover (floating bass), it drops below the image of BG completely. (screenshot below)

    screenshot2.jpg

    As you can see, all the other attributes of the picture are working very well.  Passage of the mouse, it displays the appropriate image.  When I click on it, the link appears where and how it is supposed to.

    I've tried using < div > tags to each image mouseover on a separate layer.  That has not worked; behaviors have remained the same.

    Help, please!

    does not have a closing DIV tag.

    Try to add all your pages below your Photoshop slices, instead of between the two DIV, them. You may also comment on each one if it makes them easier to find in mode code. As follows:

  • With the help of several buttons on a slide

    I am a new user of Captivate 4 and I have questions with several buttons on a single slide.

    I want a button each to send to users in three different places depending on the button pressed. The locations are all in the current movie that I am developing.

    My problem is that using a button or click box is an action "pass" and "fail". When you use the two buttons in a slide I was creating a dummy "button and get the users click on this 'button' where there are only two choices. This procedure meets the success of failure on the button or click box.

    Of course, I can't do this job when I need more of two buttons.

    I must be missing something simple here any advice would be appreciated.

    See you soon

    thedarf

    Hello

    I'm a bit confused. You say you want to provide only two choices? (Or are you want to create a slide where it acts much like a table of contents when the user clicks the button or click box) 1 and moves might slide 5, button 2 moves to maybe slide 10 and 3 button move maybe slide 15.

    If this is the case, you are overthinking things. All you need to worry is the action of onSuccess.

    See you soon... Rick

    Useful and practical links

  • With the help of Lego sensors and motors through the LabVIEW and NI PCI card

    I want to connect a card PCI NI Lego motors and sensors and drive motors and the data of sense using LabView. What card PCI can I use? Thanks for a great site and fantastic community online.

    Hi Tom,

    Looks like a great app.  NXT with LabVIEW Migration will be a big intermediate step before joining more industrial and better sensors with a PCI, PXI, cDAQ or cRIO.  We have a lot of options when it comes to vision and control and acquisition of movement, and we have dedicated forums for all of these products as well.

    Machine vision: http://forums.ni.com/t5/Machine-Vision/bd-p/200

    Motor control and motor control: http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/bd-p/240

    Programming LEGO Mindstorms LabVIEW Guide: http://digital.ni.com/manuals.nsf/websearch/93B7EC451C8DEEC68625762B005380FE

    Getting started with LEGO Mindstorms: http://digital.ni.com/manuals.nsf/websearch/80456522F9BE87FB8625746400540977

    Good luck

  • With the help of several NI USB-TC01 Thermocouple measuring devices

    I am currently set up with 1 NI USB-TC01 (http://sine.ni.com/nips/cds/view/p/lang/en/nid/208177), and everything works fine.  My question is, can Labview control multiple TC01s simultaneously or I have to buy the NI USB-9211 has (http://sine.ni.com/nips/cds/view/p/lang/en/nid/201881#) to manage multiple thermocouple measures at the same time?

    Thank you

    Ben

    Ben,

    I didn't know we even had this device but I think that all of the information you want are in the link below.

    http://digital.NI.com/public.nsf/allkb/7A9DAE5554C9D503862576FC005A3908

    If you use the built in program, it is four devices, if you are using LabVIEW, you are limited to 127 devices.  I don't know if several windows built-in software should be used if you use a LabVIEW.

  • With the help of several PLSK400?

    I'm looking to place my file multimedia/Xeon server in my garage (much cooler than where it is now).  Currently, I have the PLSK400 and I love it it works fine for a Media Streaming my MacMini to my theatrical home page 3 floors away and the use of the AppleTV.  I need for the server file / multimedia is an another Kit PLSK400 (as the only PLEK400 is out of stock), and I'm asking is if I can use 4 of the kit with the outgoing PLSK400 installer I have, or I have to use the PLSK400 second set kit to provide the network in the garage?

    Basically it is possible to have TWO kits of PLSK400 in use at the same time on power lines same?

    Thank you

    Yes, you can have several of your network, Nexxsys power lines.

  • With the help of several radius for authentication servers

    Hello.

    I want to install a PPTP to my router and I wonder if it is possible to use windows multiple IAS servers on a Cisco router?

    The scenario is that I have more than one business using this PPTP connection and they all have their own advertising on their own VLAN, I would like the router to forward the authentication request containing the username and password for all IAS of Windows servers that I specify or go through them one at a time until it receives an awnser.

    Is this possible?

    Best regards Tommy Svensson

    Tommy,

    This is not possible because if a radius server receives a user name, it will be simple rejection the user and send this response to the Cisco router. The radius Protocol is not throw or send any message to warn the router that the user is not present in its database.

    I know that with ACS that if a username has been sent with a special domain can proxy communication on the acs server and the Cisco router based on the user name.

    I hope this helps.

    Tarik

Maybe you are looking for