From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,735 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,728 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,712 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,705 Views)

Thanks GerdW.

 

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

 

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