Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to simulate arbitrary waveform express VI using data from excel spreadsheet?

I am using Labview 8.6.1.  I want to use the simulate arbitrary waveform express VI with data I have in an Excell spreadsheet, which can be saved as a text file.  I click on Define Signal and then Load Data, but the express VI seems to prefer a .lvm type file rather than a text file because it won't load the text file.  How can I convert the spreadsheet data into a form that will be acceptable to the simulate arbitrary waveform express VI?  Thanks.

 

 

0 Kudos
Message 1 of 4
(5,432 Views)

Hi, Epsilon-delta.

 

If the data in your spreadsheet has two columns and is saved as tab delimited text, then it can be written to an LVM file.  In LabVIEW, you can use the Write to Measurement File Express VI and Read from Spreadsheet File VI to convert your spreadsheet data into LVM data, as shown in the following screenshot:

Write_to_LVM.jpg

 I hope you're having a great day!

Regards,

Sara Lewandroski
Applications Engineer | National Instruments
Message 2 of 4
(5,411 Views)

Hello, 

 

 

How can I do that the simulation arbitrary signal upload the data file automatically?.

That it's to say , if I change the data in the .lvm file, how can i do to not upload the file in the simulate arbitrary signal properties again?

 

Do you understand me?

 

Thanks. 

0 Kudos
Message 3 of 4
(3,137 Views)

Hi Cristina,

 

I am a little confused on what you are trying to do. Is the LVM data that you are changing creating a waveform or being written to a new file? Which function are you using to complete this task? Look through the Context Help of the function you are using and see if the information you are looking for is in there. 

 

If you have further questions, it would be helpful to create a new forum post so that you get higher visibility since this one is 8 years old. 

 

Thanks!

Erika
Technical Support Engineer
National Instruments
0 Kudos
Message 4 of 4
(3,126 Views)