Need help in converting Traditional DAQ subvis to DAQmx configuration

i need to convert these vis (of traditional NI DAQ) to be used with a new DAQ card that supports only NI DAQmx.
please help me in this..
Can i use the same traditional NI DAQ VIs with NI PCI 6221??  if so how can I? does this device can be configured for traditional NI DAQ??? 
Kudos always welcome for helpful posts
Solved!
Go to Solution.
Attachments:
traditional ni daq vis to daqmx.jpg ‏1857 KB

NI has several resources to help move from tradtional DAQ to DAQmx. A good place to begin is the Getting Started page. There is a tutorial on how to transition. There is also the compatability VIs that replace certain traditional DAQ functions with wrappers around DAQmx functions. The DAQ example you posted is pretty trivial and really should not take much time to convert once you get a basic understanding of DAQmx.

Similar Messages

  • I need help in converting a pdf to a fillable form in my adobe

    I need help in converting a pdf to a fillable form in my adobe

    "Adobe" is a company. If you mean "Adobe Reader" then you can't (at least not easily). You need Adobe Acrobat for that.

  • Need help in converting numbers to Italian text

    Need help in converting numbers to text in Italian language. I want to knw is there any method other than SE63 to translate these text in one shot. I have tried with LSMW also (as the sheet is in XLS format ).Plz reply if anyone is aware of this ..

    hi,
    chk this code.
    CALL FUNCTION 'SPELL_AMOUNT'
    EXPORTING
    amount = amount
    currency = 'EUR'
    filler = ' '
    language = 'E'  => give the language as italian
    IMPORTING
    in_words = amountrs.
    rgds
    anver
    pls mark all hlpful answers

  • Need help in converting date format

    Hi,
    Need help in converting date format from 'DD-MON-YYYY' to 'YYYY-MM-DD' in an .rtf template as I believe xml publisher supports the date format as 'YYYY-MM-DD' only.
    Thanks,
    Raj.

    I got the same problem, anyone know how to solve this problem? I allready found some date functions on http://blogs.oracle.com/xmlpublisher/2008/09/date_functions.html . I also tried <?xdoxslt:month_name(xdoxslt:get_month(xdofx:substr(NEED_BY_DATE, 4,3)), $_XDOLOCALE), 0, 'nl-NL')?>, but then it returns a namespace error (Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'xdofx' used but not declared.). Anyone know how to fix this?
    Edited by: user11165753 on 7-dec-2009 23:50

  • Need help in converting DAQ to DAQmx

    Hi,
    I've struggled with coverting traditional DAQ to DAQmx for two weeks. I really need help from someone.
    As you can see the picture below, I've tried to replace the old VI's with new ones. But, it doesn't work. Of course, the VI below is just a part of my VI. VI's after case structure are inside of while loop.
    Could you please give me thought that why it doesn't work?
    FYI: The strange thing about it is that it runs without any error messege, but there is no actual output (values on the graph, data in arrays, etc).  
    Thanks in advance.
    Best,
    Jay
    Solved!
    Go to Solution.
    Attachments:
    Untitled 1.vi ‏74 KB

    Hi Jay,
    Assuming that the Traditional DAQ and DAQmx code are screenshots from separate VIs, I believe that the following parameter of the read functions in each driver would account for the different behavior that you are seeing (you have both set to -1):
    Traditional DAQ:
     DAQmx:
    So, when you give DAQmx Read a -1 for "number of samples per channel" when running a Continuous task, the effect is that it will return whatever data is available at the time DAQmx Read is called.  In your case this is immediately after the task is started so there very well could be 0 samples available in the buffer.  I'd imagine that you would see data if you change the value of this parameter from -1 to the actual number of samples that you want to read.
    Having said this, if you want to acquire continuously you should call DAQmx Read from inside a loop.  I agree with the others that you should take a look at the DAQmx shipping examples to help get started, you will probably find something very close to what you want to do.  You can find the examples at:
    Help >> Find Examples... >> Hardware Input and Output >> DAQmx
    Thanks for posting, I hope this helps!
    -John
    John Passiak

  • Need help to convert SQL MSSQL statement to work with PL in ORACLE

    Hi All,
    I have the trigger below and it worked on MSSQL server for windown and
    I really need your help to convert this trigger to work on PL/ORACLE:
    create trigger deleteLD
         on tablea for delete
    as
    set nocount on
    begin
         declare @tablename varchar(100)
         declare @dropSql varchar(50)
         select @tablename= dataset from deleted
         set @tablename = 'LD_' + @tablename
         set @tablename = @tablename + 'UTMSTATS'
         if exists (select * from sysobjects where name = @tablename)
         begin
              set @tablename = 'drop table ' + @tablename
              EXEC (@tablename)
         end
    end
    GO
    Your help is greatly appreciated.
    Thanks,
    JP

    not sure if this is something that you want:
    Create Or Replace Trigger deleteLD
      Before Delete on tablea
    Declare
      vCtr          number := 0;
    Begin
    select count(*)
       into vCtr
       from all_tables
      where table_name = :new.tablename;
    if vCtr > 0 then
       dbms_utility.exec_ddl_statement('drop table '||:new.table_name);
    end if;
    End;note: not tested

  • I need help to convert hours,minutes and seconds to seconds.

    Hi, I need help with the code on how to convert the hours,minutes and seconds to seconds. I don't know which formula to use so that I can get the results in total number of seconds. Thanks.

    Jos ("when in doubt: parenthesize correctly")Bracist.You're more right than you'd known: last week I climbed over a safety
    fence (which I wasn't supposed to do of course) to adjust the position
    of an optical measurement device we installed in a huge production
    machine in a factory. I stepped on some sort of hose; the end of that
    hose broke loose and hit me straight in the middle of my lower jaw. My
    front teeth feel wiggly now and my molars on the left of my lower jaw are
    not what they used to be. This Wednesday I get that all fixed at some
    dental clinic. Keep your fingers crossed because me+dentists == war.
    My tongue continuously keeps on reporting craters and disaster ;-)
    Jos, how's it going? Besides a possible loss of some teeth, I'm fine ;-)
    My Spring/Hibernate journey continues. I'm trying out Hibernate 3.2
    annotations and the Ant tools. So far, so good.Good to hear. At the moment I'm putting my teeth (sic) in that darn snmp
    stuff which simply refuses to work the way I want it and besides that I'm
    heavily involved in some of that SAP stuff. Spring is not in the vicinity for
    me in the next couple of months sadly enough.
    kind regards,
    Jos

  • I need help to convert photos in the .swf format to a format that will open on iOS

    I need help converting photos in the .swf format to a format that will work on my Mac.  Thanks

    SWF is a Flash file that should be able to be opened with your web browser on your Mac. Probably not on iOS though.
    You will likely need to find the source file for the application that created the SWF and the image will be in that. You could then export/extract the image and have it as a stand alone file.
    It does look like there are applications that can do what you are looking for though: https://www.google.com/search?q=SWF+to+JPG

  • I need help to convert a string to date and time

    Good aft,
    1.How can i get a date from the user input thro' Frames?
    2.How to parse it to the date object(I need to include java.util.Date but for the database i need to include java.sql.*,if i do so, i have error as
    found:java.util.Date
    Required:java.sql.Date)
    3.How to insert into the database
    The same i need help to insert time into database?
    I need solution and explanation...
    Reply me immediately...
    If u send me the code, its better to me.

    Hello,
    The best way is to use the HEX to decimal coversion VI in the string pallette. Then, write this decimal directly to your chart. If you are doing it a point at a time put it into a while loop.
    Doug

  • Loader (Need help to convert from AS3 to AS2)

    Since I know this code works fine and that I use it into one of my AS3 flash, I need it in one of my AS2 flash and I don't know how to adapt it. I've searched in over 100 threads and I can't find something similar... Thanks to help me get it to work in AS2! Since I need it in AS2, I thought it would be the right place to post it.
    I posted all the loading process code, but I would need help mostly with the Loader part. How to do it in AS2? Thanks!
    var img = 0;
    var image_total = 0;
    var myImages_array:Array = new Array();
    var myBitmaps_array:Array = new Array();
    function Init();
    // Images urls are loaded into an array before this call
    LoadImage();
    function LoadImage()
        if (img < myImages_array.length) // img is the current image index and myImages_array is my array of URLs
    // I need help with this part please
            var loader:Loader = new Loader();
    // returns the image full path and load it
            loader.load(new URLRequest(my_site_url + myImages_array[img]));
            loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
        else
            if (count == 0)
    // When everything's loaded, I'll start loading my Bitmaps into a small slideshow
                count += 1;
                init_slideshow();
    function imageLoaded(e:Event):void
        var image:Bitmap = e.target.content;
    // Bitmap manipulation here (removed)
        image_total = myBitmaps_array.push(image);
        if (img < myImages_array.length)
            img += 1;
    // Call next image
            LoadImage();
    function init_slideshow():void
    // Reserts the current index for the first one
        img = 0;
    // Start the slideshow since everything's loaded
        animate_slideshow();

    If you look at the Flash help documentation for the addListener metod of the MovieClipLoader class, there is an erxample there that you should hopefully be able to work from.  It will be better if you get your stuff coded into AS2 before you pursue more help with it.  IT is difficult to tell you how to fix something if you don't show what you are using.

  • Does NI PXI-6259 support both Traditional DAQ and NI-DAQmx of Labview 7.0 Express?

    I need to buy a Multifunction DAQ board which will be supported by both the Traditional and NI-DAQmx of Labview 7.0. Is the NI PXI-6259 appropriate for such application?
    Thank you.
    Ujwal

    M-series boards are not supported by Traditional NI-DAQ. Stick with the E-series if you require Traditional support.
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • I need help with Mavericks Server: an error occurred while configuring your server.  I

    I need help with Mavricks Server, I get the following: an error occurred while configuring your server.  I have deleted the Server.app several times along with the associated com.apple and Server folder.  Any more help would be appreciated.

    There are usually some log files around, related to the installation.  See if Console.app (Applications > Utilities) shows anything relevant to the error, when you've done a fresh install of Server.app and tried the configuration.

  • Change traditional DAQ code to DAQmx code

    Dear sir/madam,
    I am in trouble.
    This code is written using traditional DAQ but I want to chane DAQmx version.
    I do not know how to code using DAQmx because traditional DAQ is very different for DAQmx.
    Especially, ' AO clock config.vi' of traditional DAQ is what does this fuction.
    I can not know how to change it.
    Please advice.
    Bill,
    Attachments:
    version.vi ‏21 KB

    Look at Transition from Traditional NI-DAQ to NI-DAQmx in LabVIEW

  • Need help to choose a DAQ for simultaneous sampling

    We need to choose a DAQ for simultaneous sampling. The restrictions are:
    a) 2 channels
    b) The signals on both channels are not continuous. A valid input on the channels is signaled by a falling edge in a third line that can be used as a trigger.
    c) The rate of these signals can be up to 50000 per second but they do not arrive in a periodic way.
    d) The timing:
    The trigger is a pulse of 600 ns
    The signals on the channels are stable 200ns before the leading edge of the trigger pulse and remain stable for 900ns.
    We have seen the PCI-6143 but we are not sure if it is the best choice.
    We have some questions:
    1) Does the 6143 fulfill the timing requirements ?
    2) Is it posible and easy to set the board to take one sample after the trigger ?
    3) Is there a better choice than the 6143 to solve the problem ?
    4) Can we solve this problem programming in VB or VC++ and using the software that comes with the board or do we need to buy extra libraries ?

    1) Does the 6143 fulfill the timing requirements ?
    Yes, the 6143 should fulfill these requirements. It has a 250 KS/s sampling rate per channel which should give you 5x oversampling at the 50 kHz maximum bandwidth you indicated. The minimum delay from the recognition of the trigger to the first sample on this board is 100 ns which falls within the 900 ns window.
    2) Is it posible and easy to set the board to take one sample after the trigger ?
    It's not clear to me whether you want to take a single sample after a trigger and stop or use the trigger as an external sample clock to acquire several samples at the rate of the trigger. In either case, it's possible and relatively easy to do so. The only quirk is that the minimum number of samples to acquire for a hardware timed acquisition is two samples. This means if you really only want one point after the trigger, you'll have to setup the hardware to acquire two samples and then throw the second one away in software.
    3) Is there a better choice than the 6143 to solve the problem ?
    This seems like a pretty solid choice for the application you described. However, you didn't mention what the amplitude of your input signals are. The 6143 has a fixed +/- 5 volt range. If this isn't sufficient, you'll have to provide signal conditioning or choose a board with a wider input range. Also, I'm assuming your trigger signal is a TTL signal. If it's an analog signal, you'll want to choose a board with an analog trigger circuit (the 6143 doesn't have an analog trigger). The PCI-6111 is a 2 channel board with a +/- 42 volt input range, an analog trigger, a 5 MS/s sampling rate, and will also meet all of your requirements. The only down side of the 6111 is that it is more expensive and is a 12 bit converter instead of 16 bit. The PCI-6120 has even more functionality than the 6111 and has a 16 bit converter at 800 KS/s. PXI has some more simultaneous offerings, but I'm assuming you want to stick with PCI. You can also check out some of our modular instrument offerings such as the PCI-5102. I'm not as familiar with the modular instruments, so you'll have to check out the specs for yourself. Whether there is a better choice or not is pretty subjective. That will depend on how much you're willing to spend for the features and specs you really care about. From the information you provided, the 6143 will be the lowest cost solution that meets the requirements you specified.
    4) Can we solve this problem programming in VB or VC++ and using the software that comes with the board or do we need to buy extra libraries ?
    The DAQmx driver provides interfaces to both of these programming environments at no extra cost.

  • Need help for converting c# encryption code to javascript

    I have this below code in c# i need to convert it into nodejs i would really appriciate some help in this.
    Rfc2898DeriveBytes passwordDb2 = new Rfc2898DeriveBytes(passphrase, Encoding.ASCII.GetBytes(DeriveSalt(grains)));
    byte[] nonce = passwordDb2.GetBytes(NonceSize);
    AesManaged symmetricKey = new AesManaged { Mode = CipherMode.ECB, Padding = PaddingMode.None };
    _encryptor = symmetricKey.CreateEncryptor(_nonces[0], null);
    public byte[] Encrypt(byte[] plainText, int blockIndex)
    byte[] nonceEncrypted = new byte[NonceSize];
    byte[] outputData = new byte[_chunkSize];
    _encryptor.TransformBlock(_nonces[blockIndex], 0, NonceSize, nonceEncrypted, 0);
    for (int i = 0; i < _chunkSize; i++)
    outputData[i] = (byte)(plainText[i] ^ nonceEncrypted[i % NonceSize]);
    return outputData;
    public byte[] Decrypt(byte[] encryptedText, int blockIndex)
    byte[] nonceEncrypted = new byte[NonceSize];
    byte[] outputData = new byte[_chunkSize];
    _encryptor.TransformBlock(_nonces[blockIndex], 0, NonceSize, nonceEncrypted, 0);
    int index = 0;
    for (int i = 0; i < _chunkSize; i++, index++)
    if (index == NonceSize)
    index = 0;
    outputData[i] = (byte)(encryptedText[i] ^ nonceEncrypted[index]);
    return outputData;
    Currently i have the below code from what i understood (I am quite new to nodejs)
    var crypto = require("crypto");
    var nonce = crypto.pbkdf2Sync(passphrase, "grains", 1000, NonceSize);
    _encryptor = crypto.createCipheriv('aes-128-ecb', binkey, "");
    _decryptor = crypto.createDecipheriv('aes-128-ecb', binkey, "");
    Encrypt: function (plainText, blockIndex) {
    var nonceEncrypted = [NonceSize];
    var outputData = [_chunkSize];
    var crypted = Buffer.concat([_encryptor.update(plainText), _encryptor.final()]);
    for (var i = 0; i < _chunkSize; i++) {
    outputData[i] =(plainText[i] ^ nonceEncrypted[i % NonceSize]);
    var x = new Buffer(outputData);
    return x;
    Decrypt: function (encryptedText, blockIndex) {
    var nonceEncrypted = [NonceSize];
    var outputData = [_chunkSize];
    var decrypt = Buffer.concat([_decryptor.update(encryptedText), _decryptor.final()]);
    var index = 0;
    for (var i = 0; i < _chunkSize; i++, index++) {
    if (index == NonceSize)
    index = 0;
    outputData[i] = (encryptedText[i] ^ nonceEncrypted[index]);
    var x = new Buffer(outputData);
    return x;

    Maybe, you should post to the Javascript secition of the ASP.NET forum.
    http://forums.asp.net/

Maybe you are looking for