Add the template to measure continuously from its acquisition

Hi all

I use the example of the continuous measurement as a basis to work from.

I want to measure the noise of a microphone that is connected to the laptop via a usb device and measure signals from a data acquisition device too.

My problem is that I have included an another loop.vi message of goodwill (which is for the microphone recording) in the main.vi however, whenever I have change the acquisition for the microphone, it affects the message loop.vi for the DAQ hardware acquisition.

In addition, because I added an acquisition additional message loop.vi, how can I connect the events to include the acquisition of micro?

Hey Hammertimer,

Sorry for the late reply, this maybe isn't a problem for you more.

I think you see the problem mainly to the behavior of FIFO queues. The enqueue function will dequeue only in one rather than two of them dequeue function and will not particularly explicit regarding which of the dequeue function removes the item to (almost random fact micro loop or loop DAQ), leading to undesirable effects, I guess.

(1) you could change only acquisition loop, so that when you press start, the case of departure contained the information to start recording microphone and DAQ hardware loop acquisition, rather than having a for each loop.

(2) If you want to control either individually, you can edit all messages queues 'create' to add additional lines (other than the acquisition, logging and UI) for example, the queue of the 'acquisition of MIC' and then in your acquisition of micro loop, ungroup this instance of queue instead of the standardized for you queue instance give a separate control on the acquisition of MIC.

Option (1) is more appropriate if you want to trigger a single button
Option (2) is more appropriate if you want to the different buttons to trigger recording microphone or acquisition DAQ.

I hope that I have which explains clearly and satisfy your question about scale to the top of your message queue manager waiting!

Tags: NI Software

Similar Questions

  • How one move the templates of virtual machine from one host to another host in the cluster even

    Hello

    Can you get it someone please let me know how to move the templates of virtual machine from one host to another host in the cluster even?

    Thank you

    James

    Welcome to the forums!

    Convert it to a virtual machine (right click on guest and choose the appropriateoption), move it through the migration feature (right-click Guest, and then choose "Migrate") and convert into a model (right click on guest again and choose to convert to a template).

    If you found this information useful, please consider awarding points to 'Correct' or 'Useful' responses Thank you!!

    AWo

    VCP / vEXPERT 2009

  • How can I customize the folder icon and add the template to all subfolders

    IM using Windows 7

    In the My Pictures folder, I have many many separate subfolders. I have no problem customizing folders one by one, but check the box "Also add this template to all subfolders" does not work. It does, however, if I check this box to display the same image IN the folder.

    This isn't a matter of life and death but Ive got about 200 subfolders (with graphics) and modify them individually will be soul destroying and dead all simply too short.

    Ive tried select all and change properties, but modifies only the 1 folder which has been a right click

    Ive looked for questions but the problem has not been raised. Any help would be appreciated.

    Of course, here's how with a quick video demo: easily apply Windows folder to all subfolders display

  • The letter 'a' becomes separated from its associated Word and is placed on a line separate from his own. For example, I opened my Firefox home page and ther I my BT mail alerts. It spreads as described previously. All comments patches?

    See above question

    I think I found the problem. There is an additional toolbar, my son had downloaded. I uninstalled it and the problems... I think so

  • Automation error: The object invoked has disconnected from its clients when the exe to exectuted the VB6 for the second time

    Dear all,

    I had this really common automation error when I run an exe file created by Visual Basic 6 for the second time. Whenever I ran the program for the first time that it works really well. But the second time always fails. When I ran in debug mode in Visual Basic 6, sometimes it worked. I checked the code and found it would be discontinued in the next part - CommonDialog1.ShowSave.

    ReDim SelectedVar (1 NumSeleVar)
    ReDim SelectedVarTxt (1 NumSeleVar)
    I have = 1
    For j = 1 To NumVar_GasPlants
    If chkOpt (j - 1). Value then
    SelectedVar (i) = j
    SelectedVarTxt (i) is chkOpt (j - 1). Legend
    i = i + 1
    End If
    Next J

    'Get the name of the export file.
    If not g_RunOutputMacro then ' check-out
    CommonDialog1.cancelError = True
    CommonDialog1.InitDir = curCasePath
    If IsMonteCarlo then
    CommonDialog1.FileName = "HourlyData_GasPlants_" & cmbYear.Text & "_" & cmbMonteCarlo.Text & ".csv".
    On the other
    CommonDialog1.FileName = "HourlyData_GasPlants_" & cmbYear.Text & ".csv".
    End If
    CommonDialog1.Filter = ' (*.csv) | * .csv.
    CommonDialog1.FilterIndex = 1
            CommonDialog1.ShowSave
    SelectedOutputFile = CommonDialog1.FileName
    On the other
    SelectedOutputFile = g_Output_FileName
    End If

    I have been tormented by this problem for almost a month. Any suggestions or ideas would be very appreciated!

    Thanks a lot guys!

    Hello

    This problem would be treated better in the MSDN Visual Basic forums. Expertise it can help you with this problem.

    https://social.msdn.Microsoft.com/forums/vstudio/en-us/home?Forum=vbgeneral

    Thank you

    Stephanie Podder

  • White space removed while the text is cut off from its position

    Hello

    I am facing a problem in InDesign CS4 or later demand.

    I have a text like:

    "The physical state in which a polymer may exist can be idealized by first examining a string of very long, regular polymer. .

    {{1 AQ}}because these properties are dominated by the extreme length and chain - like structure of these molecules and not by their actual chemical composition. »

    When I cut the text {{AQ 1}} of the paragraph, the space before the text is deleted and becomes as below:

    "The physical state in which a polymer may exist can be idealized by first examining a string of very long, regular polymer. .

    The reasonis that these properties are dominated by the extreme length and chain - like structure of these molecules and not by their actual chemical composition. »

    Can I get any solution for this problem.

    Thank you

    Gopal

    In text preferences, check that this preference is turned on: adjust space automatically when cutting and pasting words.

  • How to move templates of virtual machines from one host to another, if the partners host is offline

    Hi people,

    I knew that I need to convert a virtual computer model to a VM to move from one host to another, but that when the host, that the model is associated with, is offline / broken? Is it possible to make it work again on the vsphere client or only via the command-line interface of cmd and save the model with the host?

    Thanks in advance.

    Kind regards

    Bjoern

    You can try this...

    If you have another ESX host to add the data store to which the template is stored.

    After that browse the data store and go to the directory of the model. Select the model VM file and add it to the inventory and select the host on which you want to add the template... After you have added the host convert VM...

    Thank you

    Please indicate if useful...

  • How to add the phase parameter to array of waveform in the DaQmx continuous output example?

    Hi all

    I'm quite beginning to Labview. I just wanted to know how can I add stage information for the module of waveform existing as shown in the example of output Voltage-Continuous DaQmx.

    SEEE attached, I thought that the "output" is actually a built-in control, is there anyway I can add the phase as an additional parameter which?

    Thanks in advance for any help.

    Eric

    If you press ctrl + H, the context help window opens, and you can hover over the generating function VI to see its inputs/outputs, but also to navigate to the detailed help. As you can see from this screenshot, there is an exit for the phase which is separated from the output waveform.

  • Error message: failure of the last attempt to resume the system from its previous location

    I have problem, I can't do anything computer just stuck on the error message screen that reads "the ultimate attempt to resume the system from its previous location failed", the keyboard does not work I can not choose between the choice that is to say 1. continue with the curriculum vitae of system or 2. delete restore data I can't even boot from an installation CD. Help, please

    Hello aliciamulrainqz,

    Apart from questions of Gerry C J Cornell, I have included a link below where the user reported an error even.  Please let us know status.

    Microsoft Answers:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-system/delete-restoration-data-frozen-Win7-Prof-64/36407a58-e66b-43DE-A21D-f118c85153b4

    Thank you

  • Why the links in the template to change the location to "file:///'...on the pages created from the template?

    I'm not sure what I am doing wrong but I am building a portfolio site of a model that I downloaded online.

    The site works and I'm slowly converting from the content of the template for the content I want.

    As I'm editing the site and adding several pages, I decided to try to add the header, the footer and the bar of navigation as a model with another container Gallery and navigation as an option on the model.

    I thought it worked very well until I noticed that the links on pages created by using the template are displayed as follows.Screenshot_2.jpg

    instead of links that were in the model which show that,

    Screenshot_3.jpg

    Is this something that will change when I download the site with the model or did I do something wrong links?

    You save your child page yet?  You must do the same. Once registered, DW will adjust the paths for you.

    Nancy O.

  • How to read continuously from the rs232?

    Hello

    I'm new to LabVIEW and my questions would be obvious for some for you. So please help if you know the solution.

    It's for my school project. For your information, we need to schedule a Committee of Altera DE2 to control traffic lights (something like that) and at the same time, the Commission shall forward the States of enlightenment to a computer with LabVIEW installed via an RS-232 cable.

    The rest of the project was fine except for the part of LabVIEW, because as I said earlier, I'm new to LabVIEW.

    We use the "basic series write and Read.vi" in the folder examples of NEITHER. The problem is that we do not know how to change the vi in order to receive the data that come the DE2 Board permanently. Each time, the vi stops reading after receiving 24 bytes of data.

    So, the first question is:
    1.) how to read continuously from the RS-232 port? (We tried to use while "loop" but without success, maybe we were doing it the wrong way.) If you know the solution, please enlighten us for us in a detailed manner.

    (2) Secondly, once we have received the 'chain', how can convert us to bits (0 and 1) so that we might be able to manipulate the bits, for example turn on the LEDs that correspond to the bits.

    Thank you.

    Instead of reading the bytes of the port so to read that many bytes (which may be zero), just do a VISA read for 1 byte.  He will wait for this next byte.

    To get an array of Boolean out of this byte, use this code.  He turns the characters into a byte array.  Takes the first and the only element of this array, and then converts this single U8 number into an array of bytes.

    Which country are you?  I've never seen or heard lights orange before.  Only the yellow lights.

  • Using the DAQ Assistant. can I create a VI that measures continuously during a fixed time?

    I use LabView to an NI USB-6009 enclosure, with two accelerometers like my analog input. When you use DAQ Assistant to build my VI I have not seen an option to measure continuously for a set amount of time. I need the test to run for two seconds and then stop.

    Is there anyway to specify the exact duration of each test?

    It's about as simple as you can get. Set the number of samples to be twice the sampling frequency (or whatever the multiplier that you want). That's it - a simple DAQ Assistant and nothing else on the block diagram. If you need it to be variable, just wire a control of the number of input samples.

  • Windows 2K 3 is removed from the network, every hour, sixth of its previous disconnection

    Hi all

    I have a problem here in a production environment. We use the combination W2K3 SP2 and SQL 2008. It is the server gets disconnected from the network, every hour, sixth of its previous logout. SQL resources are working well, but the server itself becomes not accessible. When I mean the server by its IP address or name DNS etc.

    While closely watching the issue, we found that even the RDP connection to it expires exactly at the same time. It's just an interruption of 10-30 seconds, and after him, everything is normal. Only clue is, it happens exactly every sixth hour. We also found his happens for all servers in the VIRTUAL local area network at the same time.

    Sixth hour that I mean, is the model... for example it happes to 09:15 then it will happen about 15:16 and then 21:17, then new tomorrow 03:18, 09:19, 15:20, 21:21 etc. If this isn't exactly every six hours, it every hour, sixth of its previous logout. The calendar is always in motion.

    Note:

    DHCP is not enabled on the server. Its configured to use a static ip address. The server is based. No DHCP server in the environment.
    Client DHCP is running on the machine to register DNS for the DNS server. No windows firewall is turned on.

    So its more like a configuration problem which is something set up to do something every time sixth from his previous instance.

    Please let me know if you think anything.

    Thank you
    Damien

    Hello

    We have a separate Department of Microsoft who work with servers. Thanks for posting your query in the link below:

    http://social.technet.Microsoft.com/forums/en-us/winserverfiles/threads

    Thank you

  • Impossible to remove an unknown account, get the error 'cannot delete the unknown account because this object inherits permissions from its parent.

    I have several programs that when I go to security there is an unknown account and when I try to delete unknown account I get this message that you cannot delete the Unknown(S-1...) account because this object inherits from its parent perssions. To delete the Unknown(S-1...) account, you must prevent this object from inheriting permissions. Turn off the option for the inheritance of permissions and then try to delete the Unknown(S-1...) account again. I tried the edit and advance features in respect of security without success. Why have I not control over security permissions?

    Found a solution to this problem.

    Go to the folder parent of the folder that contains the files with this unknown account number:
    1. right click on the PARENT folder, and then click Properties.
    2. on the Security tab, go to the advanced options (bottom window)
    3. in the new window, click the button change the permissions in the bottom.
    4. Select the Group (NOT AUTHENTICATED, just of users USERS) users
    5. check "replace all permissions of child object with permissions inheritable of this object.
    6. click on the OK button or apply and done, fixed number.

    Hope this helps anyone else having this problem, for me it happened after reinstallation of win 7 on the same machine and keep my images on another partition, so it was spared by the new facility, so the old user account was always on the file permissions.

  • How add us shortcuts of applications downloaded from the app Store? (RT surface)

    Original title: App shortcuts

    Hello

    How add us shortcuts of applications downloaded from the app Store? (RT surface)

    For example: Skype shortcut on desktop

    Hello k0mrade,

    You can create shortcuts on the desktop for versions of the apps Web page, but not applications, in the strict sense. The version of the app Web page often has more features and options.

    The example you give is a good thing. If you go to the Skype Web page, you can do this Web page a favorite in user IE10 or IE10 Desktop interface. It also works with SkyDrive, Hotmail, Outlook.com, or any Microsoft service available on the internet.

    Once the favorite is created, open the Desktop IE10, then open Favorites and drag the symbol from the Web page Favorites and on the desktop. It becomes a shortcut on the desktop to this Web site (but will most likely open on the side of the user interface).

    In addition, if you use the same Microsoft account to connect to Windows RT, that you will use to connect to the Microsoft Web pages, when you open the shortcut that you'll already be connected.

Maybe you are looking for

  • Virus/Spyware/MacBook Adware

    I have a Macbook Pro. I had my brother borrow computer and when I got back, I have several different things that make me believe that he has caught a virus. When I go on some websites, open a new tab and either be a flash or downloader mac download d

  • Change the names of contacts

    So I have all my contacts linked to their facebook of google and yahoo, but now the phone seems to be forcing me to use their full names rather than the names of nick. I would like to know the name of MOM or dad pop up instead of first names of my pa

  • My computer hp laptop

    My screen has been slain for 2 days on scanning and repair disk (C: 39% complete.) Does anyone know how to do it. I tried to restart.

  • How to print a photo from my computer to a CD disc? I have a PIXMA MG6320

    I can't get a picture which is in "My pictures" to print on a CD.  Anyone know what I'm doing wrong? Thanks for any help

  • no backup for WAP54G?

    I just finished to save my configs for my 2 WRT54GLs and, when I tried to do the same thing for my WAP54G, it seems that this option is not available. Any reason why we can't save the State of the WAP configuration in a file? Thank you Paul