NIDAQmx equivalent to SCAN_Start​() & Gain settings

I have some questions regarding multiple sampling (sequential, not simultaneous) for a 6251 card we have ordered.
I
am translating my Trad. NIDAQ code into DAQmx. I saw that
you can assign different "gains" to multiple channels within a task by
configuring the same task handle for different physical channels
independently. However, there doesn't seem to be much information on
the timing for sequential sampling that would result from this.
1. Do the channels get sampled in the order in which they are configured?
2.
If you choose a particular internal timebase and rate with
DAQmxCfgSampClkTiming, will the sequential channel sampling adhere to
the same timing?
3. If the answer to (2) is no, then how does one choose the data format which includes timing information (Waveform format?)?
4. Is it possible to get unscaled integer output that still contains timing information?
I
also had a question about the input range settings that have replaced
gain settings. I think the 625x cards use bipolar ranges. If I use
min/max values of, for example, 6.0V/10.0V, would the internal scaling
use +/-10V range or a +/-2V range with some kind of offset?
Thanks in advance,
Tanaya

Hi Tanaya,
You can set up different scan lists by creating global channels that correspond with physical channels in your task.  The following Knowledge Base article addresses this issue.
Can I Sample One Channel Multiple Times Before Switching to the Next Channel In My DAQ Channel List?
However, rather than sampling the same channel multiple times, you would simply be changing the order of your sampled channels by using the global channels.
I hope this helps!
Ed W.

Similar Messages

  • How can I access SCXI gain settings from the niconfig.daq file using Labview 6.1?

    I'm using NT, Labview 5.0 and NI-DAQI 6.8.1. also LV 6.1 w/NI-DAQ 6.9.2 and would like labview to determine the current SCXI gain settings. How can I parcel the ni-config.daq file into text?

    Hi,
    niconfig.daq is a binary configuration file and cannot be parced into a text file; the format of the data stored in it is not available.
    Regards,
    RamziH.

  • To what limits (lower and upper) are the PXI-6052E boards calibrated for their various gain settings?

    I am trying to get some boards calibrated by our metrology lab, but I can't find the relevant information.

    I've viewed all, and downloaded most, info at the link that you've mentioned. Unfortunately, the data I'm looking for isn't there. In the E Series Calibration Procedure document, there is an extensive listing of tables that contain calibration data points for a variety of E series boards. However, the 6052E board isn't listed. Elsewhere on the ni website, there is a note to use the 6034E/6035E tables for the 6052E boards. These tables do not contain all the gain settings for the 6052E. I would assume that the 6052E boards were factory calibrated at all possible gain combinations.

  • Need info about Antenna gain settings

    I could see that antenna gain setting under 802.11b/g ap showing 0 valu. However, the antenna connected to that AP is AIR-1728 which has 5.2dbi. Please let me know if it shows 0 then will I get the Maximum power ? or do we need to change ito some value to get the maximum of the antenna power.

    Not really, with a value of 0 the WLC assumes a standard 2.2dBi of gain, IIRC.  Putting in the correct value for the antenna gain, allows the WLC to make better power settings.
    HTH,
    Steve

  • Acquiring current camera gain SettingS?

    Hi,
    I would like to know if it is possible to know the current Camera Gain and Shutter Speed Settings. I m employing an IMAQ 1394 Firewire Camera for the Vision Application. Any possible solutions to the above would be most welcome.
    Thanks. 
    Solved!
    Go to Solution.

    Also don't forget to read the manual of your camera so that you know the correct attribute name for Gain & Shutter speed
    Share your code and camera brand & type if you need further information.

  • External antennas and gain settings

    Cisco AIR-AP1242AG-E-K9.
    In the web interface, if one goes to:
    Network Interfaces/Radio0-802.11G/Setting tab
    half way down the page there's a section called External Antenna Configuration and you can enter an Antenna Gain in the box.
    The access point came originally with two small plastic antennas, about 6 inches long but I took these off and connected two external antennas, one is 3db, the other 6db. Should I enter 6db in the box or does the access point set the gain automatically? At the moment all antenna settings are at default.

    In the case of a Dish, yes, it would absolutely impact your throughput.
    It would be better to put the dish on one port and disable the other port.
    The dual ports are for diversity; in an inside environment, having two antennas a small distance apart reduces the effects of "multipath" and "nulls" ... multipath is when there are several images of the same transmission (from multiple reflections), nulls occur when you combine a series of waves (like a primary wave and a near reflection) and the combined waves, added together, result a greatly diminished signal (like a "plus" 35 meeting a "minus" 35 ... the result is a null, or no signal).
    For point-to-point, or point-to-multipoint diversity is generally not desired or needed.
    The way the antennas are used does not permit efficient operation for coverage of more than one specific area.
    Good Luck
    Scott

  • Concerning SCXI 1121 and 1321..gain settings

    I am reading in a 0 to 30 millivolt signal. I have the jumpers set to 100. In max I still only read in 0 30 millivolts. Isn't it supposed to be 0 to 3 volts?
    I have the 1321 hooked up to an omegadyne LCH series load cell. I can not null the offset. I tested the potentiometer and it is working. Why am I not able to null the offset. The jumpers are enabled.

    Even though a gain of 100 is applied to a signal, the driver actually automatically adjusts the value back to the original range after the analog to digital conversion. The gain is applied prior to the A to D conversion in order to take advantage of the full range of the A to D converter in order to maximize resolution. As for the null offset, I would recommend taking a look at the LabVIEW example below that illustrates how to accomplish this. Respond if you still have problems.
    Example

  • Gain settings(Video)

    I accidentally shot video with my gain on my camera set to 18db. Is there a way to change that to 0 in adobe premiere?

    Once gain is added in the camera, it's there for good. Are your pictures over exposed or just grainy?  I use the Neat Video denoiser to good effect to repair noisy footage but it is a paid for plug-in. If your footage is over exposed you may be able to recover some of the highlights using the Luma corrector, it depends if your camera records super whites.
    Good luck

  • Valuation Currency not posting Group Currency equivalent

    Hi FSCM Experts,
    Can you help with this query please? We are activating FSCM FX and Hedge Management components.
    We have maintained the Valution Currency as EUR for the company code. The company code has Local Company Code currency of EUR.  When the postings to the FI account happen from the TPM1 valuation transaction, the EUR value is only updated in the Loc Curr field. There is no USD equivalent showing in the Loc Curr2 field. There is no value at all updating in the Doc Curr field.
    It is required that the values on the GL account also show out in USD equivalent and not just in local currency EUR.
    This company code is a USD functional company code. That meas that under transaction OB22 (Additional Local Currencies for Company Code) under sections '1st Local Currency' and '2nd Local Currency'  the translation being used is 'Translation taking transaction currency as a basis'. This setting is a fundamental business requirement and cannot be altered.
    Due to the fact that the Doc Curr (= Transaction Currency) field is not being updated in the TPM1 posting above, there is no value in the Transaction Currency field and therefore no translation is being done into Loc Curr2 (= Group Currency of USD).
    Can you advise is there a way to get the USD equivalent to show on the GL account posting please? For example, is there a way to get the Doc Curr field to be populated when the TPM1 posting is done? If the Doc Curr field could be populated (eg maybe by the Position Currency etc) then the system would be able to do a traslation to USD equivalent amount per the settings in OB22 above.
    Thank you for your advise here.

    We resolved this using a BADI TPM_ACCIF_TRAC

  • Working space settings for Grayscale?

    (Preliminary remark: I'm using the German version of PS, so some items may be called differently in the English version.)
    In the colour settings of PS CS4 I can define a working space for gray scale pictures. What does this setting actually do?
    I know that there is no ICC colour management for grayscale pictures, so what do the dot gain settings do? Do they just darken the display or is there more? What do the gamma settings do? What does "Black&White mean? What does sGray mean? Does Photoshop somehow add ICC profiles to grayscale pictures? If yes, which and what does it do?
    So far I decided to just set "no adjustment". The reasoning is that this should display the true greyscale values on the screen. I then can add dot gain as needed manually as a final step. Does this make sense or am I misunderstanding something?
    Bonus question: What about the spot colour settings? Are they applied to multichannel pictures?

    p_d_f wrote:
    Yes, there really are Grayscale ICC profiles...
    Thank you. After contemplating a bit, I think I've finally understood where my confusion originated. But the more I understand, the more new questions arise.
    So far I've understood that if a picture is to be displayed on an internet site or used in an office application, then I best work with the gamma 2.2 profile. If the target computer honours ICC profiles, then it desn't matter anyway which profile I use, but if the target computer ignores ICC profiles, then most computers out there will display the picture with a gamma of 2.2 (more or less) because this tends to be the default setting on most computers.
    But when it comes to pictures for print, some questions remain.
    To begin with, I could continue to work as I did without colour management. I would first "convert" the picture to the profile "no corrections". This would mean that "the numbers" in the picture are the same as the gray values the final user should see. And then I would account for dot gain by either applying a gradation curve or by saving as EPS with a transfer curve.
    However if I want to use colour management, then I "convert" the picture to the the printer's ICC profile. Without a specialized program, I cannot create such a profile myself, even if I know the transfer curve. So either I find a suitable profile somewhere or the print shop must provide me that profile.
    So far I think I understand. But now the questions.
    Concerning missing profiles: Can I just take the gray channel of a suitable CMYK profile (e.g. ISO Coated v2) or would this contain some sort of black generation information which would spoil a grayscale picture?
    I assume that it's possible to embed the black and white point into the profile, so that I don't have to worry about them anymore but can assign the full range of gray values from 0% to 100%. With the colour sync tool, I looked into the grayscale profiles that come with Photoshop, and as far as I can tell, none of them does set the black and white point. So I assume that despite using colour management, I have to do this by hand in the picture itself by assigning appropriate grayscale values?
    If I find a profile which does set the black and white point, then I assume that this is done lossless when I set the intent to "photographic", but when I set the intent to "colorimetrc", then the shadows and lights are just clipped (which jeopardizes the idea)?
    I see that the profiles contain a intent. I assume that this embedded intent will be overridden by the colour setting in photoshop?
    What does the option "blackpoint compensation" (or similiar, I use the German photoshop) do with grayscale images? Does it alter the black point, so I should turn the potion off off when I set it by hand? Is there some documentation what this option *exactly* does?
    The colour settings in Photoshop offers "dot gain xx%" settings, but I didn't find such profiles. Do I assume correctly that those are "internal" profiles of photohop? Are they documented somewhere?
    Thanks.

  • I'm doing something wrong -- Gain is at MAX-LOUD-when I enable Record

    Just installed L8. I've used Pro Tools for a long time, and like the feel of L8, but am having a serious problem. I need suggestions for why, when I enable a track for Record, it Maxes the gain into the red, even when I have the Interface gain settings at zero......gives off a loud scratchy sound. I'm missing something. Ideas?
    I'm using a Digi 002 Rack that I've used for years with PT. It plays imported tracks perfectly....but Record no way.

    Sorry about this post -- wrong Discussion -- will repost in Logic Express 8 -- can't figure out how to delete it.

  • How do I dynamically set channel gain(s) on an SCXI-1100?

    I am using a PCI 6036E with an SCXI-1100 to multiplex trough 25-32 channels with low current signals from a photodiode array. I tried using the DAQ Assistant Express to measure current, but it won't let me do the following (even when I convert it to a standard subVI):
    1) Select shunt resistor values greater than 1kOhm. (I am using 100MOhm resistors to get the highest gain possible from the low current photodiodes. I want to be able to programatically adjust the gain depending on the different low intensity light sources).
    2) Change the gain selection so I can programatically create an auto range select.
    John Feiereisen posted a question "Can I set dynamic gains on an SCXI-1100?" on 11/24/1999 wherein he stat
    ed:
    "In the past I used a single SCXI-1100 as a 'dumb' mux/amp by passing the OUTPUT and AOREF lines to the front panel connector (jumpers W7 & W8), controlling the SCXI with an MIO-16, and passing the mux'ed output to an A2000 with a BNC cable. I pulled CINs out of some LabVIEW-supplied VIs (v2.2?) to select channel and gain. This setup worked great and allowed me to march through a bunch of transducers and select an appropriate gain for each one. (And allowed much faster acquisition rates than if I did the A/D with the MIO-16.)"
    It says that he was able to do what I want to do, but I don't understand how he did it.
    Any suggestions or sample code? What is a MIO and a CIN anyways?
    Thanks

    Hey Biobartman,
    I tested creating a current global channel in MAX using NI-DAQ 7.1 and it did not have a problem using a 100 MOhm external shunt resistor. However, you do need to make sure that the current range is equal to or smaller than +/-100 nA. MAX calculates the voltage range by multiplying the shunt by the current range. The voltage range must be equal or smaller that +/-10 V.
    The gain for the DAQ device can not be programmatically changed. You must change the minimum and maximum range in order the change the gain settings used on the DAQ device in DAQmx. However, you can change the SCXI gain settings programmatically when the task is not running using the Channel Property Node. The property can be found under Analog Input: General Properties:
    Advanced: Gain: Gain Value.
    I hope this helps out.
    Joshua P.
    Application Engineering
    National Instruments

  • How to control gain in Sony HVR-Z5U

    I have tried the gain settings -3, 0, 3db settings of the Sony HVR-Z5U camera. Even if I put at -3db I still see some "grain" in the footage. Any recommendations to reduce the gain? I can still go negative gain on this, at the same time I don't want to darken the exposure.

    That's the whole point of the -3dB gain setting, to remove some of the electronic noise in the image.  Sort of like lowering the noise floor in audio equipment.  Of course you need to compensate by opening the iris a touch.  But nowadays most cameras are pretty clean at 0dB gain and sufficient lighting.  Using -3 gain should improve even that.  If it's not, I'm a little stumped.

  • Migrate SCAN_Setup Gain List to DAQmx

    I am migrating a traditional NI-DAQ application to NI-DAQmx.  I need to program the analog gain of my DSA device.  In traditional NI-DAQ, I used the Gain List parameter of SCAN_Setup.  So now I need to control the gain settings in DAQmx.  DAQmxCreateAOVoltageChan lets me program the Max and Min values.  This might be preferable in many situations, but I need to actually control the discrete gain selection.  Can someone tell me how?
    The CVI help offers the heading, "Gain for DSA Devices."  It says, "The gain attributes/properties, AI.Gain and AO.Gain set the amount of gain to apply to the signal. These properties are set in decibels referenced to 10 V."  That sounds good.  But how do I set these attributes/properties in LabWindows/CVI?
    It is important for me to have direct control over the discrete gain settings because I am designing a calibration system, and I want to periodically check the card's channel-channel calibration match at each gain setting.

    Good afternoon Jmoses,
    If you have a look at your NI-DAQmx C Reference Help file, type in "Gain" under search.
    You should come across these two functions:
    DAQmxSetAIGain
    DAQmxSetAOGain
    That should get you started, best of luck on your project.
    Sincerely,
    Minh Tran
    Applications Engineering
    National Instruments

  • Problem with gain

    Hello, I'm using YOGA CLIP MIC with need of phantom power. I've been using this mic for few years and never have this problem. When pugged in mix everything is Ok. But once I plug it to my USB audio interface (the t.bone micplug) and then starts MainStage, suddanly my mic has crazy gain and catches also sounds from more then few meters. When I reduce the gain manualy on the USB interface or in the MainStage the sound is then quiet even the volume is on the max. Can anyone help me with some settings to solve this issue?

    Hi CampiB-
    Instead of addressing the channel as "Dev1/ai0" you should actually use the SCXI address "SCNModM/ai0" where N is the chassis number and M is the module number.  The correct name for the module can be found in MAX.  This is the only way for the driver to properly scale the readings for your gain settings.
    Hopefully this helps-
    Tom W
    National Instruments

Maybe you are looking for