How two generations different wafeforms on ao channels USB-6353

I'm use DAQmx driver from a C++ code to control a device USB-6353. It is possible the same task to generate a sinwave on Dev1/ao0 and a Triangle on ao1/Dev1 waveform?

Thanks in advance

Yes you can, simply create a task generation to the MAX with two channels, set this task as in DAQmx Timing input and then create an array with 2 elements, one for each waveform.

I send you an example where you just change the enter task and the table. You need an array containing two elements, one for each waveform.

Of course, you will have the same frequency of sampling for two generations!

I hope that helps!

Tags: NI Software

Similar Questions

  • How to import the two files different cod as a forground and background in the unique alx for a same device

    Hi all

    I created two cod different files such as application of function two diffirent for one device with the same name of the application, but the names of code files are different how you can import them into BB Desktop manager with alx

    Please help me to do this.

    You can add the cod file in the section of the alx file

  • Generation of series in multiple channels

    Hi forum, I need to ask a few questions. Any help is appreciated.

    (1) I need help with the generation dynamic series in several channels. Here, we can see how the dynamic data set generated by a single channel. But I can't find anywhere, how to generate several series signals in multiple channels.

    (2) what is the limit for this generation series? I think it depends on the material, but I don't know, what is the limit. My hardware is SMU-6544.

    (3) it is possible to generate different signals in different channels using scripts? and to start the production in these channels at the same time? the example given in the script generation labview is unfortunately only for the generation of a channel.

    Thanks in advance,

    Kind regards

    Yan.

    Hi Yan,

    Produce on several channels with multiple data is difficult without a tool to view the data, or series of each channel bitstream concatenated into a software ADE and transposed before be downloaded into memory.  To make Visual things here, I'll assume that you want to generate a pattern of 3 bits on sample of channels 0, 1 and 2 is 8 wide.  Assume the following models of the series bit for each channel:

    ch 0: 0101 1010

    CH 1: 0000 1111

    CH 2:0100 1101

    So the question now is, how do you load this in the SMU-6544(or any other HSDIO hardware)?  Of the two options, you can use Digital Waveform Editor (NEWS) to create visually and save to a file type HWS then load a DJ using the API HSDIO.  It is the easiest in my opinion.

    The second way is construction examples of data based on a basic example.  I want to say is you take it all binary streams and built a 2D table so that it looks like:

    01011010

    00001111

    01001101

    An array of 3 x 8 and then transpose the table that turns into:

    000

    101

    000

    100

    111

    011

    110

    011

    Here you can see we have 8 lines, each line is a sample, and in the form of U32 read in decimal, you get 0, 5, 0, 4, 7, 3, 6, 3.  That's what you can load into our niHSDIO U32 function write a waveform.  I hope you can see how this translation occurs and how it looks like in terms of load on the jury.  Each sample usually contains data for all channels, where each bit in the U32 is one of the 32 channels available on your device.  So if you want to write a '1' on Channel 5, you would load a value of 0000 0000 0000 0000 0000 0000 0010 0000 in the form of sample, where the 5th bit is 1 and all the other bits 0.  In decimal, you would write '32' value.

    With regard to the limitation of the size of series, if your flow rate is slow enough you can disseminate and make an almost endless stream, but assuming that you are running at the maximum rate, your series of waveform size is limited by the size of your on-board memory.  Since each sample generation is 32-bit, which is 4 bytes for example, if a memory size of 32 MB will correspond to 8MS bitstream series max.

    For any questions or comments are welcome.  Thank you.

  • generation of functions to create channels of AO

    I'm trying out a sinusoidal signal through a USB-6211 using this task Create Channel. I can't find a single example of using this function once the task has been created. All the 17 examples provided by OR use the adjustment of the tension of the AO create and must use an external function generator. Examples exist on how to use this thing? List of specifications of USB - 6211 BTW ' AO waveform modes:

    "Non-periodic waveform.

    "Periodic regeneration mode waveform of FIFO aboard"

    'Regeneration of periodic signals of buffer host, including the dynamic update'

    I don't know what the previous alternatives that seem to indicate that it is capable of producing waveforms, unlike other queries that came during my search for previous question.

    Hi walter donovan,.

    Only two devices support .vi DAQmx Create Channel (AO-FuncGen): NI ELVIS II and NI ELVIS II +, which have a function dedicated to the hardware level generator. You cannot use the channel type of the generation of AO functions with any other device. Sorry for the confusion.

    Brad

  • The use of two accounts different iCloud with Photos

    How can I use two accounts different iCloud with Photos of Yosemite OSX? For example... My wife and I have iPhones with iCloud different accounts and share a MacBook Pro, which use us her iCloud account. We want to be able to use the photo stream to upload our photos on our iPhones to the Photos on the MacBook Pro app. Thank you.

    I don't think there is a way to link the two accounts iCloud in photos.app library.

    However, my partner and I are in the same situation as you and your spouse: two phones, a MacBook Pro (MBP) and the need to share the photos with others and to optimize the space of our digital camera shots.

    In short, we use the following:

    -Two Photos.app libraries; one on each user profile

    -Two photos of iCloud albums; one for each phone (each of download us the best of our photos of the iPhone) shared with the other

    -A system of photo files referenced on an external hard drive for our digital camera

    -An album to iCloud for digital camera (again, for the best DSLR shots) shared with each other

    With this configuration, we can display each other best shots on all Apple devices through the iCloud sharing feature, and you can see all of our DSLR photos without cluttering the internal SSD.  This system is also convenient when you backup using time machine (configured to capture the MBP and external hard drive), because only one instance of the photo should be saved.

    My only complaint is that files referenced photo can not be uploaded to iCloud photo library a user directly, even if the referenced files will be shown along the iPhone photos side in the Photos.app (hence the need for a DSLR iCloud photo album).

  • How to control the sequence of scanning channels in DAQmx

    I have an application written for the traditional DAQ C API that I need to convert to use DAQmx drivers. The application uses the SCAN_Setup function to create a canal complex analysis sequence of taste effectively at different rates on each channel and to vary the rate on one of these channels. The following example shows the sequence of sweeping strings passed as an argument to the call of SCAN_Setup chanVector:

    0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 3 0 1 0 2 0 3 0 1 0 2 0 3

    The sequence of I is synchronized with a waveform of the AO and is designed to measure response on AI0 from an external system to this waveform while taking other measures from other sensors at the same time: AI1, 2 and 3. This sequence provides a higher AI0 at the beginning of the wave sample rate.

    How can I do this using DAQmx?

    I tried to use a loop to make several calls to the DAQmxCreateAIVoltageChan function, one for each sample in the vector of channel, but the result does not seem to read the right channels in the correct order.

    Is there a problem with the addition of several times the same physical channel in the same task?

    Thanks for your help.

    Hi TradLuddite,

    Material of the series E have a specification 'size of the memory configuration' of '512 words', which means that they can sweep up to 512 unique physical channels. I would wait until a depth of 1000 causes the DAQmxStartTask() return an error. However, it may be possible to exceed this limit, if the scanlist consists only of the groups of the same size of the identical physical channels (where the entry terminal configuration limits are the same within each group), because the material is supported by a very simple form of compression scanlist. Material of the series M have a specification corresponding loads "scan memory list" 'entries of 4095', to a depth of 1000 would not be in this limitation on the M series.

    Definition of the data property of transfer mechanism is probably not necessary. DAQmx chooses a default value for this property, depending on the type of device and the type of calendar sample property. The use of DAQmxCfgSampClkTiming() to set the calendar type of sample to "Sample clock" will result in a mechanism for transfer of data by default "DMA", "USB in bulk" or "Pauses" depending on the type of bus (PCI/PXI, USB and PC Card, respectively). Not configuration synchronization (or by calling DAQmxSetSampTimingType (taskHandle, DAQmx_Val_OnDemand)) will result in a mechanism for transfer of data by default "set of I/o.

    What DAQmxRead() function are you? You specify DAQmx_Val_GroupByChannel or DAQmx_Val_GroupByScanNumber for the fillMode parameter? Have you checked the value returned in * sampsPerChanRead?

    Only repeated channels return incorrect data? It works when you repeat all the channels? Otherwise, maybe the terminalConfig parameter does not correspond to how signals are wired, you have ghosting, or there is a problem with the wiring for signals. It still works in NOR-traditional DAQ?

    Brad

  • How to assign different drive letter in the new hard drive?

    My hard drive for OS window is broken, which is the C: drive, so I buy a new HARD drive, but my original D: drive become a C: drive and new HARD drive is assigned with drive E:, I can't restore my Ghost in new HARD drive image, because the image is restored in the C: drive only.

    Anyone have any suggestions on how to assign different drive letter under cmd?

    Thanks in advance for your suggestions

    Hi oem7110,

    Follow the steps in the article.

    How to change drive letter assignments in Windows XP

    How automatically assign a drive letter by using the Diskpart.exe command on a Windows Server 2003-based computer or on a Windows XP-based computer

  • How to apply different fonts to text (words) in the same field

    Please help, how to apply different fonts to text (words) in the same field. I want to select text and apply the font, size and color on the selected text in the field, this code below, the setFont method changes all the text in a field (message) of a select statement to the police. Help, please

            message = new AutoTextEditField("","",maxNumChars,editableStyle)
            {
                protected void layout(int width, int height)
                {
                    super.layout(width, height);
                    this.setExtent(550, 250);
                }
            };
            message.setBorder(border);
            message.setMargin(xyEdgeForMargin);
            message.setPadding(xyEdgeForPadding);
            message.setFont(_menuFont);
    

    Just write your edit as field

    SerializableAttribute public class RichEditField extends BasicEditFields

    {

    int [] offsets = null;

    Are police [] = null;

    String text = null;

    RichEditField (label As String, String text, int [] offsets, make police [])

    {

    Super (label, text);

    This.Text = Text;

    This.Label = Label;

    Offsets = this.offsets;

    This.font = do;

    Add validation for offsets and text here

    }

    RichEditField (label As String, String text)

    {

    Super (label, text);

    This.Text = Text;

    This.Label = Label;

    This.offsets = {0};

    This.font = {g.getDefaultFont ()};

    Add validation for offsets and text here

    }

    / * Here is a method to add customization of fonts as

    setFont (offset, length);

    setFont (offset);

    public void paint (Graphics g)

    {

    g, Clear ();

    for (int i = 0; i)<>

    {

    calculate it according to x, y using offset

    int length = 0;

    g.setFont (do [i]);

    If (i<>

    length = offset [i + 1] - offset [i];

    on the other

    Length = Text.length () - offset [i];

    g.drawText (text.substring (0, length), x, y);

    Super.Paint (g);

    }

    }

    This method is not compiled may have errors and may have many features according to your needs.

  • How to apply different Skins in a single list

    How to apply different Skins in a single list

    See post on:

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/customized-list/TD-p/648335/page/...

  • Im trying to open the tutorial of 23 minutes on how to use different tools in photoshop and it continues to come with unable to resolve the DNS servers worked fine yesterday? Ive had creative cloud on my laptop for a week and still have not been able t

    Im trying to open the tutorial of 23 minutes on how to use different tools in photoshop and it continues to come with unable to resolve the DNS servers worked fine yesterday? Ive had creative cloud on my laptop for a week and not yet able to get past the basics make me very frustrated.

    I guess you meant the links when you open photoshop CC. I tested all four videos of the 23 min tutorial and they all played fine. If something between you and adobe does not work correctly.

    • Check that your firewall is blocking the net. Try to access youtube videos and see if they play very well
    • Go to the adobe tv site and try to play one of the videos here. Adobe TV
    • If youtube plays very well and adobe tv does not work, next is to check if you have flash installed. Some videos require flash, others are html 5. Sorry that I could not confirm what player has been used for this tutorial. I think that html 5 but not sure.
    • Next is to look at the properties of your browser and check multimedia settings are not disabled if it y in a. (this is totally dependent on the browser)

    If none of this helps, let us know.

  • How two A5 pages to be printed side by side on a sheet of A4 one?

    How two A5 pages to be printed side by side on a sheet of A4 one? I tried most of the ordinary printing options without success.

    Hi timt28645485,

    You can make a pdf and print from Acrobat. Under size Page and handling, you can print multiple pages per sheet. Your printer must be able to print double-sided.

    Click file > print > multiple > Pages per sheet > 2

    Let us know if you face any problem.

    Thank you!

    Shivam

  • How to manage different versions of a Web site?

    Hi guys,.

    I am new to Dreamweaver and I will recreate my static site in Dreamweaver 2015 CC using Bootstrap business. I wonder how to keep different versions of the same site for specific release dates (upload). I think it would be silly to keep and rename the copy of the entire Site on the hard disk for each version.

    Is there an elegant way to return to an older version of the Site when the changes (to index.html, *.css, etc.) go wrong? I read subversions (SVN), but instructions are to bypass access-rights teams and so on, which seems to be too complicated when there is no team but only one change and edit the same Web site.

    Use Ctrl + Z (win) to cancel the changes in your code as many times as necessary.  DW don't forget when you save a file, or a glimpse into the browser.  However, DW forget changes/story if you close the file.  In order not to close until you are certain that the changes you made has not break something.

    Do not try to work on too many things at once.  Patiently, work on one thing at a time.

    Make regular backups of your work.

    Go to file > save as page 1-a, 1-b page, page1-c if necessary.

    Nancy O.

  • How two put in e-mail addresses? by, separated or; separated? Thank you

    Hi, you can send an email to one person or several people, which gives them access to this file.

    How two put in multiple e-mail addresses? by distinct from , or ; separate? Thank you

    Marius Klabbers

    You can use any separator: a comma, a semi-colon, or even just a space. For example, you can enter:

    [email protected], [email protected]; [email protected] [email protected]

  • How you stack different photos in the layers of the editor palette

    How you stack different photos in the layers of the editor palette? I can get different photos in the editor, but I can't figure out how to get the different pictures in the layers palette at the same time.  Help, please!

    Click for photo 2 tab and press Ctrl + A (select all), and then immediately press Ctrl + C (copy)

    Click the tab for the 1 photo and press Ctrl + V (paste)

    Repeat for each successive image.

  • A7R HOW to ASSIGN DIFFERENT FUNCTIONS FOR FRONT AND REAR DIALS (only not on the position, but completely changed)

    A7R. "Front dial" and "rear dial.  In the menus, the operation of the front and rear dials can be changed between the shutter and aperture.

    BUT THE FUNCTION OF THE DIALS CAN BE CHANGED?  Example: I want the wheel before the shutter speed and the wheel back to be ISO.  Is this possible?  How to assign different functions to dials?

    The function of the dials are by default to the shutter speed and openness, and it is not possible to change. As an alternative, the camera has a fast browsing allowing you to quickly access common parameters and change them using the front dial featured. Please see the ILÇE-7R Help Guide for more information.

    If my post answered your question, please mark it as "accept as a Solution.

Maybe you are looking for

  • just intalled material external WD my book, but the update optional donload failed

    Update for drive external hard of WD has failed

  • Blu ray 80040265 Player error

    HP is really this big of a joke, I paid $900 for this lappy and there is a ton of features, it has been described in support, THAT IT's not! "I just tried to play a BluRay DVD for the first time," in the bluray player the lappy was equipped ', using

  • Page is not pressed in the Navigation pane.

    In the root of my project main qml item is NavigationPane and have three elements of the child Page hand. QML import bb.cascades 1.0 NavigationPane { id: navigationPane backButtonsVisible: true Page { id: firstPage Container { background: Color.Gray

  • How can I remove part of object?

    I think that it is a fairly simple thing to do, but I am a beginner in Illustrator. I am fairly comfortable in Photoshop, so I'll use Photoshop terminology to describe what I'm trying to do in Illustrator:Here's what I'm trying to do:I have an object

  • Oracle text for file based store system search

    We run Webcenter content 11.1.1.8 with 11g DB. We want to turn on the OTS (without HER) for research within the contents of the file. Issues related to the:(1) we use the file system as a store for the native content files. OTS will still work with t