LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW MATLAB interface

Looking for a code to create Tecplot file from Labview data

I have simulated a sine wave signal in LabVIEW and saved it in a TDMS file.

In addition, I have made a MATLAB Script that opens that file and converts it into a .PLT format.

I wish to include the script in the Labview Code using MATLAB Script but am not able to run the script portion of the code.

 

Thanks in Advance.

0 Kudos
Message 1 of 2
(1,305 Views)

Please include your code in your post.

 

I'm not sure what you mean be "I am not able to run the script portion of the code." Do you mean you're experiencing an error? Are you looking for debugging help with the script, or next steps post-script execution?

 

You've introduced a race condition with your Write to Measurement File call and script call. Wire the error output from Write to Measurement into your script to ensure that your processing script will execute after you've written your data out to your file. 

Using Labview 2022, Windows 10
0 Kudos
Message 2 of 2
(1,205 Views)