01-09-2019 02:56 AM
Hi all,
I try to run an image processing with vision assistant project that I get from the Labview Examples. What I did is, I create new FPGA target which is I used myRIO-1900. There is no error when I compile the FPGA target vi. The error occur when I run the host vi. I attach the figure of the error.
I have save/put the image into specific folder and copy the image into the FPGA target. Someone please help me.
Thank you in advance.
Solved! Go to Solution.
01-09-2019 11:52 PM
Hi all,
I try to debug the error by create new VI and run the "Get Image Path" part as shown below:
There was no error and the file path is identified. Why when I run the same part in the original VI get error? Need help from the experts. Thank you
01-10-2019 01:10 AM - edited 01-10-2019 01:17 AM
Hi pattern,
in your first message the "image paths" probe "[3]" (maybe) shows an empty array!
In the 2nd message you read from an existing path…
What was the "possible reason" in the 1st message image? Unfortunately you didn't extend the error message to show that detail too…
Btw. it's nice to see Lena again! 😄
01-10-2019 01:53 AM
Hi GerdW,
Yes you right, the first message the "image paths" probe "[3]" (maybe) shows an empty array. The "possible reason" is I/O unidentified.
That why I try to create new VI for "get image path" part to see whether it can identify the image path. Btw, I choose Lena for testing
Hope you can help. Thank you
01-10-2019 02:05 AM
01-10-2019 02:05 AM
Sorry, the possible reason is "File I/O error".
Figure below shows the "image path" is empty.
01-10-2019 02:11 AM
@GerdW wrote:
Hi pattern,
That why I try to create new VI for "get image path" part to see whether it can identify the image path.
Ok - and what's the result of that new VI?
Can it "identify" the image path? Did it find some images?
Hi GerdW,
The new VI I create is a part of the original VI. The results shown as in my second message (Lena image)
01-10-2019 02:18 AM - edited 01-10-2019 02:19 AM
01-10-2019 02:23 AM
@GerdW wrote:
Hi Pattern,
so probe 3 is showing an empty array of filepaths - and you wonder about that function not able to load an image and resulting in a FileIO error?
Really???
Hi GerdW,
Sorry if my question is too easy for you. I wonder why I can get the image path when I run without having the FPGA target. But, I cannot get the image path (empty) when deal with FPGA target.
I still stuck at this part. Thank you
01-10-2019 02:28 AM - edited 01-10-2019 02:30 AM
Hi pattern,
all you presented so far is that error message with some probe values I used to explain that error to you.
But you failed in presenting any substantial data:
- Which path do you use as input "Image folder"?
- Which target do you use to run the VI shown in your images?
- What is the content of that small VI named "Get image path"?
- Why is there no error output on that small VI?
- Why does it output an empty array of filepaths?
- Why don't you react on that wrong (?) output of an empty array?
- Why do we get just images of code - instead of real code? (How would you answer when someone is asking for help on problems of C or Python code with just showing images of that text?)