LabVIEW Cloud Toolkits

Highlighted

File corruption by 'Trim whitespace' while uploading to S3 bucket

I am using toolkit example,'Upload File to Bucket.vi'. When I uploaded TDMS file to AWS s3 buckets, the file size was reduced. The problem is caused by 'Trim Whitespace.vi' in internal API. 

chisbae_0-1596075399188.png

We can reproduce this problem with a simple example I attached. When we upload txt. file generated from attached vi(Write test txt.vi), The size of the file is reduced from 600 KB to1Byte. Because space constant has been deleted. 

 

The biggest problem is that sometimes the uploaded TDMS doesn't open when downloaded again. It's not always like that, but the white space of the file divided into Chunk units disappears, so the file seems to be completely destroyed. Has anyone experienced the same problem? Do you know how to solve it?

 

 

 

 

 
 

 

 

0 Kudos
Message 1 of 2
(69 Views)
1 REPLY 1
Highlighted

RE: File corruption by 'Trim whitespace' while uploading to S3 bucket

In the manual related to AWS S3, 'Trim' function that functions the same was found. However, it has not yet been found how this function is related to LabVIEW Toolkit.

0 Kudos
Message 2 of 2
(61 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.