1: How to get last index, not last element, but last index number of an 2d array?
2: say 2d array has contents
elephant crow dog goat
giraffe eagle cat fly
ant pig horse bee
How to get that the bee is the 12th or 11th index in the array? (11 if you count elephant as zero index, 12 if you count elephant as first index), meaning I want the index number 11 or 12, not "bee"
I'm trying to make simple program for acquisition from camera. I'm using framegrabber and LabView wrapper delivered by its manufacturer.
1. In first version (minimal_camera_code.vi) grabbing from camera time is very high and is not constant (camera is set to constant frame rate = 5ms, in framegrabber manufacturer software acquisition goes with 200 fps)
After adding delay (fig. 2b) it is better but after some frames, acquisition time is not constant (fig. 2a)
2. In second version (minimal_camera_code2.vi) grabbing time is constant and is exacly 1ms after adding "Wait until next multiple ms" = 25ms (adding shorter delay gives effects similar to described in point 1).
I think that problems are connected with loops and are connected with misunderstanding of this code execution.
What are your suggestions for implementing this piece of code? I want grabbing frames with constant frame rate.