Update of Audio devices while the program is running

Hello

I want to connect to a device audio all in a labview VI is running. When I do, the audio device does not appear in the list of audio devices. Will there be any node of activeX or another possibility to refresh the audio in labview devices, while a VI is running?

I use Windows XP and LabVIEW 2010, but I think that an upgrade for 2011 would not solve my problem.

Hi Angelica,.

just spoke to a colleague on the issue and we have now resolved. The solution are VI references and call forwarding.

Take a look at the example in the attachment. The use of this piece of code, the 'get Num Devices' function (as an example for all other functions that you want to use) is reloaded each time it is called, resulting in the numeration of device updated when executing.

Good luck using it and best regards,

Benjamin

Tags: NI Software

Similar Questions

  • Acccess filtered of measurement data, while the program is running?

    My main problem is that data that I take is 3-dimensional. I take measures of resistance, capacity and Q factor over a predetermined period of time, but the problem is that these measures are taken in a matrix of switching through provided pin code sequences.

    If I can take a measure of resistance from pin 1 to 20 pins between 10 am and I want a useful method for displaay these data to the user that the program is still collecting data. I write data to a TDMS file because it is collected, and the output format looks like this:

    My thoughts were going to have 4 separate controls that can be set to access specific aspects of the test while it is running to make this work. My idea is to have (4-6) something similar to the below:

    In this way the user can refine exactly what they are looking at in this case.

    Key question is whether I should / can:

    1) access to the PDM file for the information you selected with the commands above to fill the Microsoft graph chart?

    (2) the data measured in a wide range of stuff and then have sub - VI that filter of this large table to retrieve the data and complete the Microsoft graph chart?

    (3) another method...

    And advice have enjoyed. Thank you!

    ; How much data are you talking about?  Is - this low enough so that you would be able to keep the table in its entirety in the memory?  If so, then I would use your option 2.  Then design an interface that allows the user to determine what links they want to watch, and your program could analyze through this gathering the data and display it.

    If that's too much data, then you have to go with the PDM or another option of storing files and read the data back to the piecemeal and build your data table that applies to display.

  • Open file .lvm while the program is running

    How to open a .lvm file in my program? I tried to use the dialog box file open/create/replace with file dialog box by specifying the path and I can get to the point to select the path, and it does not open the file.

    I got it just to work using an exec.vi system... Thank you!

  • I can't change "sounds and audio devices" in the Panel

    original title: I can't change "sounds and audio devices" in the control panel after the update my card NVIDIA vidio driver and Microsoft DirectX in my Windows XP SP3 update.  How can I fix it?

    I recently updated my card (NVIDIA GeForce 6800 GT) video driver and Microsoft DirectX after you have experienced a problem with a casual game.  That fixed the problem, but then I noticed that my sound 'e-mail notification' had failed in its original supplied with Windows.  I changed "Sounds and Audio devices", registered, registered as a new regime, etc., and still plays the old default Windows sound.  It was the only noise I had on Windows.  When I check "Sounds and Audio devices", the sound, I have chosen is the one listed, and it does not play when I check, but when the mail arrives, I hear the old Windows by default.  I don't know if the updates, to happen or not, caused only that it took place at the same time.  Thanks for any help you can give.

    Thank you for your suggestions.  It turns out that my e-mail client, "Eudora", had somehow reset the default mode in the Windows sounds.  I forgot that there is a choice to "Be careful" in Eudora Tools.  After I changed it back, it worked perfectly.  Once again, thank you to answer me.

  • No Audio device in the audio device properties

    Problem Audio XP

    Here you have a sound problem.  When I open the sounds and Audio Devices Properties on the volume tab, it says "No. Audio Device" and the Volume of the device is grayed out.  I made sure all the drivers were updated to the title of his in the Device Manager.  Note also should not be the sound card since I was able to get clear audio when I boot Ubuntu (dual boot machine).  In addition, under Startup audio component services\services\windows type is set to automatic.  Does anyone have an idea on what setting I'm missing?

    Hi Karl,
    I had an experience with the audio device that all drivers are loaded correctly. Finally, after loading the audio Framework, device package is started.
    Thus,.

    Have you checked the manufacturer as some fixes (may be required) to load to your portable audio device for that matter.

    Chauvet J.
  • Missing audio device of the control panel.

    Several days ago, I opened the control panel to troubleshoot an audio device. The Control Panel showed two audio devices:

    1: ATI PNP
    HDAUDIO\FUNC_01 & VEN_1002 & DEV_AA01 & SUBSYS_00AA0100 & REV_1001\5 & B0AB116 & 0 & 0001
    Driver c:\windows\system32\drivers\atihdmi.sys (7.11.0.7703, 114,00 KB (116 736 bytes), 02/09/2010 12:34 AM)
    2: REALTEK PNP
    HDAUDIO\FUNC_01 & VEN_10EC & DEV_0888 & SUBSYS_103C2A92 & REV_1002\4 & 19 19054 & 0 & 0001 c
    Driver c:\windows\system32\drivers\rtkvhd64.sys (6.0.1.6196, 2.37 MB (2 484 072 bytes), 07/09/2010 12:27)

    Both devices are still listed under system information/system/components tools, but:

    At some point during the configuration of the device from Realtek, ATI device disappeared from the control panel. Since then, I have found no way to adjust its properties, much less put on the control panel.

    The only other change observed: formerly the computer sounds internal (startup, error, stop, etc.) remained internal. Now, I can hear them through the external speakers - acceptable but not optimal.

    Any help would be appreciated.

    Milt

    Hello

    Could you post back with the full or part no of your PC model No.  Also, could you confirm the operating system you are using.

    Another thing to check is in the meantime.  Windows Control Panel, open Sound, right-click in an empty area of this window and check "Show disconnected devices" as «Show disabled Devices»  Another thing now appear?

    Kind regards

    DP - K

  • Satellite A200 - no audio device after the awakening of the mode 'sleep' or 'putting into hibernation'

    I own a Satellite A200 laptop computer with Windows Vista.

    Sometimes when I put my laptop in 'stand by' mode or 'Hibernate', he wakes up with no audio device. (Error - no installed audio device). The problem is solved by restarting my computer, or by placing it in the back to 'stand by' and turning it back on.

    I reinstalled my OS using the recovery cd - and the exsists yet problem.
    (Version 1.30, Audio bios driver ver. 6.0.1.5374)

    Is this a known problem or is it just my computer? I'm afraid that it is a hardware problem. (The laptop is less then 1 month).

    Thanks (and sorry for my "rusty" English :-()

    Tomer

    Hi guys

    Can you please check this Microsoft article? Maybe this will help.

    http://support.Microsoft.com/kb/929685/en-us

    By the way: is your A200 with or without built-in webcam?

  • The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded is may be missing, or the upgrade patch may update a different version of the program

    I try to use the Microsoft Office tool that implement an MSI for 64-bit Office 2010 installation file.  The tool works file and creates the msi file.  I get to the tool by going to the x 64-bit folder on the office 2010 installation disc.

    I install a new virtual machine from Windows 7 and tried to use the MSI file to install office 2010 and I get the error:

    "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded is may be missing or the upgrade patch may update a different version of the program"

    If I just click Setup on the office 2010 dvd he moved very well on the same VM window7.

    Does anyone have an idea how do to understand why the windows installer keep fails or what he wants?

    If I click on the msi even on a system with office 2007 is installed, I get the same error.

    Thanks for the help

    jbabe

    Windows Update has nothing to do with the upgrade or installation of Office 2010. Please post future questions in this forum: http://social.answers.microsoft.com/Forums/en-US/officeinstall/threads

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Error message "the upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded is may be missing or the upgrade patch may update a different version of the program."

    Original title: cannot install WMP11, update rollup 2

    I'm still on WMP 10 for a reason, and I wanted to connect my PC with 360 videos. I downloaded the update, but he told me to go get the Update Rollup 2 or something, so I tried to install it and he told me that I needed to go get the .NET framework 1.1 and .NET framework 1.1 SP1. I went to download them and install them, but he tells me that "the upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded is may be missing or the upgrade patch may update a different version of the program".

    I Googled, tried of all kinds, uninstalled SP3 and tried and nothing.

    Hi xelliotx,
     
    I suggest that you follow these steps.
     
    Step 1:
     
    First of all, download and install .net Framework Cleanup Tool to remove selected versions of the .NET Framework on your computer.
     
    Step 2:
     
    Manually install the versions of Microsoft .NET Framework below:
     
     
    Once this installation is complete, try to install the other required software and check.
     
    See also:
     
    Error message when you install an update for .NET Framework 1.1 or the .NET Framework 1.0: "the upgrade patch cannot be installed by the Windows Installer service.
    http://support.Microsoft.com/kb/940332

    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • I need to reinstall my audio devices, it says no audio devices in the control panel

    original title: sound devices

    I need to reinstall my audio devices, it says no audio devices in the control panel

    Visit the website of your PC/Laptop manufacturer, search reference number and download then install specific drivers XP audioo. Alternatively, if you have a CD with the drivers that came with your computer, install it from there.

    See you soon,.

    Jerry

  • After you have reinstalled windows xp, I lost my audio devices of the system

    I plugged in a new usb mouse and hub 4way in my computor screen went blue, wgen she is back on I had no control of the mouse. I plugged the old mouse, the screen was frozen. Ishut down and rebooted but nothing works. I reinstalled windows xp butnow I have not any showwing audio device connected. the motherboard is foxcom

    You has not LOST the device if you have installed new XP Windows.  You simply do not have the device for device drivers, Windows XP can actually communicate with the device.

    You will need to download and install all THE drivers for hardware devices.  Motherboard chipset, audio, video, networks, printers, scanners, cameras and so forth.

    "Foxcom" tells us nothing and is only part of the story.  In order to get the drivers, you will need to know each device you have (or at least the make and model of the motherboard or computer as a whole.)

  • How to move audio files of the program in the time line?

    All of a sudden I can't move audio files of the program in the time line - I read that Adobe said in previous forums click with the right button on the A1, but nothing in this discussion has helped me solve this problem. It was working before. I am a beginner user, so I could be missing something really obvious. My time scale is in blue. I noticed in some tutorial videos that it was yellow.

    Hi lauranoel,

    The reason is due to a bug, explained here: FAQ: why no audio or video will not at the track where I drop?

    Next time, just remove and In or Out to mark, and then drag the clip.

    Thank you

    Kevin

  • complete execution while the background thread runs

    After the passage of TestStand 4.1 in 2012, I see an interesting problem.

    I start a MainSequence via the SinglePass execution entry point using the parallel model. In ProcessSetup (in the execution of N), I start a background thread that performs certain tasks for viewing. Then the model passes by "Initialize TestSockets" and starts my MainSequence (in year N + 1).

    While the MainSequence is running, run N hangs in ParallelModel.seq > Single Pass, step "Wait for TestSockets", as it should. Usually, when the MainSequence is over, puts an end to execution and execution N goes to the next step "Check to terminate" and some time later, it passes through ProcessCleanup - where I'd send my background thread notification to stop.

    It works as long as I do not start the background thread. But when this thread is running, the execution of N + 1 never leaves the MainSequence. I arrive at a breakpoint at the end of MainSequence, ahead, and then all executions are happily showing a green light and continue to operate on. So running N never leaves "Waiting for TestSockets" and never reaches ProcessCleanup, so my son does not receive the signal of endpoint etc.

    But I distinctly remember that it worked in TestStand 4.1, and anyway, I don't understand this. Why, a background, started in the execution of N, thread prevents the execution of N + 1 to terminate?

    Concerning

    Peter

    "When execution starts a sequence in a new thread (not waiting for the thread to finish at the end of the sequence), should take care at the end of his MainSequence wire in order to put an end to herself in order for execution to terminate?"

    What do you mean by terminate? Process templates are not normally completed executions. Do you mean, "all discussions in an execution must complete before the end of the execution?"? If so, then the answer is Yes.

    I'm not completely your explanations above. I'm not sure what you mean by signs, but I think you're misunderstanding what terminate means in TestStand. Termination occurs only when a user explicitly requests a run to finish (e.g. finish all) or your sequence has an action to complete or by program initiates a terminate. Without endpoint explicit that past, executions normally end when all threads are finished executing. If you are spawning runs and new threads, you must come up with a mechanism to let them know when they have to leave. I do NOT recommend relying on or using termination for this. Termination is as abandoned (but with a cleaning), it is not intended to be something that happens in the normal flow of execution. There are several ways to tell your worker when all discussions. Perhaps this posting you are referring to is a way. You can also use a notification teststand step, or a Boolean value in reference parameter.

    Hope this helps to clear things up,

    -Doug

  • Failed to set the specified property while the session is running - 6552

    I created a program to run several different scripts.  The first time through my program works perfectly.  The second time through (without reset of the card, or re - download vectors etc.) but it fails.

    As he tried to run the following command:

    niHSDIO_ConfigureDataVoltageCustomLevels (DIO3_acq_session, 11-13, 18, 19', 1.8, 2.0)

    I have the following error:

    "Specified property cannot set while the session is running.
    Set the property before the opening of the session, or abandon the session before setting the property. »

    Any suggestions on what could happen?  Alternatively, any advice for troubleshooting techniques to learn more about the problem?

    I found my error:

    Several of my scripts include a list of markers so that the records are captured, and I download the recordings captured later.  Whenever I'm about to run a script that has files, I made the "niHSDIO_ConfigureAcquisitionSize" function in order to identify the size and quantity of records.

    However, the first script in my program that I run I don't need records captured, so I didn't bother to call the function "niHSDIO_ConfigureAcquisitionSize".

    So, first map like the default setting for the number of records for the first script (in which I do not bother with all the captured records), but then the subsequent pass in my stream of test cards do not like the fact that I have had set up for many more records that he caught (lack of markers / triggers).

    It's a little confusing to explain, but I found the problem, so any help is needed.

  • Open a local copy or move on the server, and then disconnect while the task is running until the end

    RNOS6 running on RNDU600 +.

    Looking to start a local copy or move of the large collection of files on the server, and then disconnect the PC while the task is running until the end. For example, to move a branch of several hundreds of GB of small files from one share to another, or copy them to a share.

    Seems to make my PC (in wireless) is inefficient as each file seems to have sent to the PC first, then return to the NAS.

    Is there a way of ordering on the NAS, so that it can continue the operation even if the PC is disconnected?

    Have you tried to make using the web administration page?

Maybe you are looking for

  • How can we recover Firefox. He was picked on my laptop by Ask. So does Chrome. Tried everything

    I tried to create a second e-mail account and accepted a download that I thought was the site of mail.Since then, Ask took one thing after another to the point where I can't use the machine to get help. So now using another device. Have used Firefox

  • Resizing windows

    Hello I'm looking for a way to resize the window programmatically. I used the function dependent ON the property node and I can read the size of windows, but unfortunately I can not write anything in this property. Also I tried a few others, but stil

  • display flashes

    The screen of my laptop (Dell Inspiron 1420, W/Vista 32 bit) Flash 2 or 3 times, making it look entirely black screen, as the computer stops after I start it and when all the icons appear on the screen. After that, I can start working on my projects.

  • Custom ApplicationMenuItem that appear within all applications?

    I have an application that uses an ApplicationMenuItem to a new option on all the menus of the integrated application using ApplicationMenuItemRepository.MENUITEM_SYSTEM. Works very well. But I've noticed recently on a 8900 (OS 4.6.1.231) that my men

  • There are Media Center PC M7760n drivers for Windows XP?

    I need Windows XP to Media Center m7760n PC drivers.  Online it doesn't really seem to be than anything for XP drivers download.  I found the video drivers that work, but still need audio and LAN (wired, not wireless card).