Progress of asynchronous data TDMS wrote for LabVIEW RT

Hi all

I save data in many channels TDMS files.

Data record should be done on a real-time target OR SMU 8135 with LabVIEW RT operating system.

The data of all channels of the recording in a cycle time of 1ms.

Question: What Advanced TDMS mode should be better suited for this task? Sysnchronous or asynchronously?

It seems that the advanced TDMS asynchronous logging is not supported by LabVIEW RT? Is this true?

Thank you.

Rahul

Hello Rahul,

Advanced asynchronous PDM are not supported on RT.

Best regards

Christoph

Tags: NI Software

Similar Questions

  • Is there an Excel to TDM plugin for LabVIEW 2009

    I downloaded the Excel to TDM plugin and could not run. Dialog error usiReg said "this configuration file was created with a new version of the ICU and can not be used with the software you have installed." I installed LabVIEW 2009 SP1 and the .net version is 4.0. Y at - it another version of the 9

    the plugin I can use? Is there something else I can do, or am I just out of luck, until I update?

    Hello

    the functionality to open Excel files has been added to the ICU starting with version 1.8. However, the ICU in the manner described above upgrade you will register to use ExcelTDM and make it available through the _openWithRoot.vi in LabVIEW 2009. Simply install or DIAdem 2010 NI LabVIEW 2010 as a demo version.

    Please see also the comments from readers on the page of ExcelTDM use, a client has requested the use of using Excel in older versions of DIAdem:

    ExcelTDM use

    Greetings,

    Uwe

  • Dashboard of data for LabVIEW with ad-hoc wifi?

    Hello

    We have a laptop and we run a LabView control and acquisition of data on this subject program. We would like to have access to some of the values of the "indicators through an android tablet, so during an operation manual tap on our facilities, we could see remotely what happens with some measured values in our application LabView.

    The ethernet port is not available on this laptop, it is used for a sensor. It has wifi and bluetooth adapter. What would be the easiest solution to access the LabView app on this laptop from the Android device by using the "dashboard of data for LabView" android app? For security reasons, this laptop can't access internet, but of course, we could all just put a near wireless router (and not connect to the internet), and the laptop computer and the android Tablet access the same wifi network. I guess it should work, Yes?

    Or is it possible to make a connection to wifi ad-hoc between the laptop and the Tablet and use the DataDashboard? Anyone has any experience with such a solution?

    Last question: or what a Bluetooth connection? Might work?

    Thanks a lot for the tips!

    Kind regards

    Hi man,

    I recommend you connect your tablet as you described.
    _________

    |                   | ---> Network---> sensor cable

    | DAQ App |

    | Windows | ---> WiFi---> gateway---> Tablet

    |                   |

    ---------------

    I don't think that it is possible to use the Bluetooth with the application of the dashboard of data for Android. I can't find any information on Bluetooth, only for the WiFi.

    Best regards, Stephan

  • Data for LabView - Motorolla RAZR dashboard

    When view LabView, the Android Market data dashboard tells me, 'your device is not compatible with this item."

    I have a Motorola RAZR.  Any suggestions?

    Hello duane,.

    At that time, dashboard of data for LabVIEW is available on shelves.  In addition to the Apple iPad and iPad 2, Android tablets only under 2.3 or later are supported.  To support the Tablet 7 '' Android, we had to make some design changes.  It should be even more changes due to the small size of a phone.  We might consider a version for phones based on the popularity of the application on each platform and the information received in return.  For more information, see the product page or the LabVIEW Web Interface Builder and data dashboard discussion forum.

    Grant M.
    Senior Software Engineer | LabVIEW tablets | National Instruments

  • 2651 a conversion of TSP Script for LabVIEW

    Hello

    I have a problem on the conversion of all TSP scripts that contain functions and appeal for the end loops. I'm new to the TSP with models of trigger scripts. I used the Script Builder (TSB) Test tool and am able to run any TSP and generate raw data, but I don't seem able to convert most of the codes in the command of LabVIEW VISA or loader LV TSP TSP and run it to generate data... I can't find any tutorial or examples how to do it.

    Let's say that... Use the example of KE2651A_Fast_ADC_Usage.tsp (pulse) and I'll just focus on the portion of function CapturePulseV (pulseWidth, pulseLimit, pulseLevel, numPulses). I have seen a few examples of LV that says loadscript myscript and close on endscript.  I did a lot of different approaches, and I kept getting errors in particular the print function that I am not able to generate data through LV by to read the data in the buffer to inside the instrument. Some approaches, I have had no errors but no data... Some approaches, I got error-285.

    The part of the code TSP pulse that works in TSB is here (I'm not including loadscript and endscript) and what is the RIGHT way to modify the code for LabVIEW and run it and obtain data? Thank you:

    function CapturePulseV(pulseLevel, pulseWidth, pulseLimit, numPulses)
        if (numPulses == nil) then numPulses = 1 end
    
        -- Configure the SMU
        reset()
        smua.reset()
        smua.source.func            = smua.OUTPUT_DCVOLTS
        smua.sense                  = smua.SENSE_REMOTE
        smua.source.rangev          = pulseLevel
        smua.source.levelv          = 0     -- The bias level
        smua.source.limiti          = 5     -- The DC Limit
        smua.measure.autozero       = smua.AUTOZERO_ONCE
    
        -- Use a measure range that is as large as the biggest
        -- possible pulse
        smua.measure.rangei         = pulseLimit
        smua.measure.rangev         = pulseLevel
    
        -- Select the fast ADC for measurements
        smua.measure.adc            = smua.ADC_FAST
    
        -- Set the time between measurements.  1us is the smallest
        smua.measure.interval       = 1e-6
    
        -- Set the measure count to be 1.25 times the width of the pulse
        -- to ensure we capture the entire pulse plus falling edge.
        smua.measure.count          =
                        (pulseWidth / smua.measure.interval) * 1.25
    
        -- Prepare the reading buffers
        smua.nvbuffer1.clear()
        smua.nvbuffer1.collecttimestamps    = 1
        smua.nvbuffer1.collectsourcevalues  = 0
        smua.nvbuffer2.clear()
        smua.nvbuffer2.collecttimestamps    = 1
        smua.nvbuffer2.collectsourcevalues  = 0
        -- Can't use source values with async measurements
    
        -- Configure the Pulsed Sweep setup
        -----------------------------------
        -- Timer 1 controls the pulse period
        trigger.timer[1].count          = numPulses - 1
        -- -- 1% Duty Cycle
        trigger.timer[1].delay          = pulseWidth / 0.01
        trigger.timer[1].passthrough    = true
        trigger.timer[1].stimulus       = smua.trigger.ARMED_EVENT_ID
    
        -- Timer 2 controls the pulse width
        trigger.timer[2].count          = 1
        trigger.timer[2].delay          = pulseWidth - 3e-6
        trigger.timer[2].passthrough    = false
        trigger.timer[2].stimulus       =
                    smua.trigger.SOURCE_COMPLETE_EVENT_ID
    
        -- Configure SMU Trigger Model for Sweep/Pulse Output
        -----------------------------------------------------
        -- Pulses will all be the same level so set start and stop to
        -- the same value and the number of points in the sweep to 2
        smua.trigger.source.linearv(pulseLevel, pulseLevel, 2)
        smua.trigger.source.limiti      = pulseLimit
        smua.trigger.measure.action     = smua.ASYNC
        -- We want to start the measurements before the source action takes
        -- place so we must configure the ADC to operate asynchronously of
        -- the rest of the SMU trigger model actions
    
        -- Measure I and V during the pulse
        smua.trigger.measure.iv(smua.nvbuffer1, smua.nvbuffer2)
    
        -- Return the output to the bias level at the end of the pulse/sweep
        smua.trigger.endpulse.action    = smua.SOURCE_IDLE
        smua.trigger.endsweep.action    = smua.SOURCE_IDLE
        smua.trigger.count              = numPulses
        smua.trigger.arm.stimulus       = 0
        smua.trigger.source.stimulus    = trigger.timer[1].EVENT_ID
        smua.trigger.measure.stimulus   = trigger.timer[1].EVENT_ID
        smua.trigger.endpulse.stimulus  = trigger.timer[2].EVENT_ID
        smua.trigger.source.action      = smua.ENABLE
    
        smua.source.output              = 1
        smua.trigger.initiate()
        waitcomplete()
        smua.source.output              = 0
    
        PrintPulseData()
    end
    
    function PrintPulseData()
        print("Timestamp\tVoltage\tCurrent")
        for i=1, smua.nvbuffer1.n do
            print(string.format("%g\t%g\t%g",
                                smua.nvbuffer1.timestamps[i],
                                smua.nvbuffer2[i],
                                smua.nvbuffer1[i]))
        end
    end
    

    I finally solved it myself! I first create support shell, according to the documents, but the problem was with functions of scripts but I solved by introducing VISA separate, feature writing and THEN retrieve the data from the instrument directly by VISA buffer read more. I did TSP_Function Script Loader that allows simply copy/paste codes teaspoon (any * .tsp) of: TSB program or incorporated into this type of function and loader.vi, name (parameters), defined by its own pasted script then it will generate RAW files directly in the array of strings that can be broken into pieces or restructured into what you want as for the graphics, etc..

    That's all I really need to do, I can do codes of tsp in LV and get the data off of it easily via the function defined. Now, this Loader.VI behaves in the same way that TSB keithley-made program I use.

    Here I add Loader.vi Script TSP_Function (in LV 2011 +).

  • Sends data from LaunchPad MSP430G2553 Labview

    Hi all

    So, I have a MSP430G2553 LaunchPad and I want to be able to send data to Labview via USB to UARTusing.

    What I do in the MSP430G2553?

    Well, I wrote code that whenever I press a button on the LaunchPad it I send hollow text USB using UART. Using a program on my PC that monitors my serial port, I can confirm that, whenever I press the button, the text comes to the PC. I was also able to send commands to the monitor (it has a 'send the command' field) to the MSP430. If the connection works fine, between LaunchPad and PC.

    What I did in Labview?

    On the piece attached "" Labview_MSP430. "» JPG"you can see my code. Whenever I click on the "VISA resource name" there is no COM. It is said that "Refresh", and even when I click on it nothing happens. As you can see in the file "Device_Manager.JPG" PC can see my device in COM3 MSP430.

    So my question is, what should I do for Labview can see my device COM3/MSP430G3553? And then, my correct code so that it can read the port series?

    What is important is that the com port is visible in MAX (Measurement and Automation Explorer) and for the port is visible, you must install the driver NI-VISA.

    In your code, you must also add the VISA configure the Serial Port. Replace the VISA open with her. Inside the loop, you should not use VISA bytes to the Serial Port. The msp code must be set up to add a newline of endpoints (i.e.) and simply set the number of VISAS read of bytes to an arbitrarily high number. Playback will be automatically terminated when the character is detected.

  • Support for LabVIEW 2016

    Can someone tell me what VirtualBench drivers will be available for LabVIEW 2016?

    Release date is... right now! NOR-VirtualBench 16.0, with the help of LabVIEW 2016, is available here:

    (My apologies for yesterday, does not but it takes a little while to download pages to go live.)

  • What type of support for labview usb protocols?

    Hello guys I want to connect a device to your pc via a usb port and I want to use labview to analyze the data.

    But first of all, I would like to know what usb protocols support for labview.

    USB, USB CDC and other TMC?

    I ve read labview recognizes a raw device to the usb, but what is? Is it VI to read and send data, or I have to do? If these VI exists, they do the handshake? flow control?

    Thank you.

    Please read the chips and have a look at the USB specification (it is linked to in the nuggets).

    TMC, CDC, MAss Storage are all built on the basic USB protocols.

    LabVIEW has no built-in support for one of these classes of devices except Test and measurement.

    Shane

  • How to get the date of deployment for the RT code?

    I'm using LabVIEW 8.5 and MAX 4.4.1f0 and cFP-2110. I want back the date of the deployment. Is it possible to recover the date of deployment for the RT code?

    Thank you

    Martine

    Hi John,.

    You must be able to FTP into your PSC 2110 from a Windows Explorer window and check the date of 'Change' of the startup.rtexe/or-rt/startup folder.

    Aaron P

    National Instruments

    Technical sales engineer

    http://www.NI.com/support

  • 1208fs for labview 10 usb connection problems

    Hello
    I'm relatively new to Labview and just improved labview 10. I used 6.1 before and had no problems using my mcc Board of 1208fs USB to run experiences before. I tried to connect even to labview 10 on my new computer, and the only thing that will connect to the instacal is. Ive plugged throu instacal, but is not visible in the list of I/O that selects the channel to use. Any help would be appreciated.

    Thank you!
    Andrew

    By the way, my os is windows xp

    Andrew,

    MCC daq devices have a different set of drivers for LabVIEW 8.2.1 LV versions and newer.  See http://www.mccdaq.com/daq-software/universal-library-extensions-lv.aspx this is ULx.

    I have one of the devices USB-1208 and discovered very recently this issue when I wanted to use it in a LV 8.5 application I wrote.  The new driver is actually nicer and DAQmx drivers a little resembles the way you use them.  While the former pilots of the Universal Library for older versions of LabVIEW looked like using traditional DAQ hardware drivers of OR.

  • use data tpye I64 in labview 7.1

    Hello

    I update a former program and must use data tpye i64 in labview 7.1, but only support labview 7.1 i32.

    So how to use i64 in labview 7.1, thanks for your help.

    Sonic

    Hey sonic.

    as LV7.1 does not support 64-bit by default integers, you could

    -store 64-bit entities in a cluster containing a high and a low 32 bits longword

    -make your own mathematical routines (unless the +, -, *, / are easy to incorporate) emulating math 64 bit with 32-bit integers

    -Read papers on how old 8-bit processors emulated math whole 32-bit...

  • can I create a DLL file for labview that has DLL library with inside?

    Hello everyone,

    I am developing an application for the cards PCI devicenet in labview (beginner to labview) environment.  Is there a DLL file for the PCI card from the provider. But it's too complicated for a beginner to call each function in the DLL of labview. Therefore, I'm trying to re - use a VC ++ program (working properly) that calls some sellers DLL library functions.    To do this, I created the DLL file which includes all headers and libraries the provider DLL, as indicated in the attached figure. But I couln can't see the effect on the device. is it possible to create a DLL file for labview that has DLL library with inside? If this is not the case, how can I implement the program shown in figure?

    I would like to wish a huge as to advance.

    It is not something I have a lot of experience in so I don't know all the details of the restrictions or requirements etc - but it is certainly possible to create wrappers for the dll and then use them in LabVIEW - this is sometimes necessary to convert some native types/data structures in C/C++ into something that you can switch to your other DLL LabVIEW.

    There is a link here: http://digital.ni.com/public.nsf/allkb/06ECDC689DDA0F3D862574440074CD95

  • You looking for LabVIEW Keysight/Agilent/HP 6634 B drivers

    Hi all

    I tried seraching everywhere but I can't find drivers for labview for power supply Keysight/Agilent/HP 6634 B. The only ones I can find are for the 6xxxA series, but not the series of 6xxxB.

    If anyone has or knows where to find them, I would be very grateful!

    Thank you

    You are in error. This is indeed the driver LabVIEW, class IIA type. If you don't like that this driver calls dll, as I wrote above, you could simply create your own driver following the information of the SCPI, located in your device manual package...

    If you want to use the driver, follow these steps:

    1. Download and install the package corresponding to your version of LV IVI: http://search.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/n8:3, ssnav:ndr / sb / - nigenso4-...
    2. Restart the PC
    3. Install the driver of the IVI of the site: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E947E659CE034080020E748... (direct link to the exe: http://sine.ni.com/apps/utf8/niet_download_id.log_ids?p_profile_id=1270941&p_doc_id=E3B19B3E947E659C... )
    4. Enjoy:

  • Implement the Std::Vector < < Point2i > > Std::Vector in dll wrapper for LabVIEW

    Hi, I'm writing a wrapper dll that using OpenCV function. I had been sucessfully implement Std::Vector by referring to "An array of clusters to a dll C sending".

    And now, I want to implement the Std::Vector<>> who is a lot like table 2D but each line items may be different.

    In LabVIEW, I attribute a range of cluster of the dashboard cluster of 2 I32 elements, structure which is shown below:

    I think it has the same functionality as Std::Vector<>> in C++.

    So I plug this data on the "Call library function node" structure and generate C code that indicated below:

    /* Call Library source file */
    
    #include "extcode.h"
    
    /* lv_prolog.h and lv_epilog.h set up the correct alignment for LabVIEW data. */
    #include "lv_prolog.h"
    
    /* Typedefs */
    
    typedef struct {
        int32_t elt1;
        int32_t elt2;
        } TD4;
    
    typedef struct {
        int32_t dimSize;
        TD4 elt[1];
        } TD3;
    typedef TD3 **TD3Hdl;
    
    typedef struct {
        TD3Hdl elt1;
        } TD2;
    
    typedef struct {
        int32_t dimSize;
        TD2 elt[1];
        } TD1;
    typedef TD1 **TD1Hdl;
    
    #include "lv_epilog.h"
    
    void funcName(TD1Hdl arg1);
    
    void funcName(TD1Hdl arg1)
    {
    
        /* Insert code here */
    
    }
    

    Then, I write this code show below in dll wrapper:

    void funcName(TD1Hdl Blobs)
    {
        vector < vector > blobs;
    
        // Distribute contents of blobs to Blobs from LabVIEW
        MgErr err = mgNoErr;
        size_t arraySizeInBytes = Offset(TD1, elt1) + sizeof(TD2)*blobs.size();     // Determine row size
        err = DSSetHSzClr(Blobs, arraySizeInBytes);
    
        if (err != mgNoErr)
            return;
    
        (*Blobs)->dimSize = blobs.size();
    
        for (size_t i = 0; i < blobs.size(); i++) {
            arraySizeInBytes = Offset(TD3, elt) + sizeof(TD4)*blobs[i].size();  // Determine col size of each row
            err = DSSetHSzClr((*Blobs)->elt[i].elt1, arraySizeInBytes);
    
            if (err != mgNoErr)
                return;
    
                    /*......................*/
            }
    }
    

    When I call LabVIEW dll, the program get interuption(i.e shutdown) on line where I want to determine the size of each row.

    Could someone give me some suggestions on this subject or promote another application of this requirement?
    Thank you very much.

    MgErr funcName(TD1Hdl Blobs)
    {
        vector < vector > blobs;
    
            Labeling(image_binary, blobs);         // the prototype of this function is: Labeling(Mat &binary, Vector> &blobs)
    
        // Distribute contents of blobs to Blobs from LabVIEW
        MgErr err = mgNoErr;
        size_t arraySizeInBytes = Offset(TD1, elt) + sizeof(TD2)*blobs.size();      // Determine row size
    
            if (contours == NULL)        {                Blobs = (TD1Hdl)DSNewHClr(arraySizeInBytes);                if (Blobs == NULL)                         err = mFullErr;        }        else                err = DSSetHSzClr(Blobs, arraySizeInBytes);
            if (err != mgNoErr)                return err;    for (size_t i = 0; err == mgNoEerr && i < blobs.size(); i++) {
            arraySizeInBytes = Offset(TD3, elt) + sizeof(TD4)*blobs[i].size();  // Determine col size of each row
    
                    if ((*Blobs)->elt[i].elt1 == NULL)                {                        (*Blobs)->elt[i].elt1 = (TD3Hdl)DSNewHClr(arraySizeInBytes);                        if ((*Blobs)->elt[i].elt1 == NULL)                                    err = mFullErr;                }                else               err = DSSetHSzClr((*Blobs)->elt[i].elt1, arraySizeInBytes);
                    if (err == mgNoErr)                {                        (*((*Blobs)->elt[i].elt1))->dimSize = blobs[i].size();
    
                            /*......................*/
    
                    }
            }
            (*Blobs)->dimSize = i;        return err;}
    

    Personaally I've usually done like this. Already, the tar of DSSetHSzClr() indicates if there was something wrong and that the handle cannot really become NULL to call this function.

    To be entirely correct and safety integrated, you must do more than that. But as long as you assume that the incoming picture is always smaller that the outgoing Board will be (usually it be 0 items when you enter this function, but if you reuse sort table in the diagram, by storing it in a registry change for example, this may not be true more) this will be enough.

  • Problem setting Legacy DAQ board using NOR-DAQ 6.1 for Labview

    I know that the Board of Directors is an old legacy product not supported by NEITHER, however for a low-budget project, I have 3 of these AT-MIO-16 x cards and the need to use them.

    I know I got this job in the past not distant os, however, for the life of me can't get things sorted and work.

    You use a NT box, in which this configuration used to work... uninstalled and started fees for other reasons, and I can not get the NOR-DAQ 6.1 to support LAbview 6.1 or 7.1.

    Of course, I understand the OR-DAQ 6.1 should be used for Labview 5 and older, but also know this has been successfully done in the past.

    I downloaded all knowledge base articles dozed or both support and remember to use successfully the last time that I set up so I know not somehow it works.

    My configuration is: AT-MIO-16 X to the bus combo board (called work)

    NT PC

    LabVIEW 6.1 or 7.1

    NOR-DAQ 6.1 is the most recent to support this card.

    However, it will not install its support to its latest versions of Labview and I get errors, crashing, or missing files, when I followed various circumvention of knowledge base solutions.

    I was hoping that someone has a documentation somewhere how to handle this, because it really is a matrix of spaghetti.

    I can get NOR-DAQ support files installed, and Configuration Manager works well, finds the map and allows its parameters to be defined.

    But when I load the DAQ vi of any type, Labview accidents and the wizard of data acquisition channel does not work at all (no error).

    Thank you

    Yes, the installation program from the folder of disks for NOR-DAQ 6.1 on the ftp site has worked well.

    Workaround. Thank you

Maybe you are looking for

  • How can I increase the font size in gmail? Outgoing and incoming emails.

    Written as well as outgoing e-mail messages are too small. How can I increase the size on iPad?

  • Need driver Lan for A40-SP150

    Hello friends I need drivers for this laptop LAN and Wireless Lan for win XP Help me please my email is himesa dot hn-joseph Thank you

  • Satellite Pro U400 - 12 p - multimedia controls an indicators

    I have questionhttp://www.NotebookReview.com/assets/32826.jpg How to set up this indicator shortcut?Always when I use then, stop, play, previous work and then only with wmplayer, but I want to use in winamp,When I reconfigure this media with the whit

  • Tecra A8 fingerprint sensor does not work correctly

    I bought a laptop Tecra A8 which has as security option touchchip fingerprint coprocessor. He worked only 8 days and then have not read my fingerprint. By device mananger I uninstalled and reinstalled drivers auotomaticlly and was the message to the

  • Could not find NIFgen functions

    I tried to integrate labview code nor-5450.  Initially, I tried the IVI Fgen functions to speak with the unit.  I used the Fgen soft front panel to communicate with thin devices, and I ran OR spy to get an idea of what goes on behind the front panel.