How can I set programatically DAQ configuration?

I configured and saved my DAQ subsystem in a .daq file using NI MAX. Now I can set active configuration by MAX menu commands, Tools->NI-DAQ Configuration->Set Active Configuration, but the matter is I need to do it programmatically. My question is:
Is there any way to set DAQ configuration (i.e. to restore the DAQ configuration from the .daq file) programmatically ?
Thank you in advance.

Unfortunately, there is no way to set the active configuration programmatically in LabVIEW. There is an ActiveX control in LabVIEW that allows you to manually change the configuration of MAX from within LabVIEW.
You can use the NiMax Viewer ActiveX control to configure your hardware directly in LabVIEW. You still must configure all settings manually, but you can do so in LabVIEW instead of launching a separate application (MAX).
To use the control, place an ActiveX container on the front panel. Right-click the container, select Insert ActiveX Object from the shortcut menu, select NiMax Viewer, and click the OK button.
This container gives you access to the configuration tree of MAX but you aren't able to get to the Tools menu option.
Refer to the LabVIEW H
elp, available by selecting Help»Contents and Index (6.0) or Help»VI, Function, & How-To Help (6.1 & 7.0), for more information about using ActiveX containers.
Regards,
Todd D.
NI Applications Engineer

Similar Messages

  • How can i set the Daq rate on the compactDAQ NI 9237?

    I am using the  NI 9237 module in the CompactDAQ 9172 chassis, with a single channel.  I am using LabVIEW 8.2. I cannot find any software where I can set the DAQ rate on the module. The "daq assistant" in LabVIEW, the "Measurement and Automation explorer test panel and the example VI's all seem stuck at a rate of 5000 samples/sec. I only need 32 samples/sec.  The software offers an input variable for "rate" but does not respond.  Note that in the"Measurment and automation explorer test panel seems to allow higher rates but not lower.  Am I missing something?   My application has been crashing from time to time for not being able the retreive the data fast enough, I thought to minimize the rate to lower the transfer load on the operating system.

    Hello Alfonso,
    It sounds like you might be getting errors -200279 and -200278.  (In the future, if you post the actual error codes, it helps us to know exactly what is happening).  Error -200279 happens when you are performing a hardware-timed acquisition (meaning the data is sampled according to a clock signal on your board), but your LabVIEW program is not reading the values from the buffer allocated for that task in computer memory fast enough.  Basically it's a buffer overflow error.  It means older samples have been overwritten before you attempted to read them out.  As the error message suggests, "increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem."  For more information on this error, please see the KB (DAQmx) Error -200279 During a Continuous, Buffered Acquisition.
    Error -200278 happens most often when you have configured a finite acquisition, but are calling the DAQmx Read function in a loop.  If you want to perform a finite acquisition, you should only call DAQmx Read once.  For more information on this error, see the KB Error -200278 at DAQmx Read.
    Finally, please refer to Abhinav's earlier post about the sample rate on the 9237 module.  As he described, the NI-DAQmx 8.3 driver will only allow you to set the sample clock to integer divisions of 50k (50,000/n, where n can be 1, 2, 3...13).  Since the maximum divisor is 13, the smallest sample rate that can be used is 3.846 kS/s.  You can check what value the driver is actually using for the sample clock by reading from the SampClk.Rate property of the DAQmx Timing property node.
    I hope this helps!  Let me know if you have any questions about what I've described.
    Best regards,

  • How can I set up mhy Airport Express to extend my Time Capsule wifi wirelessly

    I want to extend my wifi off my Time Capsule with an Airport Experess in a part of my house that has no data cable ran to it. How do I do this?
    Thanks

    No more meseges.
    في ٢٦/٠٨/٢٠١٤، الساعة ٢١:٤٥، كتب Apple Support Communities Updates <[email protected]>:
    New discussion activity
    Bob Timmons has posted in the AirPort community.
    How can I set up mhy Airport Express to extend my Time Capsule wifi wirelessly
    Assuming that you have the model A1264 or A1392 version of the Express, it must be located where it can receive a strong wireless signal from the Time Capsule to be able to extend it correctly.
    A good general location would be a point that is about half way between the Time Capsule and other area that needs more wireless coverage.
    You will use AirPort Utility on your computer to configure the Express. An iPhone or iPad could be used as well.
    We can provide more help....if you need it....but we'll need to know what version of AirPort Utility that you are using on your computer....or whether you want to use an iPhone or iPad to setup the Express.
    https://discussions.apple.com/servlet/JiveServlet/downloadImage/2-26506753-46613 2/AboutAirPortUtility.png
    To post a reply, go to the discussion in Apple Support Communities.                                                             
    You are receiving this email from Apple Support Communities. You can change your email preferences in your Apple Support Communities Profile.
    TM and copyright © 2014 Apple Inc. 1 Infinite Loop, MS 96-DM. Cupertino, CA 95014.
    All Rights Reserved | Privacy Policy | Terms of Use | Apple Support

  • I have a linksys WRT54G router that we use as a base. I want to use Airplay using Airport Express and hook up my stereo to it. How can i set up my Airport express without a PC/laptop? I just downloaded Airport utility on my iphone and ipad,will that work?

    I have a linksys WRT54G router that we use as a base. I want to use Airplay using Airport Express and hook up my stereo to it. How can i set up my Airport express without a PC/laptop? I just downloaded Airport utility on my iphone and ipad,will that work? And one more thing about the setup, the linksys router shich acts as a base is in a different room as the airport express which i wanted to use for airplay. So I'm hoping to hook up the Airport express via wireless signal. If i can set it up, can someone pls help me out by posting detailed instructions. Thanks so much!

    The first message that AirPort Utility will display during the auto setup will be that the Express will be confgured to "extend" the network. When AirPort Utility analyzes the network further, and sees that the Express cannot "extend" the 3rd party network, the next message will indicate that the Express is being configured to "join" the wireless network.
    Once the Express is configured, if you later go into AirPort Utility to check the settings under the Wireless tab, you will see that the Wireless Mode is indeed "Join a wireless network".

  • With 10.2 I can only use system speaker output for audio, NOT my RME FF400 I used previously. The FF400 works fine with other apps. How can I set this device in FCP 10.2? (it is set in both system preferences and midi)

    With 10.2 I can only use a system (e.g. speaker) output for audio, NOT my RME FF400 I used without any problems previously. The FF400 works fine with other apps (some like TwistedWave) setup in the program, and others (like Spotify) using system preferences & audio midi setup. How can I set the FF400 to be the sound output device in FCP 10.2? N.B. The FF400 is set as sound output device in both system preferences and audio midi setup.

    From the fcp.co forum. See if this does anything for you.
    simon_hutchings
    OFFLINE
    Junior Boarder
    Posts: 24
    Thank you received: 5
    Karma: 1
    I have the solution! Well it at least worked for me. This is the response I got from Apple, Can you please try the following steps towards fixing your audio issue, and report back with your results?
    1. Open the application Audio Midi Setup (located in Applications : Utilities)
    2. Select the Output Tab for the current output device
    3. Select the Configure Speakers option
    4. Select the Multichannel tab
    5. Change the setting to Stereo Now mine was set to stereo but the left channel wasn't showing left. re-clicking on stereo reloaded the settings and after clicking apply it worked. 

  • How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    How can I set up a guest access point with a Time Capsule and an Airport Extreme? I am using a Telus router with the Time Capsule used as a wireless access point (bridge mode). I don't want the guest access point to have access to my network.

    The Guest Network function of the Time Capsule and AirPort Extreme cannot be enabled when the device is in Bridge Mode. Unfortunately, with another router...the Telus...upstream on your network, Bridge Mode is indicated as the correct setting for all other routers on the network.
    If you can replace the Telus gateway with a simple modem (that performs no routing functions), you should be able to configure either the Time Capsule or the AirPort Extreme....whichever is connected to the modem....to provide a Guest Network.

  • How can I set up my shaw email account to work on my iphone?

    How can I set up my Shaw email account to work on my iphone? It doesn't want to work no matter what I try. Shaw's help line hasn't been very helpful so far.

    Have you not used the automatic 'configure my MobileMe' on my iPhone account setup ?
    http://www.apple.com/mobileme/features/
    You only have name, email address, password and a name for the account to enter.

  • How can i set a layout for MIGO screen

    Hello all,
    How can i set a layout for MIGO screen. & make that layout default. Like i want to drag Requistioner column next to quantity in MIgo screen. temporarily I can drag but is there a way to save as layout & save it.

    Hi
    First you arrange however you want and then go to table settings which is there in the right corner of the item details and create a variant and save.
    Find a button with blue yellow and white at the top end above the vertical drag bar when put the cursor it will show you as Configuration.
    After creating the variant tick the check box use as standard setting below the variant
    Hope it helps
    Edited by: Girish  Adaviswamy on Mar 3, 2010 1:27 PM

  • In EIC, how can we set the SLA of a subcategory to none SLA-related.

    Hi Experts,
    This is our current setup in EIC...
    Category 0501 has an SLA of 8 hours. Subcategory 050101 has to be none SLA relevant. But if we put zero or blank to the SLA Target Value field, it will automatically have a due date defaulted to today. If we will not indicate 050101 on the configuration, it will have the 0501 SLA of 8 hours.
    How can we set the 050101 SLA off?
    The path: IMG --> Personnel Management --> Employee Interaction Center (EIC) --> Interaction Center Web-Client --> Application Functions --> Activity --> Service Level Agreement (SLA) --> Define SLV Properties
    Thanks in advance.

    Hi Harish and Jarret.
    @Harish, I already tried unchecking the checkbox of the Display field but the problem with this is, it will also apply for the rest of the categories. It should only be for this specific subcategory.
    @Jarret, apology, but can you explain to me further about your instruction/advise? I get the feeling that we're on to something with your advise but I didn't quite get it on how to exactly.
    1. You should build the SLA from the lowest level up...
                        -I'm not really sure how, actually.
    2. If you have 8 subcats... will put the 8 entries in the table...
                        -where do I put the 1 subcat? This is because if I don't put that "No SLA" subcat in the table, the due date of that specific subcat will automatically appear todayu2019s date.
    Thanks for both of you. I really appreciate your help. 

  • How can I set the insert date to auto update in Pages 5.2.2

    how can I set the insert date to auto update in Pages 5.2.2
    I am attempting to have the date in header auto update in a Pages file.
    I can insert it, but where is the AUTO UPDATE selection
    OS10.9.4
    thank you

    Apple never included the auto-update feature for dates in Pages v5.2.2. You would have to single-click the date, and deliberately update it.
    If you have Pages ’09 v4.3 in /Applications/iWork '09, then it will allow you to configure auto-update of the date field. Right-click on the date, set the format, and click the selection for automatically update on open.

  • HT5622 how can i set up my secondhand iphone 4s without owner apple id?

    how can i set up my secondhand iphone 4s without owner apple id

    Fai un reset di fabbrica all'iPhone di tuo figlio gli inserisci il tuo id Apple e gli configuri all'avvio trova il mio iPhone.
    Così ogni volta che vorrai rintracciare tuo figlio basta che vai su iCloud da qualsiasi dispositivo e vai su trova il mio iPhone e riesci a rintracciarlo sempre se il dispositivo è acceso.

  • How can I set the number of test sockets in my program?

    How can I set the number of test sockets in my program? I use LabWindows/CVI  6 and TestStand version 2.0.
    And I use BatchModel for the parallel UUT running. I didn't found program way to set the number of test socket. I think I should have it. In TestStand I can change the number of test sockets through menu Configure -> Model Options -> number of test sockets (I mean I do it by manual mode).
    Thank's a lot.
    Maria

    One way you can set the number of Test Sockets for your sequence is by overiding the ModelOptions Callback used by your sequence. Select All Sequences from the View drop-down then right click, select Sequence File Callbacks, select the ModelOptions callback and then click on Add. You can then select the Edit button to Edit the ModelOptions for your sequence. You can set other ModelOptions as required also.
    RG

  • How can i control the DAQ directly from VB

    Actually, it is my first trial to use Visual Basic to get signal from DAQ.
    And i don't how to interface them. I have read an article to use DataSocket.
    However, it demostrated the OPC demo in OPC sever only, and so i didn't know
    how to get the signal directly from DAQ card to monitor the real-time
    signal.
    Also, i have tried to build a .dll from my VI file which is used to monitor
    the DAQ signal. However, the .dll file didn't have any return value or
    argument, did it mean i can use this method?
    And how can i interface the DAQ using VB?and my ADC model is AT-MIO-16E-2!
    Thank you very much

    Hi Sen,
    Are you using Measurement Studio ? If so then you can use the DAQ activeX controls.
    If not and you are using VB directly, then NI-Daq installs with examples for visual basic ( if you chose the option while installing- if not do a custom install and choose VB support). If so then you should find them under Program Files ->National Isntruments->NI-DAQ->Examples->VisualBasic. These may help you.
    Essentially NI-DAQ ships with a .bas file that contains the "declares" for the NI-DAQ dll functions. These files should be in
    Program Files ->National Isntruments->NI-DAQ->Includes (look for the .bas files) You can add these to your project to get access to the DAQ functions..
    On the second question, do you mean you are using labVIEW to create your dll ? If this
    is the case, then when you create your dll (in labVIEW's applciation builder) you have to set the parameters for the function (VI) and also the VI's return values. This will ensure that you can make use of your VI ..If you don't set a return value you really can't use it...Once you set the return value ,and create a dll, then you can use it like any other dll in Visual basic.
    Hope this helps...
    This link may help you
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/5052ad60f1accc3d862568a100717fd1?OpenDocument
    Nandan Dharwadker
    Staff Software Engineer
    Measurement Studio Hardware Team

  • How can I set default values for Allocate Mode in AO config?

    Hi, How can I set default values for allocate mode in AO config. To be specific, in the attached vi, I need to set the Allocate Mode in AO Config to 'Use FIFO Memory (6)' if the value inside my case structure is false and to 'no change (0)' if the value inside the case strusture is true.
    Solved!
    Go to Solution.
    Attachments:
    generateWaveformFIFO.vi ‏15 KB

    Create two constants for the Allocate Mode input (right click > create > constant). Place one in the true case of the case structure, and place the other one in the false case. Wire them to the same tunnel (border of the case structure), then wire the tunnel to the Allocate Mode terminal of the AO Config. I don't have Traditional DAQ installed, but that should do it.
    Misha

  • How can delayed delivery update be configured for Inbound delivery ?

    Hi All,
    How can delayed delivery update be configured for Inbound delivery ?
    There is setting for Outbound delivery delayed delivery update but how the same functionality be used for Inbound delivery?
    Regards
    Jimmi

    Hello Jimmi,
    Unfortunately I must confirm that the Delayed delivery update is only available for outbound deliveries. Please see below note for further details
    664316 Tips for the delayed delivery update for TO
    I hope this information helps!
    Martin

Maybe you are looking for

  • Apple loops in .AIFF ?

    Hi ! Ok, me and my friend, we were having fun, jammin with logic pro 8 , and then suprisingly, I realized that I couldn't edite destructively apple loops. I learned that it was because of the .caf extention, and that compressed audio file cannot be e

  • Deskjet F370 All-in-one with MacBook Air OS X 10.10

    Hi Helpers. My new MacBook Air with OS X 10.10 Yosemite causes all of the lights on my printer to flash and allows no printing. What should I do, other than add to the Scrap Mountain and buy a new printer? My printer is  Deskjet F370 All-in-one.  Tha

  • Where to find the doc of package "com.sun.media.util"

    In the jmf.jar,it also has the com.sun.media package,but jmf20.pdf doc not include the comment,how to find the document of package com.sun.meida?

  • Running out of memory

    Sometimes during a powerpoint presentation, a picture is not shown.  Looking more closely, i see a note tellinmg me that there is not enough mnemory to display the picture. Using Activity Monitor, I see that 1.5GB are used by programs and 2.5GB by fi

  • Problem in  Inner join

    Hi All, selection screen select-options:  vkorg for vbak-vkorg obligatory.  " Sales Org select-options:  erdat for vbak-erdat. " Creation Date select-options:  auart for vbak-auart. " Order type select-options:  knkli for vbak-knkli. " Customer Accou