Changing the delay between channel reading

In Traditional NI-DAQ there was a method to set the sample rate and the scan rate which allowed each channel to be read very quickly relative to each other. In NI-DAQmx the sample rate is set using the DAQmxCfgSampClkTiming function, but its unclear to me how the channel readings are timed internal to the Sample Clock.
My guess is the default behavior is to equally space them, for example if you are reading 4 channels at 1 kHz then each channel is read every msec, but an A/D conversion is performed on the next channel every .25 msec (equally spaced).
Is there a method to read the channels as close together as possible? I can't seem to find any information about "inter-channel delay" settings.
Ed

It's a property. Use DAQmxSetAIConvRate(), the documentation for which you have to dig out in the Properties section of the DAQmx documentation. Looking at my code, the prototype appears to be
int32 DAQmxSetAIConvRate(TaskHandle h, double rate)
John Weeks
WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com

Similar Messages

  • How to change the delay for a specific message

    Hi,
    I need to change the delay for an specific message, So how can I consume message by JMSCorrelationID which is enqueued with delay?
    I am using Java and Oracle.JMS classes.
    This a sample code of the deque method
    public BasicAQData dequeue(int insId)
    try
         String usr = dbUtil.getCurrentUser();
         AQjmsStreamMessage stream_message = null;
         int id = 0;
         int priority = 0;
         int destino = 0;
         String selector = null;
         String instanceId = String.valueOf(insId);
         BasicAQData dd = new BasicAQData();
         queue = q_sess.getQueue(usr, queue_name);
         selector = "JMSCorrelationID = '"+instanceId+"'";
         receptor = q_sess.createReceiver(queue, selector);
         stream_message = (AQjmsStreamMessage)receptor.receive(sleeptime);
         if (stream_message == null) return null;
         id = stream_message.readInt();
         priority = stream_message.readInt();
         destino = stream_message.readInt();
         stream_message.clearBody();
         dd.setId(id);
         dd.setPriority(priority);
         dd.setDestino(destino);
    return dd;
    It returns the desired message if that is available; however it returns null if the message was enqueued with delay and isn4t still available.
    Thanks in advance.

    Hi Glenn,
    Messages enqueued with a delay can be dequeued by specifying message id. In your example,
    you can dequeue the message with message_id, change the delay and enqueue the message again.
    Thanks,
    Brajesh.

  • How do you change the spacing between lines of text?

    using Dreamweaver 6 how do you change the spcing between lines of text. Not seeing it as a option in the page properties menu.

    Try CSS line-height property.
    Kenneth Kawamoto
    [link removed by moderator]

  • Command for calculating the difference between channel points

    Hello guys,
    Please tell me if there is a command (or a way) to calculate the diference between channel points, and when there is a diference between points greater then a certain value, to give you where are those points.
    I record some CSV data, a force during time and travel, and I want to put on a graph the exact value when I have a decrease of force greater then 0,1N.
    Thank you again for your time.
    Solved!
    Go to Solution.

    Hello again,
    I find out about the ChnDeltaCalc command, and I combine it with ChnFind and ChD commands and everything is OK.
    Have a nice day.

  • Change the focus between two windows

    I have a program that uses a console window, and an appletviewer window. I want to know the code required to change the focus between each of the windows. By focus I mean which window is on top of the screen.

    These are java.awt.Frame or javax.swing.JFrame objects, right? Use their show() method. Some OS's may not allow you to steal focus. You could try:
    frame1.hide();
    frame2.hide();
    if(wantframe1ontop)
    frame2.show();
    frame1.show();
    else
    frame1.show();
    frame2.show();
    }

  • I would like to change the spacing between the words for the product names, they look double spaced at present.

    A simple question I think, I would like to change the spacing between the words for the product names, they look double spaced at present. On the home page, and product pages. Not sure where to change this in the css here is the site; http://top10shop.businesscatalyst.com

    That site is using an old font technology called cufon, it uses canvas to draw the text into the font you want. Not really good for modern websites.
    It is what the font was and how it was made. I never used Cufon but the documentation is here - Usage · sorccu/cufon Wiki · GitHub At a glance there are no render options for the double spacing so I am guessing it was how the font was generated.
    I would scrap all of that completely tbh.

  • How to Change the Spacing Between Bullets on a List

    I used to use Microsoft Expression and I could change the spacing between bullets on a list by formatting the paragraph and changing the spacing.  In Contribute I don't see how to do that.  I tried to Edit Roles under Administer Websites so it would be 2 lines after paragraph, but that doesn't help.  So if I want to increase the spacing between bullets on a list, how do I do that in Contribute?
    Steve

    Please log an Enhancement Request thrown, https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=9
    or make a suggestion for Contribute next.

  • Is there a way to change the spacing between footnotes in Pages on OS Mavericks?

    I am trying to write a paper for a class I am taking but cannot seem to change the spacing between footnotes in Pages. Can anyone help me out with this?

    Yes.
    Click on the footnotes in Pages ’09 or v5.2.2.
    In Pages ’09, in the Document Inspector, there is a section called Footnotes & Endnotes.
    In Pages v5.2.2, a new Footnotes tab will appear.

  • Is there any way to stop the delay between different sets of speakers when using airport express?

    Is there any way to stop the delay between different sets of speakers when using airport express?

    Unfortunately, I don't have either a Slingbox or iHome speakers so I won't be able to reproduce any of the issues you are having. With the fact that you live in large apartment complex would still lead me to believe that Wi-Fi interference may be the reason that you are having streaming issues.
    I suggest you perform a simple site survey, using utilities like iStumbler, or AirRadar to determine potential areas of interference, and then, try to either eliminate or significantly reduce them where possible.

  • How do I change the spacing between lines in Pages 5.5.2?  Single spacing prints more like double spacing.

    How do I change the spacing between lines in Pages 5.5.2?  Single spacing prints more like double spacing.

    In the Format panel under the Text Style tab, there is a ▸ Spacing category. Click it to open, and you will have a selector that defaults to Lines, and to the right, the ability to set your spacing in decimal values. In addition to Lines, you also have At Least, Exactly, and Between capability. You can even set exact line height  in points. Check that your Before Paragraph, and After Paragraph settings are correct for your needs.

  • Can't seem to change the Document Properties Advanced Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    Can't seem to change the Document Properties > Advanced > Reading Options in a Form that was created in Adobe LiveCycle. This option has been "greyed" out - anyone know how to update this to English so I can pass Accessibility Testing?

    LiveCycle forms use a very different approach to create a PDF form than Acrobat and that approach makes many features for processing PDFs non-functional.
    You might want to ask this question in one of the LiveCycle product forums.

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • What is the different between adobe reader and adobe acrobat reader?

    what is the different between adobe reader and adobe acrobat reader?What are the procedure to download a Acrobat reader?

    Good day,
    Adobe Reader is a free application we offer for viewing and printing PDF files.  Many years ago, it was known as Acrobat Reader.  You may still see some users refer to Adobe Reader as 'Acrobat Reader'.  Old habits are sometimes hard to break!
    You can download Adobe Reader by visiting: http://get.adobe.com/reader/
    Kind regards,
    David
    Adobe Systems

  • How to change the column header/channel name in an LVM file?

    Hi all,
    I made a VI (see attached JPG) that reads 2 voltages, but after calculations and other processes, ends up writing 6 columns of data to an LVM file (7 if you count the time).
    I have read in other posts that you can change the name of each signal so that the header of each column in the LVM files doesn't just say "untitled". However, as you see in my code, some signals are numeric (double) and one is a logic (1 or 0), so there is no way to edit the waveform properties of those signals (since they are not waveforms).
    Any ideas?
    Thanks!
    Attachments:
    untitled3.JPG ‏40 KB

    I would suggest looking at this existing post:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=175554
    I'll further mention that in the loop, for each channel you want to set the name of, the attribute name for the name of the channel is "NI_ChannelName".  The example in the thread above takes advantage of the fact that "NI_ChannelName" happens to be the first one defined.  I think it would be more robust to not bother reading the existing attributes, and instead just write the "NI_ChannelName" attribute with whatever new value you want.

  • How do I change the 5 ghz channel on new Airport Express when extended from Time Capsule?

    Hi there. My Airplay device connected to the new Aiport Express keeps cutting out.
    The 5ghz connection on my Time Capsule is set to channel 48. I have a new Airport Express (with Airplay device) extending from the Time Capsule and when I use WiFi Scanner, it shows the Airport Express set to channel 157. What gives? Is there a way to change to channel 48 or does this not matter? I imagine since they're on different channels, they're not talking to each other or am I .
    Thanks in advance for any help.

    I've managed to change the 5gHz of ther Airport Express that's extending the network.
    As mentioned, main AE is on channel 48, and I now have the 2nd AE on channel 36 - which means my TV can now see the network. Also tested speed via my mavbook air on the same 5gHz network as it all seems OK (A while ago I spotted my Time Capsule was on the same channel 48 as main AE and throughput was abysmal! Bad enough to make me reset the TC to factory defaults and setup again - which is when the TC got channel 120).
    Anyway, the fix... I changed the 2nd AE to create a wireless network (instead of extend), and manually set the channel to 36. I then set it back to extend, and it seems to have kept channel 36.

Maybe you are looking for

  • Questions on async and sync's unit tests

    Hi All I write a API project and that have sync and async method.   Then I also write a unit tests for them. What I want to ask is how to write them is better ? public abstract class ApiProxyBase         protected async Task<T> GetDataAsync<T>(IRestR

  • Two i4's same itunes account

    So i have two i4's on my itunes account.  one for me and one for my wife.  Is there anyway that we can keep our contacts separate?                                                                                                                        

  • Iphone 5 lagging after update

    i updated to new 7.0.3  on my 5G and the loading time of internet data is much much slower than before. Is anyone experiencing this same problem??

  • How do I get my IPad to sync with my Verizon Android Phone

    How do I get my Apple iPad 2 to sync with my Verizon Android Droid Xa Phone?

  • CS6 Master Suite applications open with "...damaged...reinstall.."

    This started happening recently. InDesign and Acrobat, my usual applications seem to work properly, despite the message. This is a long-time original OS X installation, updated to 10.6.8, with all patches, not an upgrade from an earlier OS. MacBook P