What is the best way to change this program and to read 1 sample of each channel?

The initial program was conducted with NOR-traditional DAQ. I change it to DAQmx the best I could. The program, he is already the application of voltage to generate code (Daqmx Write.vi). But I have problems with the acquisition of tensions, give me readings rare (Daqmx Read.vi) I don't know if I have to make a (Daqmx start Task.vi) for each channel in the program or if I can make it work with a single. Notice I have no significant changes a lot because this program is already running in another lab, and they send us the program so we had no problems so much but rather than get the BNC-2090, they got the BNC-2090 is who uses DAQmx instead of the traditional. If anyone can help?

A BNC-2090 is just a connection block.  It has no effect on the question of whether you should use traditional DAQ or DAQmx.  Which is determined by the DAQ card that you are connected to the terminal block too.

You can refer to this document, differences between the BNC-2090 and connector BNC-2090 blocks has, but it's just saying to change the label of the Terminal Board to reflect the new DAQ cards.

What problems are you having with the new VI you just posted?  You get an erro rmessage?  I don't know what mean "rare readings.

You really shoud look at some cases DAQmx in the finder of the example.  Some problems that you are experiencing, is that your blocks of data acquisition are all kinds of disconnected.  Generally, you should connect the purple wire from your work function of creation, through the beginning, reading or writing, then the narrow task.  Many of your data acquisition functions are sitting there on the small islands now.  You should also connect to your son for the error.

With DAQmx, you should be combining all your analogue channels in a single task.  It should resemble Dev0/AI0... AI7.  Then use a sample of channel 1 N DAQmx read to get an array of the readings, you can then use array of index to break.

Other things you need to do is to replace the structures sequence stacked with flat sequence structures.  Turn on automatic growth for some of your structures such as loops.  At the end of the day, you might find, you can eliminate some of the structures of the sequence.

Tags: NI Software

Similar Questions

  • I'm moving my files to workspaces to cloud.adobe.  What is the best way to achieve this?

    I'm moving my files to workspaces to cloud.adobe.  What is the best way to achieve this?

    Hi Traci,

    So big that you get ready for the transition to cloud.acrobat.com! Please see that the specified item was not found. For more detailed information on downloading your files.

    When you open a session workspaces, however, you will see a big red box at the bottom left. Click this box, and your files will be packed to the top for you. You will receive an email with the instructions when the packaged files are ready for you.

    Best,

    Sara

  • I have an After Effects project and I want to re-do edge animate. What is the best way work for this?

    I have an After Effects project and I want to re-do edge animate. What is the best way work for this?

    Hello

    Sorry, but you will probably need to rebuild everything in Animate. Although their timelines are similar in some ways, there is no interoperability between After Effects and animate dashboard.

    Kind regards

    Joe

  • What is the best way to change the size of a design?

    I have an announcement in A4 format and need to change it to a bunch of different sizes, what is the best way to do it? Just making it smaller does not work because the text that it becomes small to read.

    Erica Gamet gave a great presentation on this topic (which creates several sizes of an ad in InDesign) to my user group earlier this year. There are two messages for Erica who explains how to put in place:

    http://creativepro.com/understanding-liquid-layouts-part-one/

    http://creativepro.com/understanding-liquid-layouts-part-two/

  • What is the best way to detect this text is part of the ContainerControllers without scrolling?

    Hello.

    Question

    What is the best way to detect that the text typed by the user (or added programmatically) exceeds the available space container and find where the truncated part begins? There are others (as described below) highlights the easy way to detect or to prohibit controllers to receive more characters that can be displayed in the area of publication given?

    My attempt partially (Simplified)

    For example, lets say I have a textflow editable with joints two instances of ContainerController.


    var flow:TextFlow = createSomeFlowFromGivenString(sampleText),
        firstController = new ContainerController(firstSprite, 100, 30),
        lastController = new ContainerController(secondSprite, 600, 30);
    
    
    flow.interactionManager = new EditManager(new UndoManager());
    flow.flowComposer.addController(firstController);
    flow.flowComposer.addController(lastController);
    
    flow.flowComposer.updateAllControllers();
    

    Vertical scroll policy enabled I can compare the height of the composition in the last controller with the height of the content:

    var bounds:Rectangle = lastController.getContentBounds(),
        overflow:Boolean =  lastController.compositionHeight < bounds.height;
    
    trace('Content does not fit into given area?', overflow)
    
    

    But when I change of vertical scroll policy off (lastController.verticalScrollPolicy = ScrollPolicy.OFF)-Unfortunately this does not work anymore... (In my case scroll must be disabled, since the text boxes can have only one line with narrow width)

    Use cases

    I want to create the form to fill out. Field can have one or more lines. A field could start in the middle of the page, continue in the following line, where it spreads throughout the page and put an end to the third line - long quarter of the width of the page. Text typed by the user may not exceed given the region since it could cover some static text that is located just after in below field.

    Something like ascii image below:

    --------------------------------------------
    |                <PAGE>                    |
    |                                          |
    |                                          |
    |                                          |
    |               [Field starts here........ |  
    | ........................................ |
    | ........................................ |
    | Ends here..]                             |
    |                                          |
    |                                          |
    | [Another field] xxxx  xxxx xxxxxxxx x xx |
    | xxxxxxxxxxxxxxxxxxx                      |
    |                                          |
    |                              [One more.. |
    | .....]                                   |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    --------------------------------------------
    

    Info:

     [......]  <-- form fields starts with '[' character, and ends with ']'
     xxx       <-- sample, static text
     | and _   <-- page borders
    

    If you want to detect the overflow in the final container, there is another thread discussed before.

    http://forums.Adobe.com/thread/795264

    You can detect it with lastContainerController.absoluteStart + lastContainerController.textLength «»<>

  • I'll do a clean install on a blank hard drive upgrade but want to keep my Firefox settings - what is the best way to do this?

    I'll do an upgrade from Windows XP to Windows 7. I will be installing Windows 7 on a new empty hard drive. I want to keep my bookmarks Firefox and Ad Ons. What is the best way to do it. Thank you for your help.

    Hello

    The best thing for you to do is to make a backup of your Firefox profile. It is a folder that stores bookmarks and Add-ons that you can then add to the reinstalled Firefox on your new operating system.

    Learn you more about the Firefox profile folder, how to backup and restore, here.

    I hope this helps, but if not, please come back here and we can look at in another option for you.

  • What is the best way to change a column type in the materialized view?

    Hello my dear friends,.

    I want to change a column type in a materialized view. VARCHAR2 NUMBER, so what do you recommend? What is the best way to do it?

    Thank you

    You can not change the data type of the column while there are data in the MV, so you might as well give up and recreate the MV with a TO_CHAR() around the column in question in the application of MV to get the data exactly as you want (be sure to include an appropriate format mask). That said, I'm fighting to think reasonable grounds to make such a change.

  • What is the best way to achieve this?

    What is the best to do the following?

    Form1 lists items that have a cost value

    Form2 is a form of invoice

    What is the best way to export goods of a value of cost of form1 to form2?

    A user would be making selections of point in form1 and save the form, and then send it or export data.

    Then form2 would retrieve the selections point of form1 and display cost values that I can sum up at the end of the form2.

    Thanks in advance for any advice!

    Hello

    If both forms have the same objects to the items and the same names, then export to xml of form1 and import of xml in form2 should work.

    Data in the xml file that does not match the names of the objects to form2 will be ignored.

    In both forms, objects that you want to export/import must have their liaison, the normal/name of the object value > Bindings tab.

    Niall

  • I replace a website done previously before Page with a new site that I built in Dreamweaver, but wants to keep the URL address, what is the best way to achieve this?

    I replace a site is at the top with a new website that I'm building in Dreamweaver, but want to keep the same URL which is the best way to go about this?

    If you want to keep the same hosting provider, you have nothing to do. Just delete the old files of the site and download your new.

  • What is the best way to change hosted on Bluehost site BC. but keep existing accts e-mail on BlueHost?

    My client currently has their old site and multiple e-mail accounts hosted by BlueHost. We are past to welcome his new Web site (created by Muse) on Business Catalyst, but they want to keep their existing e-mail accounts on BlueHost account. At first, I changed the names of servers on Bluehost so the site will host in British Colombia, but then noticed that their emails.

    I found some conflicting info but trying to research the best way to do it: they say that, so that email is not affected and continue to exist with BlueHost, I need to create a record on Bluehost with server names BC while the new site is in British Colombia. Another forum I found said I should change the name servers, and then add an MX record in Business Catalyst (but wouldn't that affect their current emails?). Thanks for all the tips on how to do it. I'm quite new in British Colombia.

    You just need to edit the record

    https://my.BlueHost.com/cgi/help/a_record

    Point web traffic in British Colombia only.

  • What is the best way to import my address and e-mail of Pegasus in Thunderbird?

    I use Windows 7 x 64. I have a number of files and many electronic addresses in the Pegasus Mail client. I'm looking to migrate to Thunderbird. Can you tell me the best way to move my files to Thunderbird?

    Thank you
    Allen Hill

    For your address books, can export you to a format such as CSV?

    To move e-mail messages, the cleaner is to use the IMAP protocol. Then your new client look just the same files you had in Pegasus.

    Unfortunately, email clients tend to use their own systems of storage of e-mail owner and there is no commonly used standards that could help to transfer between clients. If you can export files in mbox format, then Thunderbird can use.

  • What is the best way to change the elements of the array (without copies of the table)?

    Hi all

    I am new to Labview, so I'm sorry for the newbie question.

    I'm using Labview check parts in an assembly as a precursor to the test. For my 'list' I create an array of clusters, with the cluster containing a string for the part number and a Boolean value if the latter has been analyzed. I read in my parts list, and then I add on behalf of the party to each cluster in the table. I don't want to do multiple table if possible copies. The code below does not work - I've had the 'matrix' (my Checklist) outside the while loop, because I assumed that the box of items inplace should not output. The cluster created in the inplace elements is correct, but the 'picture' does not change.

    Any help woud be appreciated, I would have preferred a simpler solution elements inplace if possible (once again without making multiple copies).

    Concerning

    Ray

    You do not show the rest of the code, but I'm guessing that your "matrix" is never initialized with all values. Thus, 'replace' will not work since you can't replace an element that does not exist. If the case you are showing is supposed to be the initialization of the table (and based on what you say, it seems as if this is the case), and then abandon the inplace structure. All you need to do is automatic index of your array of strings and just do this:

  • What is the best way to create this image?

    Hi, I use Illustrator CS5 and I don't know there is a pretty easy way to create this image just steps from copy/recovery... However, I can't understand.

    Any suggestions?

    Thank you!

    wheel.jpg

    If you use a brush, you can make a model reusable and adjustable teeth. For example, you can apply it to any path of the form and can adjust the number of teeth by changing the weight of the race.

    JET

  • What is the best way to get this layout of the chapter?

    I have a document which is now a large flow of pages.

    However, there are "chapters, in this 'book'. A 'chapter' actually starts on the right page. But I want the left page to participate in the design of the spread of the beginning 'chapter '. This means that left before the start page real "chapter" is reserved in control of layout and all "chapter" before that would end on a left page, needs a right-hand page empty inserted, after which the left page of the early-'chapter' spread follows.

    Now, I can do the pages on the left of the start "chapter" start a section and to correct even a page number. That it is positioned on the left side. But when I add pages from the previous section, this means I have to change the page numbers of the beginning of all the sections that follow hand.

    Are there not a better way to do this? Somehow I don't have to worry about the numbering of the pages myself while still getting the page before the "chapter" included in the section of this "chapter"?

    (I write "chapter" because these aren't chpaters Id in an Id book, but a few sections in a single document Id).

    If the previous "chapter ends with a page of pairs (left hand), you add two pages, if it ends on the right add you a..

    Another way to do this automatically is to set an Option to keep on the paragraph style that you use for the first paragraph on the page at beginning of chapter, then it will start the section on the next odd-numbered page.

  • What is the best way to change the color of the first word in a paragraph?

    I have a lot of paragraphs where I want that the first word to keep the same font, the size, the type - but I want to change just the color of the lettering.

    I suggest to do this:

    (1) change your BC 4567000000 to the following line:

    4,567,000,000 BC - name derived from Hades.

    (2) add the following line after the top of the page:

    . first-word {color: red ;}}

    Note the period in the above code.

    The top of line will now look like this:

    H1 {make-size: 200%; do-family: "Comic Sans MS"; color: #66FFFF; text-align: center ;}}

    H2 {make-size: 100%; do-family: "Comic Sans MS"; color: Red ;}}

    p {make-size: 100%; do-family: "Comic Sans MS"; color: #EEEEEE ;}}

    . First-word {color: red ;}}

    Alternatives are almost similar to this one but try this one and then come back and demand the implementation of alternatives.

Maybe you are looking for