LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bagaimana cara menyimpan gambar grafik secara terus menerus

Solved!
Go to solution

Sya ingin bertanya bagaimana cara menyimpan gambar dari suatu grafik, dengan kondisi programnya terus menyimpan gambar seiring masuknya data baru pada grafik tersebut mohon bantuannya

 

 

 

 

0 Kudos
Message 1 of 4
(1,891 Views)

Google translate:

I want to ask how to save a picture from a graphic, with the condition that the program continues to save the image as new data is entered on the graph, please help.

 

 

0 Kudos
Message 2 of 4
(1,849 Views)
Solution
Accepted by topic author namasaya

You are now saving an image as the graph updates. But you're overwriting the same image every iteration.

 

If you want to save to a new image every iteration, use format into string to create a unique name for each iteration. You can use the loop counter, or a timestamp. Or use "Create File with Incrementing Suffix.vi" that does it all for you.

 

Note that the GetImage and the update of the image are not synchronised. So it's not defined which happens first. So you might get duplicate images, and miss images depening on execution order.

 

Google translate (no idea if it makes sense):

Spoiler
Anda sekarang menyimpan gambar saat grafik diperbarui. Tapi Anda menimpa gambar yang sama setiap iterasi.
 
Jika Anda ingin menyimpan gambar baru setiap iterasi, gunakan format menjadi string untuk membuat nama unik untuk setiap iterasi. Anda dapat menggunakan penghitung putaran, atau cap waktu. Atau gunakan "Buat File dengan Menambahkan Suffix.vi" yang melakukan semuanya untuk Anda.
 
Perhatikan bahwa GetImage dan pembaruan gambar tidak disinkronkan. Jadi tidak didefinisikan yang terjadi terlebih dahulu. Jadi, Anda mungkin mendapatkan duplikat gambar, dan kehilangan gambar tergantung pada urutan eksekusi.
Message 3 of 4
(1,845 Views)

thanks you very much it was very helpfully  

0 Kudos
Message 4 of 4
(1,800 Views)