LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting csv files to signals

I need to convert this csv file to an analog signal.  The timing and magnitude need to be exact

0 Kudos
Message 1 of 31
(6,423 Views)

Sorry my internet browser was messed up here is the file

Download All
0 Kudos
Message 2 of 31
(6,417 Views)

So, what have you tried? You are showing an image of an Excel file so save it off as a text file and read it with the Read From Spreadsheet File.

0 Kudos
Message 3 of 31
(6,409 Views)

I've tried alot of the signal generation options, and the simulate arbitrary signal vi, but that requires that you enter in all 100000 points.

0 Kudos
Message 4 of 31
(6,360 Views)

That has nothing to do with your question about reading from a file and if you are talking about the express function, your statement is not even true.

0 Kudos
Message 5 of 31
(6,349 Views)

Well I know you can load .lvm files, but how do I convert the .csv to a signal?

0 Kudos
Message 6 of 31
(6,337 Views)

I already told you how to read the file. The essentials of a signal/waveform consists of a y array and dt value. You showed both of those in the Excel file you had. You will get a 2D array from the read so just use the Index Array functions.

0 Kudos
Message 7 of 31
(6,332 Views)

@ishironagasaki wrote:

Well I know you can load .lvm files, but how do I convert the .csv to a signal?


As Dennis already stated, use the Read From Spreadsheet File VI.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 31
(6,329 Views)

Yeah, I know I have to use the read spreadsheet vi, but after I read the spread sheet I have to convert the array to a signal.  I'm having trouble on finding the right signal generation vi.

0 Kudos
Message 9 of 31
(6,320 Views)

Have you tried the build waveform?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 10 of 31
(6,310 Views)