Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 68932

Why column data of a database table is not getting updated in each iteration?

$
0
0

Hello All!

I am trying to uodate my database table which is structured as:

Column0: Number of Frames in a AVI (Total 868 Frames in my AVI)

Column1: Blob1, Column2: Blob2, Column3: Blob3 i.e particles/blobs present in a AVI

Each cell of table: represents a set of (X,Y) coordinates of all the pixels available in a particular frame. 

I have successfully inserted  frame number  and pixel coordinates of blob1 values in Column0 and Column1 respectively.

Next, I want to update column2 i.e Blob2 with it's corresponding pixel coordinates for each  frame of AVI. I have done this inside a FOR Loop so that it gets updated for each  frame.

Instead of updating each row of Column2 i.e Blob2 with the corresponding frames , I am getting an output where only the values (pixel coordinates) of the last frame is updated in all the rows of Column2. This means in all the rows of Column2, I am getting the same pixel values in all the rows of Column2 instead of different values in each row.

Can someone help me out what is my mistake or any Information?

 

 


Viewing all articles
Browse latest Browse all 68932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>