Trouble changing gain setting on SCXI-1122

Attempting to change module gain using MAX 3.0.1 or the SCXI_Set_Gain function of nidaq32.dll with LabVIEW 6.1 generally has no results. Occasionally a gain change through MAX is accepted if the SCXI Chassis is turned off and back on after the gain change is made. The SCXI-1122 module is in slot 1 of an SCXI-1000 chassis and is connected to a PCI-6031E card. Operating system is Windows XP. Any ideas as to what might be wrong?

Dear DTI1
Thank you for choosing National Instruments Support!
The SCXI 1122 does not allow you to choose the gain -- even though the documentation says "Programmatically Selectable". What this actually means is that when you specify a range to acquire, the NI-DAQmx driver will decide what gain to set.
You can however get access to this gain value by using property nodes. Hence, if your range is constant, the gain will remain the same, no matter where you try to change it.
Hope this helps!
Thanks and Regards
Shekhar S
National Instruments

Similar Messages

  • How can I set the gain on a SCXI-1102 module without having my computer lock-up for 3 seconds?

    Forgive my insolence, but did it never occur to anyone that spinning in a hard loop while polling a status register to set a gain for 3 seconds isn�t a great idea?
    I have a number of SCXI-1102 modules to set the gains on, and it takes several seconds for each. Reading the documentation on the subject indicates that the SCXI_Set_Gain call polls a status register waiting for the gain to settle before returning � and it doesn�t even yield while doing so.
    Are there any other ways I can set the gain? Is there a way that doesn't poll the register that returns in a reasonable amount of time?
    AFAICT, there's no good reason to only allow one module to be s
    etting its gain at a time. An asynchronous call it really needed - one that makes it the API programmer's responsibility to check the status of the register, or one that spawns a thread and sleeps between polls, and signals an event or invokes a callback or some-such-thing. Or you could even just sleep for three seconds after setting all the gains, this way the delay would be 3 seconds total � not 3 seconds for each gain set.

    This NI-DAQ function call directly accesses the nidaq32.dll. While the nidaq32.dll is multithread safe, it is not a multithreaded DLL. This is also described in the KnowledgeBase entry 1V9DSHDM: "Can NI-DAQ Handle Different Operations at the Same Time? Is It a Multi-threaded DLL?"
    You are correct that the SCXI_Set_Gain function is not asynchronous. Thus, you do have to wait till that function returns before calling the next one. LabVIEW has found a way around this. So, you can actually use the LabVIEW functions to set the gain on these modules without having to wait as you do with SCXI_Set_Gain.
    Regards,
    Geneva L.
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • SCXI-1122 Thermocouple System

    I have thermocouples hooked into a SCXI-1122 module. Using virtual channels in MAX, I am able to see all the voltages correctly. Also, by specifying each individual thermocouple in LabView (e.g. ob0! sc1! md4! 1) I am able to see the voltages correctly. When I read more than one thermocouple using the syntax (ob0! sc1! md4! 1,2) I am able to see the correct voltage for only the first thermocouple in the list. I would like to use bulk addressing to read all 16 thermocouples at once (ob0! sc1! md4! 0:15) but it does not show any voltages correctly. I suspect this is a simple configuration problem. Any insight?

    Hello;
    You are seeing incorrect values probably due to a too low interchannel delay. If you don't specify the interchannel delay of your application, NI-DAQ will set the lowest value allowed, and sometimes that value is too low for the application.
    You can change the interchannel delay value at AI Config.vi.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Thermocouple readings not accurate SCXI 1122-1322

    Hi, I have an issue with reading thermocouple temperatures using my SCXI-1122 module and 1322 thermocouple block (K-type thermocouples). I am also using a laptop to run LabView and a DAQ-6062E card to communicate. I have fiddled with the Measurement & Automation set-up to communicate with my LabView program and I believe that this is the root of my problem. I have run the program on other computers and NI lab-stations and it has worked, but it is not working with this particular computer or mobile labstation. Hopefuly this is an accurate description of my issue.
    Christophe
    University of Colorado
    Mechanical Engineer
    Program:
    Attachments:
    Integrated_Fan_Control_Systemrev2.vi ‏504 KB

    Had a look at the DAQ express vi that performs your temperature acquisition
    It would help us answer better if you could describe: How much variations are you observing in the measured to the actual temperature?

  • Files that used to be visible are now hidden in Mavericks. How can I change the setting to view the same files as before? I do not need the hidden files that are typically invisible.

    Files that used to be visible are now hidden in Mavericks 10.9.1. How can I change the setting to view the same files as before? I do not need the hidden files that are typically invisible.
    I am having trouble locating such files as PDF's INDD, AI etc. When I view all hidden files and try to open it in the program..it looks like it is really not on the drive. Has anyone come across a solution?

    You may need to rebuild permissions on your user account. To do this,boot to your Recovery partition (holding down the Command and R keys while booting) and open Terminal from the Utilities menu. In Terminal, type:  ‘resetpassword’ (without the ’s), hit return, and select the admin user. You are not going to reset your password. Click on the icon for your Macs hard drive at the top. From the drop down below it select the user account which is having issues. At the bottom of the window, you'll see an area labeled Restore Home Directory Permissions and ACLs. Click the reset button there. The process takes a few minutes. When complete, restart.   
    Repair User Permissions

  • Normalisation and Changing Gain - what's the difference?

    Hi Everybody,
    Simple example: I have an audio file with a maximum peak of -5 dB.
    What is the difference when I either add 5 dB with the 'change gain' function, the normalize function or the gain plug in? Do they not all do exactly the same? Don't they all 'up' my noisefloor 5 dB as well?
    I was wondering because I get the impression that Normalisation is seen here as an abomination, an affront to craftsmanship. But is it? Or is that because it implies not having levelled the input signal 'perfectly'?
    regards, Erik.

    ambient8 wrote:
    Hi Erik,
    Your example is using all 3 tools to change the gain to the maximum level. If that is your desire then I don't believe that there would really be any difference in your result.
    It is not so much about my desires as it is about my curiosity, since so many seasoned musicionados here appear to quiver with curled toes at the prospect of normalisation, which made me think that maybe something about the algorythm was different.
    Normalization does not give you any control over the amplitude level. It always goes to maximum. So unless you want to change it to the maximum level it is not the right tool.
    I believe in both Logic and Peak you can set a percentage or a deciBel-age.
    Also, i think a lot of distrust of normalization comes from the fact that it used to be a destructive process that could yield unexpected results. Being that is not the case now it is easier to experiment with it without worrying about ruining your recording.
    Yep, that was one of my deliberations too. Thanks Ambient, for your 2 cents!
    regards, Erik.

  • What's the difference between "Normalization" and "Change Gain" ?

    So I've got a bunch of tracks that I've mixed down and bounced to 24-bit stereo AIFF files. Next, I'll be mastering those bounced files with the Linear Phase EQ, followed by the Multipressor (if needed) and ending with the AdLimiter.
    Needless to say, I'd like for all the tracks to have the same relative volume before starting the mastering process.
    -3db is my desired level as it will give me a little room to play with during the mastering.
    Anyway, I figured that I could simply normalize all the bounced files to -3db in the sample editor before mastering. But while looking into normalizing in the manual, I noticed the change gain function listed right below it.
    However, unless I'm missing something, I don't see a real difference between the two.
    Could any of you experts out there tell me if there is a real difference bewteen them? Are there clear advantages to using one over the other?
    Thanks,
    Ken
    17" MacBook Pro "SABRINA": 2.16 GHz, 2GB RAM, 256MB VRAM, 100GB/7200 RPM HD   Mac OS X (10.4.7)  
    Logic Pro 7.2 User

    Changing gain = changing gain. There's no functional difference, as I understand it, regardless of how the function is labeled. For example, if you have a waveform that peaks at -3 dB and you normalize it, the entire waveform's amplitude is recalculated so that now the -3 dB point is at a 0dB. This means that every other sample in the waveform had to also have its amplitude multiplied by some factor that results in an increase of 3 dB for every part of that waveform, proportionally. This means that your track will not sound more dynamic. It will have exactly the same dynamics as before, but the overall volume is greater. It's like turning up the volume control. Done.
    If you used "change gain" instead of normalize and you changed the gain +3 dB, you'd be performing exactly the same function as described above, yes?
    To take this one step further... if you didn't bother to analyze what level the waveform peaked at but used Change Gain to create an arbitrary +3 dB gain change, the waveform may clip if its peak amplitude was already pretty hot (Logic will warn you of this, but doesn't prevent you from creating a clipped waveform). On the other hand, the Normalize function performs an "auto peak search" before it sets out to increase the amplitude of the overall waveform so that the peak resides at 0 dB. Indeed, if you try to normalize an already normalized waveform, Logic will issue an alert message saying something like "already at maximum volume" or something like that, and no processing takes place.
    So in a nutshell, Normalize will increase (and only increase) the gain of a waveform by first searching for the peak in that waveform and then increasing the overall gain of the entire waveform such that the peak resides at 0 dB. Change Gain allows you to increase or decrease the gain of a waveform (or a selected part of a waveform) by whatever amount YOU set it to be.
    Kenmitch, I'm not convinced that your formulaic approch to mastering is going to give you the best sonic results. For one thing, pre-normalizing your tracks is apt to create headroom problems. I wouldn't do it.

  • Using MIO-16XE-10, I am trying to relate per gain setting the resultant actual voltage range.

    I have tried to find the conversion table for gain setting and resultant voltage. I am a programmer, and am having trouble understanding the relationship, or better yet, an algorithm, so I can programmably set a gain, based on the current voltage returned after a measurement. The idea is, to get the most reliable resistance measurement by assuring that the current measurement taken with a specific gain setting, is not taken on the lower 1% of that gain.
    bookieb

    Hi Bill:
    Thanks for contacting National Instruments.
    The best way to use the most appropriate gain is to set the voltage range of the incoming signal and let the NI-DAQ driver choose the best gain to apply for that range.
    The DAQ card has some predefined gain settings which the NI-DAQ driver selects from depending on the input limits.
    To find out what input ranges correspond to what gain, please refer to Appendix A Specifications of the E Series User Manual. Table on page A-2 shows the relationship between the input signal ranges and the channel gain that the NI-DAQ driver chooses.
    I hope this helps. Please do not hesitate to to contact me back if you need additional information.
    Re
    gards,
    Bharat S
    Applications Engineer
    National Instruments
    Penny

  • BIG trouble - Change from PPPoE to DHCP

    Hi guys.
    My ISP has changed our internet access from the PPPoE protocol to the DHCP protocol.
    I'm using a Linksys WRT54GC wireless router.
    If i change the setting from PPPoE to Automatic Configuration - DHCP inside the basic setup of the router and save it, then i have no internet connection.
    What else needs to be changed? I have set up Windows 7 to automatic get an IP address and DNS address.
    Can anyone help me set up the router so that i can gain access to the internet again???
    Thanks in advance
    Swifty

    Log on to your modem and input the username & password you used for PPPoE.  You may have to change your settings from bridge mode to normal mode.
    Greetings from Northern Ontario, Canada

  • The "always allow" button is grayed out in settings regarding cookies, and I can not find where to change the setting.  (Restrictions are not on.)

    The "always allow" button is grayed out in settings regarding cookies, and I can not find where to change the setting.  (Restrictions are not on.)  Do you know where I go to change the setting to allow me to "always allow" cookies?

    Hi lisaarnett111,
    If you are having issues turning on Always Allow for cookies in Safari on your iPad, you may want to check to make sure that you don't have Private Browsing enabled, as noted in the following article:
    Turn Private Browsing on or off on your iPhone, iPad, or iPod touch - Apple Support
    Regards,
    - Brenden

  • Unable to edit an Audio Region (just want to change gain)

    Hello,
    In a particular audio region I am unable to change gain in that the "Change Gain" command (as well as all the other functions) are Grayed-out FOR THIS REGION. I am in Sample Editor>Functions>Change Gain.
    There are over 200 audio regions in this file. Most of them have NONE of the edit functions grayed-out.
    A few other regions have all the edit functions Grayed-out except for Change gain.
    Almost all of the audio regions are from apple loops. I have not edited any of the regions except for some regions ending points, and volume automation added.
    Why would this one particular audio region ("Country Night") by un-editable?
    (NONE of the tracks are locked.)
    please help

    Is it a file in .caf format? If so, note that compressed Audio formats can't be edited destructively. Convert to aiff/wav before.
    Btw, there is a Gain function in the Region Inspector since Logic 9, so there is no need to change the gain in the sample editor anymore.

  • I have the iPhone 4. I recently switched from PC to IMac. I am trying to sync my iPhone, but iTunes will not let me add or remove anything. Do I need to change a setting since I changed computers? Help!

    I have the iPhone 4. I recently switched from PC to IMac. I am trying to sync my iPhone, but iTunes will not let me add or remove anything. Do I need to change a setting since I changed computers? I try to add songs from my music into my phone section and it will not go... Plus the playlists on my phone are not updated on my iTunes phone on my computer. Its like it never updated. What am I doing wrong??

    Iphone will sync with one computer at a time.
    When you sync to another it will delete the current content.
    Make sure you have copied everything from your old computer to your new one first.

  • How do i get permission to use my camera on google plus when i by accident pressed the do not allow button- how can i change that setting?

    I want to have a conversation on google plus, but by accident i pressed the do not allow button. How am i able to change the setting?

    rwgleaves wrote:
    Is there any way I can change this for the entire drive?  Doing this one file at a time is crazy!
    Pick the entire drive>Get Info>Make sure you have read&write privledges and, of course, have added yourself. Either that, or pick all the files, and, once again, "Get info." You should be able to do this for a large group, not just file by file.

  • How can i change the setting on my ipad 2? Whenever i read stories in the net after awhile it goeson standby and i have to keep on entering the passcode. Please help.

    How can i change the setting on my ipad 2? Whenever i read stories in the net after awhile it goeson standby and i have to keep on entering the passcode. Please help.

    Settings>General>AutoLock>Never. Now it will not sleep at all so change it back when you are done reading.

  • When I tap on the to line to add an address sometimes people's names come up that I don't have as contacts.  How can I change this setting?

    When I tap on the to line to add an address sometimes people's names come up that I don't have as contacts.  How can I change this setting?

    The only way that I know currently know of to remove old or incorrect email addresses from the Mail app is to reset the iPad back to factory defaults, which I assume that you don't want to to. You could try leaving feedback for Apple and maybe one day we'll day be able to edit them : http://www.apple.com/feedback/ipad.html#ipad

Maybe you are looking for