취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

read from spreadsheet

As for now, I am reading the files in the folder I specify alphabetically because of the function List Folder. Is there any way that I can read all the text files in the folder I specify using the graylevel value that is stated in the text file regardless of what the files names the text files are being saved as? For example, all the textfiles data has one line that states the graylevel value. It ranges from 0-255. So the computer would know that it has to read the text file with the graylevel value of 0 first follow by the text file with the graylevel value of 15 then follow by the text file with the graylevel value of 30 and so on and so forth.

모두 다운로드
0 포인트
11/21 메시지
1,309 조회수

Hi Fred,

 

"Is there any way"

Sure: Read all the files, parse the Graylevel, sort the files by their Graylevel-value, read again all the files...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 포인트
12/21 메시지
1,307 조회수

Can u explain how to parse the Graylevel?

0 포인트
13/21 메시지
1,304 조회수

Hi Fred,

 

do you read your own threads or did I wrote that message for nothing?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 포인트
14/21 메시지
1,300 조회수

As for now, I tried using List Folder and Build Path to read all text files and store them in an array, then I tried to retrieve all the graylevels but as always, I can only retrieve the graylevel from the last text file that is passed through to the array. How do I retrieve all the graylevels from all the text files I have so that I can sort the files by the Graylevel-value? As from the sorting the files by the Graylevel-value, is it okay if I use the function Sort 1D array?

모두 다운로드
0 포인트
15/21 메시지
1,289 조회수

Ignore the previous post. How do I sort the files by their Graylevel-value if I had successfully managed to parse the Graylevel from all the files that I have?

0 포인트
16/21 메시지
1,280 조회수

Hi Fred,

 

you should try the well-known and often shown "Sort cluster array" trick 윙크 이모티콘

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 포인트
17/21 메시지
1,275 조회수

How do you create the a.png, property node? invoke node? I totally don't understand what is property and invoke node.

0 포인트
18/21 메시지
1,270 조회수

Hi Fred,

 

1) the picture is a snippet, you can directly put it in your block diagram...

2) there's no property node or invoke node

3) that's a simple unbundle cluster by name...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 포인트
19/21 메시지
1,268 조회수

I am using labview 2009 and I seem to have a problem with snippet even if its from Labview 2009.

0 포인트
20/21 메시지
1,266 조회수