I am trying to create a noise source in multisim, so I decided to create a source from a file. The problem is that the file has to be in tdm format, which I cannot seem to get. Any help would be appreciated!
You can create a DataPlugin (see ni.com/dataplugins or use the DIAdem DataPlugin Wizard) to read your txt file. Then use the "Convert to TDM or TDMS VI" from the Storage/Dacan taPlugin VIs Palette to convert the file to TDM.
You can try to make an LVM file out of your txt file (see LVM spec) by adding an LVM header on top and use a LVM source instead (please consider changing seperators accordingly, please note Delta_X (see red marks)):
X_Value Sine Comment
I think doing the LVM is easier then, thank you. Once I add the header to the top of my text file, how could I convert that file to lvm format?
I wrote a vi to convert my comma delimited oscilloscope data and then plot. You should be able to modify it for any delimiter you choose from within the Read From Measurement File Express VI.
Thanks that really helped and I got the right result on the scope. For some reason, however, when I upload the tdms file to the tdms source on multisim, it is not outputting the same thing as it is on labview. Could you help me out with that?
Sorry, my mistake. I just noticed you were looking to convert to .tdm. My vi converts text file to .tdms file (purely binary data). Your application requires a .tdm file which has an xml header (from my understanding anyway). This is almost certainly the reason for the discrepancy. I don't have the vi in front of me, but I will see if I can easily modify the vi to output .tdm when i get back to the office tomorrow.