cancel
Showing results for 
Search instead for 
Did you mean: 

spreadsheet string to digital waveform

SOLVED
SIVA_M
Member
Solved!

spreadsheet string to digital waveform

Message contains an attachment

Hi,

 

I want to read a text file (which has 16 bit 2D boolean data) and convert to digital waveform. I am getting error while using spreadsheetstring to digital VI. I have attached my program and text file. Please help me...

 

 

Thanks,

Siva

4 REPLIES 4
Highlighted
GerdW
Knight of NI
Solution

Re: spreadsheet string to digital waveform

Message contains a hyperlink Message contains an image

Hi Siva,

 

you should really read the context help for that function:

"spreadsheet string contains numeric or string values separated into columns by delimiters"

 

It seems it misses the delimiters between your binary values...

 

This seems to run corectly:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
SIVA_M
Member

Re: spreadsheet string to digital waveform

Thanks GerdW. 

 

Is there any other vi to read binary values without delimiters...?.... Please provide any link for example code if you know...

 

 

Thanks,

Siva

GerdW
Knight of NI

Re: spreadsheet string to digital waveform

Hi Siva,

 

why don't you just use my example? Why do you need any other ways to read values from a text file?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
SIVA_M
Member

Re: spreadsheet string to digital waveform

Thanks GerdW.

 

Yes, by making delimiter empty, same program works..