TDMS v2.0 connection XNET

Is there a reason TDMS v1.0 is used in the examples of LabVIEW 2012 NOR-XNET?  TDMS v2.0had some improvements in LabVIEW 2009.  No reason to not take advantage of this?

Hey LVB,

You are right. We would like our examples to work out of the box with all versions of LabVIEW that are supported in this particular version of the driver. Until very recently, the XNET driver supported versions of LabVIEW 8.6. Since PDM 2.0 was not delivered with LabVIEW 2009, we left the examples using TDMS 1.0 files in their current state. Now that the latest versions of the XNET driver do not extend back support more than 2009, the examples will be updated TDMS 2.0 in the future releases of XNET. I filed for CAR 398225, if you want to know when the examples are updated. Thanks for bringing to our attention and have a nice day!

Tags: NI Products

Similar Questions

  • Recovering files TDMS with DIAdem connectivity library

    I was in the situation where my application dies and I have unsaved TDMS files. I need to recover the data in them.

    The logic of file is mysterious. For a file, I have three: *. PDM, *. TDMS_Index and *. TDMS ~. The last one is always the largest, so I suspect it's my data, as well as scaffolding maybe. If I save and close my account, I'd end up with a well trained PDM file. Unfortunately, my client is to kill my request so I don't ever have a chance of correctly, save and close the file. Yet, I need to recover the data. Is there a magic I can do to recover my data?


  • Problem of ECU MC PXI-8513

    Hello

    I created a LabVIEW tool that implements XCP on CAN. I have a SHIELD, and my tool works very well with a NI 9862.

    Now, I transferred my software to another system with the PXI-8513. A normal CAN communication with XNET is working (rest bus simulation), but the command of 'CONNECT' XNET goes to timeout error-301096, and after that, I see only the frames of error in the bus monitor.

    What is the difference about the ECU MC between 8513 PXI and cDAQ 9862? Any idea?

    Madottati

    Please check the termination can:

    Physical layer CAN and termination Guide - National Instruments
    http://www.NI.com/white-paper/9759/en/

  • Encrypting data by connecting to tdms files

    Hello

    The project I'm working on that saves its data in tdms files.

    But it is necessary to protect the intellectual property of the data, so that the client wants the encrypted data.

    Does anyone have a suggestion regarding best practices for encrypting the files in data/PDM?

    THX

    Ben Engelen

    TDMS is not a built-in encryption feature. There are several options as to how you can manage encryption.

    1. You could write a TDMS files unencrypted to the disk and encrypt it using a 3rd party software (e.g. PGP).
    2. You can use a file encrypted hard disk, partition or container you write directly the TDMS file (TrueCrypt is a good choice for this).
    3. If you consider the temporary presence of a dangerous unencrypted file, you can also encrypt all the relevant parts of the file (names of properties and vales, raw data) within your application LabVIEW and then write to PDM. Of course, you then have a player application that implements the decryption.

    Hope that helps,

    Herbert

  • I want to connect an iMac 2009 end to a 5K iMac using target disk mode. I have several related questions.

    The display on my 2009 iMac has stopped working two years ago and I replaced the machine with an iMac of 5 K. At the time I realized that it was not possible to connect the two machines in disc mode target but today I heard the Thunderbolt-Firewire adapter and started to pursue the investigation.

    The hard drive on the iMac 2009 has worked when I he turned on last 2 years ago, but I couldn't see stripped lines colored screen.

    1. is it possible to restore a Bluetooth for the keyboard and mouse when I don't see what is happening? (I removed a long time ago the batteries to store them.)

    2 do I need to use a mouse and a keyboard on the older iMac if all I want to do file transfer between two iMacs using the 5 K as the master of the machine? I expect that the answer is yes because I need to hold down the T key as I start the older iMac in order to Target mode, but could someone confirm it's inevitable? (Where Q1.)

    3 others managed to make the connection in similar circumstances, with a Thunderbolt-Firewire adapter? Is it that I have to be wary?

    Thank you.

    Will of Percy

    Will,

    Unfortunately the target Display Mode will not work with iMacs Retina display. Apple will explain TDM and which machines, it is compatible with the use of your iMac as a display with the target - Apple Support Display Mode

    In addition, he will explain what wiring is necessary.

  • MacBook Air, iMac 24 inch connection

    Hi guys,.

    I have a MacBook Air c.2011 and my partner just to buy a version of 2016 - both running OS X Yosemite. I also have a 24 inch iMac c.2009 sitting on office desk at home (also in the Yosemite running). We want to be able to to connect/cradle our laptops on the iMac so we can use the larger screen as the computer of the reception, access to data and files on laptop computers.

    After extensive online research, the only way I can see it working is - port thunderbolt out of Macbook to the Firewire 800 port on the iMac.

    Problem is that I had trouble finding (a) a firewire cable in all good electronics stores because they are obsolete or (b) a port adapter male firewire/woman lighting.

    Does anyone have any ideas or suggestions?

    Please read carefully use your iMac as a display with the target - Apple Support Display Mode. You will see that the iMac is too old to use TDM. Sorry for the bad news. You can search for software solutions however performance is very poor.

  • iMac darkens when in display mode using target (TDM) and the lack of brightness slider!

    Hi all

    I use a MacBook Pro (13 "to end 2011) and iMac (27", by the end of 2012). Both are up to date, running El Capitan 10.11.5. They are connected with a thunderbolt cable in order to use the iMac as a second screen (TDM).

    Now, when I press CMD + F2 to the iMac, iMac gets used as second screen as expected, but it goes really dark! He's not black, you can still see the desktop but on a sunny day, it's really hard to see anything. Now, it's pretty embarrassing, but the second part of the question makes it a pain in the *. When the iMac is dark, I always go to the system preferences and open the settings for the display. I can see a window with the parameters for the iMac, but there is no cursor for the brightness! There is no way to make it brighter!

    The only solution is to disable the target (CMD + F2) just display mode to enable it again after a few seconds. Sometimes I have to activate the TDM twice but sometimes it takes 4 or 5 loops toggle just to see the brightness slider!

    Here is a screenshot of the settings without the cursor window

    And that's what it looks like after a few loops, and then I can adjust the brightness.

    Any ideas why this happens? Any advice on a possible solution? Why - what is darkening the iMac? Why is the cursor missing?

    Best,

    Stephan

    There are other topics on this issue, like the one below. One of the workarounds suggested is to use shades free app: http://www.charcoaldesign.co.uk/shades

    Unable to control the brightness in target display mode

  • What is a substitute for the migration assistant? I tried in vain for three hours to migrate files from a macbook pro to each other so that even if connected with the ethernet cable the computers never see each other.

    What is a substitute for the migration assistant? I tried in vain for three hours to migrate files from a macbook pro to each other so that even if connected with the ethernet cable the computers never see each other.

    You can connect otherwise?  USB or FireWire or love at first sight?  You can connect both machines and start the one you want to transfer to target disk mode.  If your other machine is up and running with an account on it and you just want to move files, you can simply drag and drop the FRO the machine mounted TDM, or you can use the migration wizard.

    Or, if the other machine still starts and runs, you can start both computers and connect to the same wifi network and share the hard drive like machines on the network.  Access them in the finder on the new machine files and drag-and - drop, or use the wizard migration, on wifi.

  • Need help for reading in parallel on the same interface and writing XNET

    Hello. I need help to configure CAN interface to write and read from the same interface.

    I use NI PXI-8513/2. I use CAN1 as interface.

    My had TO send status messages CAN every 100ms. I have to read in order to return akntoowlege to keep DUT CAN interface happy and not make mistakes.

    So, I want to open Strim Session and readall frames in the loop. At the same time, I need to be able to write in a frame HAD at the time...

    I only need to read one picture at a time too, but since I know the ID, I can pull it from the stream.

    What I'm confusing all is how to put in place the same CAN1 interface to be able to write and read in parallel.

    I think I would get errors that interface is already in use.

    Since I'm new to CAN, I was read and write only when necessary. But, sometimes I was getting errors on my messages. Sometimes I get message, sometimes miss me. But, when I run CAN test criminal as sniffer he sends and written every time. I was told it's because it recognizes all messages.

    I opened to suggestions of how best to implement the interface.

    I guess I can use CAN2 and separator to work around this problem, but I would use an interface if possible.

    Thank you

    Hi Rus,

    The XNET hadrware takes care of most of the low level of detials for you. The reading and writing of the circuits are both connected to the bus at any time. When you write to the hardware it will try to put a frame on the bus at the first opportunity he can. If the frame loses arbitration material re - will attempt to send the frame up is successful. Reception equipment monitor activity on the bus, regardless of what it conveys. The material received will usually throw a framework that was sent by communication equipment, but there is an Echo property pass to circumvent this behavior too.

    Take a look at the example of the expedition: MAY-> NI - XNET-> Sessions-> multiple Sessions Intro-> CAN even exit entry framework Port unique Point.vi. Keep in mind that this example you will need to use a second CAN interface to recognize frames, it transmits. I would recoment against the example CAN output Frame Single Point which would mimic your ECU if you choose a type of cyclic frame running this example.

  • Impossible to deploy the database of NOR-XNET to target RT PC

    Hello

    I am trying to deploy a XNET database to a target RT PC simply by following the tutorial here: http://digital.ni.com/public.nsf/allkb/9847EF6F2D867BC186257DCE00626236

    However, when I click on deploy nothing happens; I get no error message and the database alias does not appear as present in the aim of RT (the entire list is empty for the RT target). If I run my code, he complains about the database not being is not present, so I don't know that it isn't here.

    I checked with Max OR and target a NI-XNET 1.6.0 installed. I'm using LabVIEW 2015. I have no problem connecting to the target. I tried an another new database created with LabVIEW 2015, without going. I tried to disable the Windows Firewall as suggested in a similar position (http://forums.ni.com/t5/Automotive-and-Embedded-Networks/Unable-to-deploy-NI-XNET-Database-to-RT-Tar...), but that no longer works.

    Help!

    Thank you

    Hello

    It seems that I have the latest version of XNET on my target and the crowd at the beginning, but just to try something I did the following:

    • I have reinstalled XNET on the target using NOR-MAX. I had to uninstall dependency package "nor-xnet for NI-CAN compatibility library", before doing this.
    • I have uninstalled and installed the last XNET on target as well.

    After that, things worked!

    Thank you

  • Read error-getdatatype TDMS

    Brief history on my project.  I have a PXI system configuration to read signals from DSA devices, Series S, and an encoder.  I use matlab to make calls to functions in libraries NI DAQmx and nilibddc.h.  I collect the data and the flow of data on the disk with the ability to view data during the acquisition.  Acquisition occurs for almost a minute plus 37 channels to 100ksamp/sec.  So the. TDMS files are quite large.  I synchronize my systems by some sort of configuration of the hybrid master slave device.  I use auto-sync in all types of similar devices, and to synchronize the different types of devices, I use the sample clock and start to trigger a DSA device to synchronize my other devices.  Since I use the automatic synchronization of the. TDMS files can have anywhere between 1 or 20 channels in a single file.  This makes a very large file and Microsoft Excel import does not cut because of the limitation on the size and the time it takes to load.  So I use the nilibddc.dll to read data from files which seems to be fairly smooth so far. I did not attempt to read a file with a minute of a data value but the worst case I can read the data file chunks at a time so I'm not terribly worried about it.  My problem occurs when I read my file data .tdms containing my encoder data.

    The part where it inhibits is is my function calling for DDC_GetDataType.  Now when I use my code to read data from the analog .tdms file it works well and does what I want it.  The error I get for my counter of the signals is an error unexpectedly (-6204.)  Now what is interesting is when I use labview 2009 on another computer, I can read the files without a problem.  I'm guessing that my labview 2009 uses different libraries however.  For example, when I read the file in labview, I go to the range of functions, choose file/o, PDM in streaming and use either read the .tdms or PDM Viewer function.  When I'm on my main computer, I use a call to the DIAdem connectivity library, that I downloaded from OR. Microsoft excel importer also seems to be hung in the same place (getdatatype).  I found this to inspect the log file, it creates when I try to read it.  Any help would be appreciated.  I have attached the error log I get the .tdms microsoft importer.  I've also attached a sample file .tdms with the position of encoder in it data.  If trying to open outside of labview, don't be fooled if she tells you that there is no data available.  It is, by using labview 2009, you can read all the 500ksamps without problem.  Using PDM viewer or reading tdms atleast.  Thank you.

    Hello-

    I wanted to preface what follows with the fact that I assume that you are using the TDM C DLL downloaded here.  If this is the case, the following should solve things for you - if not, please let me know where you got the ddc library of.

    Unfortunately, the TDMS dll which is downloaded from the link above is a little outdated and contains the bug you reported.  I created an internal action query to update the download with the version the most recent available to us.  In the meantime, I have attached the tdms dll needed to solve the problem for you.  You should not use the attached dll to replace the dll in ".\Dominonilibddc\dev\bin\\tdms_ebd.dll".

    A potential problem here is if you use the merge modules included to redistribute your product.  If you are, we will need to get some updated modules as well merge - please let me know if this is the case for you and what is the level of urgency.

    Please let me know if this does resolve the problem for you.

    Thank you-

    NickB

    National Instruments

  • XNET Cluster to the gross framework

    Are there functions in X-NET that allow you to convert between different types of CAN frame the formats? In particular, I'm looking to try logging frames in a PDM file and for that I need to convert my images in Raw format (a table of such U8s documented in the help of LV).

    I was hoping that it might be a feature that will allow me to convert between CAN clusters of Frame and Raw format, before I go ahead and write my own?

    You deserve a kudo.  I had no idea this feature exists and it sounds cool.  It seems you want the VI will be here.  But I'm not sure how to operate the conversion settings, default probably will work

    \Examples\nixnet\NI-XNET and Logfile.llb\NI - XNET Frame & Log - frame conversion convert .vi frames (CAN on Raw)

    EDIT: oh and it appears that some special properties may need to be set on the channel as seen in this VI.

    \Examples\nixnet\NI-XNET and Logfile.llb\NI - XNET Frame & Log - frame conversion set up TDMS channel for Write.vi

  • root properties in the connected data store: error when accessing the date/time storage

    When you browse the properties my connected data store I get an error message when you try to read the value of the property of 'storage date/time': object doesn't support this property or method.

    Here is a minimal example:

    Dim oMyDataStore, MyProperty, oMyProperties
    Set oMyDataStore = Navigator.ConnectDataStoreByParameter ("TOC", "" & "C:\Program Files (x 86) \National 2012\Examples\Data\Example_data.tdm" & "" ')
    Set oMyProperties = oMyDataStore.RootElements (1). Properties
    For each MyProperty in oMyProperties
    Call MsgBoxDisp ("property name:" & MyProperty.Name & + "\n"&"property value:" & MyProperty.Value "")
    Next

    Why can I not access this particular property by default?

    Hi Phex,

    for the date/time properties, an object called UsiTimeDisp is returned. This object allows to that extend features of service as access to each part separately (day, year, hour, seconds,...) of your date/time value. If you want to print the value of time with MessageBoxDisp, you can use the VariantDate this object property.

    Your code might look like this then:

    Dim oMyDataStore, MyProperty, oMyProperties
    Set oMyDataStore = Navigator.ConnectDataStoreByParameter ("TOC", "" & "C:\Program Files (x 86) \National 2012\Examples\Data\Example_data.tdm" & "" ')
    Set oMyProperties = oMyDataStore.RootElements (1). Properties
    For each MyProperty in oMyProperties
    MyProperty.DataType = eTime Then
    Call MsgBoxDisp ("property name:" & MyProperty.Name & + "\n"&"property value:" & MyProperty.Value. ' ") VariantDate)
    On the other
    Call MsgBoxDisp ("property name:" & MyProperty.Name & + "\n"&"property value:" & MyProperty.Value "")
    End If
    Next

    I hope this helps.

    Good day

    Eva

  • TDMS-2519 error

    Hello

    I have a code that worked fine before, but doesn't seem to be no more (always frustrating). I think that the change came new versions of NOR-RIO on the cRIO 9074 I'm using, but not sure.

    The problem is that trying to "open/create" a TDMS file I get an error-2519, and it does not seem to connect with the cRIO.

    This problem only occurs when under the cRIO since I can use the same code in a project that has implemented to datalog a bunch of random numbers generated by the computer.

    Any idea of you all have would be great!

    Thank you

    Jake

    Hey Jake,

    Looks like you had an error during installation.  You can try to repair your installation of LabVIEW, or go to your installation DVD and install the component TDSM.msi, once again to try to fix the PDM file.  The file will be in \Products\TDMS\tdms\tdms.msi

    Please let me know how that turns out.

    Thank you

  • Opening of TDMS files larger than 500 MB in LabVIEW

    Hello

    We were faced with a problem when opening files TDMS connected using a LabVIEW, PDM Viewer (the vi in palette Advanced TDMS) application, or by creating a new PDM vi player. The recorder app is built using TDMS functions in palette file.

    When the TDMS files are everywhere higher than 500 MB or the application hangs or crashes. It can sometimes give full error memory.

    I browsed the forum and found the screws to split large TDMS files into smaller files and then open them. The other option is to use NI DIAdem. Currently, we use the option of the tiara. We do not want to modify the application to split the files into smaller sizes.

    I'd like to understand why this is happening for files of these formats. I can easily play TDMS of 100 or 200 MB files.

    The configuration of the system plays a role in the present? How is it that DIAdem can open the file and cannot LabVIEW?

    request explanation

    Thank you

    Freelance_LV wrote:

    [..]

    What I want is to know if upgrade to Win 7 and LV 64-bit will solve this problem, without cut it files each time, or use the TDMS vi Viewer.

    More likely since the channel data is placed in a very wide range and fragmentation of memory makes it very hard on 32 bit with LV 32-bit OS. Another thing that could be a problem on your 32 bit LV: display data as it creates a copy of data. So maybe the original data of the channel can hold in memory, but tries to display it sweeps away memory.

    Another thing for 32-bit applications is to check the largest block of data you always free. Use tools like VMMap for your request of fragmentation of memory snapshot.

    As I wrote already, a generic application 64 bit triggers the limited "insane" values depending on the operating system like Windows 7... still, there are limits.

    Norbert

    EDIT: The link of Windows 7 go to the physical memory table on the whole system. This does not reflect the virtual memory available to a single process. Scroll down to the table "and address space limits of memory" a virtual memory figure that can be assigned to a process 64-bit on Win7 x 64. The value is 8 to...

Maybe you are looking for