Use a channel when you declare two and it changes when the program runs.

Hello

For the use of a map of 4461:

With the use of the library DAQmx:

When I use 'Create Channel.vi' I can to use 'Ai0:1' to use the 2 input channels. Then I use the Nchannel Read and split the signal with for example a "Board index".

But is it possible to change the channel numbers 'on the fly' so when the program is running?

The same question with the outputs

When I use the channel to create for outings and I use Ao0:1 to use 2 output channels, can but I change to a single channel when the program is running. Nchan write.vi is used, and this requires 2 channels. The use of a channel will give you an error.

Is there a nice way to handel this?

Greetings.

You can change the output to a level of 0 volts instead of what you read. It should be just a case statement and the writing remains the same.

Tags: NI Software

Similar Questions

  • I've updated to v10.0 version, now a specfic program that runs using a bowser does not work. The problem is when the program runs a compliance test the following error message is displayed in the test results: Test; Version of the browser, the Test result

    COMPLIANCE TEST
    Results of Test test
    Firefox browser
    Version 1 browser higher than 2.0 must
    Acrobat Reader Version 9.5.0.270
    Sun Java Plug-ins active true
    Java JAVA version
    JavaScript 1.8
    Flash Flash Player 11
    ERROR Please correct

    This program is probably only read 1 of the number 10 - IOW, it is not able to read a number with 2 digits before the decimal point.

    Contact the developer of this program and let them know that they have some Fixin ' to do.

    See the MP I send to you. See your Inbox at the top of the forum pages.

  • When XP is "windows xp for first use mode setting" it loads to 99% and then I get the message "unable to complete Setup.

    I upgraded my 64 new image computer windows 7 Home premium Edition to windows 7 using the upgrade anytime professionoal.  I downloaded the fix for quad core to use virtual pc and windows xp mode.  When XP is "windows xp for first use mode setting" it loads to 99% and then I get the message "unable to complete Setup.  I service request # 1182160056 but the phone lines of microsoft do not work.  Any suggestions?

    Have its possible that this is a download corrupted Windows XP mode, you tried to download it again and see if it works? Also, make sure that you first install Windows Virtual PC.

    Click Start, type: enable or disable windows features

    Press enter on your keyboard

    Scroll down and make sure that Windows Virtual PC is checked.

    Click OK

    Restart if prompted.

    http://www.notebooks.com/2009/11/23/using-Windows-Virtual-PC-with-Windows-XP-mode/

  • MAC OS Yosemite - CS6 - earlier, I did something to where when I open a file in photoshop, is no longer a single window, now it is two storage ones. one for the program itself, and another for the actual file how to return it where it's all

    -At the time, I did something to where when I open a file in photoshop, is no longer a single window, now it is two storage ones. one for the program itself, and another for the actual file how to return it where it's a window without having to be full screen mode? I managed to go a few times like this, but right now it's really annoying me. Help!

    Screen Shot 2015-01-27 at 4.15.04 PM.png

    Just drag the small window up just under the toolbar, you will see the area highlighted, and when you drop the file should anchor.

  • I'm looking for something, or even click on a link "for you", that he - and nothing else than the spinning wheel.

    I'm looking for something, or even click on a link "for you", that he - and nothing else than the spinning wheel.

    It is easier to go to YouTube, which I prefer not to do.

    < published by host >

    It's real comments to your message:

    You talk to other users here, not to Apple directly.

    Click below and select the product (s) on which you have any concerns or suggestions:

    http://www.Apple.com/feedback/

    Then select your product

    When you contact Apple to give them feedback, note the statement at the top of this page:

    'Use the form below to send us your comments. We read all comments

    carefully, but please note that we cannot respond to comments you

    submit. »

  • I downloaded the trial version and then I bought the program and the redemption code bought, but he said: you are trial version has expired. What should do?

    I downloaded the trial version and then I bought the program and bought back the redemption code, but when I run the program it says: you are trial version has expired. When I use the redemption code once again, he said: this code is already in use.

    What should I do?

    FAQ: What should I do if I have a subscription, but my application acts as if I had a trial?

    https://forums.Adobe.com/thread/1962238

  • With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    With the help of Yosemite, I like Photos app in general; have big Aperture library, although I use rarely opening Tools. Advantages, disadvantages and pitfalls related to the migration of Photos?

    Opening was a pro the Pro amateur-oriented or serious app, usually shooting Raw, probably on a digital SLR.

    If that's you then pictures will miss a lot for you.

    If this isn't the case, then opening was probably overkill for your needs.

    If you like the pictures then this is the way to go.

  • "Waiting for in time (RT PXI target) real answer" error when the program is waiting interruptions

    Hello

    I developed an application to detect interruptions generated by an electronic card and act accordingly. The program was developed in labview, but she calls a dll; created with labwindows. The dll is scheduled to open the visa communication, select the events and install the interrupt handler and when an interruption is detected, it reads the value of the different registers of the map and returns to labview to view.

    The problem is that when the program expects an interruption, a prompt appears with the message "Waiting for real-time (RT PXI target) real answer" and the only option I have is to click on the button to disconnect the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application view data as it was planned.

    To wait for the following code the interruption has been programmed into the function:

    While (flag == 0)

    {

    Sleep (1000);

    }

    When an interruption occurs, the value of flag set to 1 and function continues without any problem. I am not really sure, but here is probably the problem and it probably isn't the best way to wait for a break because the sleep function suspends the thread to the configured time, but at least the load calculation in the PXI is between 0 and 1%. I was wondering if anyone knows how to wait for a break without 'lost' communication with PXI and if there is a better way to do it.

    Any response will be welcome and thank you for them,

    Jaime

    Hey there.

    You see problems with connectivity it's because the thread by DEFAULT CallLibrary nodes running in is the UI (UI) thread - UI thread manages also the important things like, say, communications (especially all the connections for the VI server) and other things that you could run all the time.  A CallLibraryNode is not, by default, intended to be used to execute code that runs for a long period of time.  If you want to do this, you assign the execution of the CallLibrary node to run in the context of a LabVIEW run-time engine thread (by selecting to make it work "in any thread") and not the UI thread.  This can be done through the properties of the CallLibraryNode.  By selecting "run in any thread" the call DLL will be generally in the context of the thread running in the run LabVIEW, which is usually what is meant when even.  The VI CallLibraryNode color change of Orange (UI) to blue (LabVIEW thread) so that you can quickly tell what context the appeal will be in.

    The reason the interface thread user is the default thread is because most often DLLS calls need to be serialized (because of functions is not not thread-safe) and so it serves to protect the integrity of the system.  However, if you know your threads are thread-safe, or you will use these threads for a while, it is best to program the CallLibraryNode to use a Thread of LabVIEW execution rather than the UI thread.

    For more information on this review on these pages:

    https://decibel.NI.com/content/docs/doc-9069

    http://zone.NI.com/reference/en-XX/help/371361J-01/lvexcodeconcepts/configuring_the_clf_node/

    DLL' happy ing.

    -Danny

  • I was working in adobe muse, and suddenly I close the program. UID error: 5956.  As I can get it back what worked? Do not hit to save my work. Help, please

    I was working in adobe muse, and suddenly I close the program. UID error: 5956. As I can get it back what worked? Do not hit to save my work. Help, please

    Captura de pantalla 2015-12-22 a las 7.41.52 p.m..png


    Captura de pantalla 2015-12-22 a las 7.32.32 p.m..png

    If you say 'no' to recovery, all changes made since the last Save will be lost.

    The error appearing on the launch, during recovery, says something so bad when you are already working with Muse and rather than saving a problem in your Muse .muse file set up an error message and stop.

    If you do not already revived and selected 'no' to recovery, we are able to recover manually you are unsaved work and fix the problem in the unsaved changes that is causing the error.

    Please send us the .muse file and the folder "Recovery" at "~/Library/Preferences/com.adobe.AdobeMuseCC.2015.0/Local Store" at [email protected] as well as a link to this topic for the context. If files are larger than 20 MB, you'll need to use a service such as Adobe send & Track, Dropbox, creative cloud, WeTransfer, etc. file sharing.

  • do not display menu when the program is not running

    Hi, I did with an XControl I can start the program with a start button.
    I deselected the toolbar, Run and Abort button when runnning and the program runs with only a custom Menu, just like I want.
    When the program stops the menu and the toolbar is visible (as usual). My question is - can you choose not to show the menu and the toolbar when the program does NOT work?

    During execution of the edit mode, it seems reasonable to return to editing mode later.

    Once the program is distributed to end users, edit mode is meaningless. Built in a standalone application or at least to define its 'open operation' and close once. The program should never be in a stopped state. Create a state machine passing the State idle when it's not what anyone.

  • I get this message on my desktop - the Setup files are corrupted. You can get a new copy of the program.

    "The Setup files are corrupted. You can buy a new copy of the program"Hi, I get this message on my desk. I am running w/7-Ultamate with 8 GB of ram and a 650 GB hd. Any idea on how to fix this? I wake up in the morning and there are at least a dozen of the error messages.
    Thanks Jim

    Original title: the Setup files are corrupted

    Hello

     
     
    1. What is the full/exact error message?
    2. When you receive this error message?
     
     
    Follow the steps.
     
     
    Method 1
    Start the computer in safe mode and check if the problem persists, if the question does not persist then perform the clean boot and check if the problem resolves.
     
     
    Step 1
    Safe mode starts Windows with a limited set of files and drivers. Startup programs do not work in safe mode, and only the basic drivers needed to start Windows are installed. Please click the below mentioned link.
    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode
     
     
    Step 2
    Put the computer in a clean boot state to see if there is a software conflict as the clean boot helps eliminate software conflicts.
    http://support.Microsoft.com/kb/929135
    Note: After you have performed the steps in the clean boot troubleshooting, follow step 7 the link to start the computer to a Normal startup mode.
     
     
    Perform the virus scan and make sure that your computer is virus-free.

     
    Method 2:
    Run Microsoft Online Scanner.
    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.
    http://www.Microsoft.com/security/scanner/en-us/default.aspx
    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.
    Important: When performing analysis on the hard drive if bad sectors are found on the hard drive when parsing tent repair this sector if all available on which data can be lost.
     
    Also, make sure that you have the latest update of the software antivirus installed on your computer, so that it works correctly.
     
    Also run a scan complete with Microsoft Security Essentials, check out the link.
    http://Windows.Microsoft.com/en-us/Windows/products/security-essentials
     

    For further assistance, post back with display of the event logs. Check out the link.

    What are the information contained in the logs of the event (Event Viewer)?

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    Response with more information to help you.
  • I need to put in place the security of the laptop running finance and don't know the programs and the finest details of it.

    Security

    I need to put in place the security of the laptop running finance and don't know the programs and the finest details of it. I need to buy, sell and subscribe. I need to use programs such as paypal also.

    You have antivirus installed? If this isn't the case, I would install Microsoft Security Essentials (MSE) for you antivirus protection.

    http://Windows.Microsoft.com/en-us/Windows/products/security-essentials

    Windows 7 is really quite safe as is and does not need a lot of work to ensure.  There are a few FixIt who can put in place and ensure that it is set using the recommended security settings.

    http://support.Microsoft.com/mats/windows_security_diagnostic/en-us

    http://support.Microsoft.com/mats/Malware_Prevention/en-us

    http://support.Microsoft.com/mats/ie_performance_and_safety/en-us

    Just run the fix it is and install MSE and you should be sure resonably.

  • I've just updated FF 14.0.1 (Mac 10.6.8) and now netflix won't work. He is asked to restart in 32-bit mode and I changed in the Get Info to 32-bit. No luck.

    I've just updated FF 14.0.1 (Mac 10.6.8) and now netflix won't work. He is asked to restart in 32-bit mode and I changed in the Get Info to 32-bit. No luck.

    Yes, I have the same problem. Silverlight 4 does not work in Firefox 14.0.1. Used to use only "restarting in 32-bit mode", but now, who is caught in a loop without end. Silverlight 5 will work, but the video is choppy so badly that it is very bad. I think it's a fall frames in all directions.
    Someone needs to fix this problem yesterday.

  • The installation files are corrupted. You can buy a new copy of the program

    Whenever I try to install a new software or games and then permanently in error "the Setup files are corrupted. You can get a new copy of the program.

    Please help me...

    first scan your computer entirely with good antivirus.

  • questions: what I have to have internet access to work with the ambient light and photoshop or is the program downloaded on my computer while I did not need to be online?

    I live in a rural area that does not have consistent internet access.  questions: what I have to have internet access to work with the ambient light and photoshop or is the program downloaded on my computer while I did not need to be online?

    That is, the work programme is located in my computer or is it online?

    Thank you.

    adobe (and perpetual license) subscription programs are installed on your computer.  You need to be online for installation and activation, and then you must be online periodically thereafter.

    with a monthly subscription, one time every 30 days is necessary to maintain your activation.  for an annual subscription, all 91 days once is enough.  These checks online to check your license status.

Maybe you are looking for

  • old emails suddenly disappeared after removal of the old computer

    Yesterday, I moved my email account from my old computer OS ubuntu 10.04 to mint17 linux OS computer. I copied the Thunderbird * *.default c/o the profile.ini file. Everything went perfectly with my email account arise with all my emails that dates b

  • ui.key.chromeAccess &amp; Ui.key.contentAccess ignored

    Hi, I recently switched to Firefox from Chrome. However, I noticed that alt + keys are always used by the browser on the web pages. I tried the old evolution ui.key.chromeAccess and Ui.key.contentAccess fix. But this time the settings are completely

  • Any questions Safari as MAC Virus Alert! -Call Technical Support now?

    Any questions Safari as MAC Virus Alert! -Call Technical Support now?

  • Solitaire showdown went

    I downloaded Skype as the Herald of the 'new '.  Now I can not find any games, I used to love.  I really want Solitaire Showdown back!  I loved playing this game with my daughter online.  How can I get that back?  After downloading Skype, it has not

  • What is happening with my ring of text?

    I'm doing a ring of text with the values 1, 2, 5, 10, 20, 50, etc... all the way up to 100,000. These values are from 1 kHz to 100 MHz. When I click on the ring of text, I see all the values in the MHz and the kHz, but when I select a value in the kH