LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

spreadsheet string to digital waveform

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(2,801 Views)
Solution
Accepted by topic author SIVA_M

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
Message 2 of 5
(2,794 Views)

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

0 Kudos
Message 3 of 5
(2,778 Views)

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
0 Kudos
Message 4 of 5
(2,771 Views)

Thanks GerdW.

 

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

 

0 Kudos
Message 5 of 5
(2,757 Views)