From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1074395993 in Labview and FPGA

Solved!
Go to solution

@GerdW wrote:

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?)


Hi GerdW,

 

I attach the codes for both original and testing VI. The file path is "PET" contains the Lena image. Hope you can help. Thank you.

Download All
0 Kudos
Message 11 of 21
(1,609 Views)

Hi pattern,

 

unfortunately I cannot open your LV2018 VIs. Can you downconvert to LV2017?

 

The file path is "PET" contains the Lena image.

"PET" is not a valid path…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 21
(1,604 Views)

@GerdW wrote:

Hi pattern,

 

unfortunately I cannot open your LV2018 VIs. Can you downconvert to LV2017?

 

The file path is "PET" contains the Lena image.

"PET" is not a valid path…


I attach the codes (downconvert to LV2017). Let me know if you cannot open it.

Btw, may I know why "PET" path is invalid? Thank you

Download All
0 Kudos
Message 13 of 21
(1,598 Views)

Hi pattern,

 

now I miss the subVI named "Get Image Paths from Folder", maybe because I don't have VISION installed…

 

Btw, may I know why "PET" path is invalid?

Because this is no valid path for Windows. Usually you have a colon and some backslashes in paths…

 

Your "host" VI is using the path "/c" as default value, which is the C drive of your myRIO target. Are your images located in exactly that folder?

In message #2 you show an image where you apperently try to load images from your Windows PC harddrive: this is something completely different than the C drive of your myRIO!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 21
(1,596 Views)

@GerdW wrote:

Hi pattern,

 

now I miss the subVI named "Get Image Paths from Folder", maybe because I don't have VISION installed…

 

Btw, may I know why "PET" path is invalid?

Because this is no valid path for Windows. Usually you have a colon and some backslashes in paths…

 

Your "host" VI is using the path "/c" as default value, which is the C drive of your myRIO target. Are your images located in exactly that folder?

In message #2 you show an image where you apperently try to load images from your Windows PC harddrive: this is something completely different than the C drive of your myRIO!


Hi GerdW,

 

What do you mean " the C drive of your myRIO target. Are your images located in exactly that folder?". How to save/locate the image at the myRIO target? Thanks again

0 Kudos
Message 15 of 21
(1,592 Views)
Solution
Accepted by topic author pattern

Hi pattern,

 

please read the basics for cRIO (and other RIO devices)!

 

You need to transfer the data to your myRIO! Either "statically" when deploying the project or "dynamically" by creating some host PC to myRIO communication…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 21
(1,588 Views)

@pattern wrote:

@GerdW wrote:

Hi pattern,

 

now I miss the subVI named "Get Image Paths from Folder", maybe because I don't have VISION installed…

 

Btw, may I know why "PET" path is invalid?

Because this is no valid path for Windows. Usually you have a colon and some backslashes in paths…

 

Your "host" VI is using the path "/c" as default value, which is the C drive of your myRIO target. Are your images located in exactly that folder?

In message #2 you show an image where you apperently try to load images from your Windows PC harddrive: this is something completely different than the C drive of your myRIO!


Hi GerdW,

 

What do you mean " the C drive of your myRIO target. Are your images located in exactly that folder?". How to save/locate the image at the myRIO target? Thanks again


Update: I create new virtual folder under FPGA target and locate the image. Is it like that?

I will run the VI and let you know the result. Thank you

Image save.png

0 Kudos
Message 17 of 21
(1,587 Views)

@GerdW wrote:

Hi pattern,

 

please read the basics for cRIO (and other RIO devices)!

 

You need to transfer the data to your myRIO! Either "statically" when deploying the project or "dynamically" by creating some host PC to myRIO communication…


Hi GerdW,

 

I will study that part and do it again. Will come back if I get problem. Thank you for your support

0 Kudos
Message 18 of 21
(1,585 Views)

Hi pattern,

 

I create new virtual folder under FPGA target and locate the image. Is it like that?

No, surely not.

That "virtual folder" is

- as the name says purely virtual

- denotes just a hierarchy in your project file

And the FPGA does not know about files and folders!

 

When creating a deploy build for your myRIO you can include certain files in the build to be transferred to your target. Please read the basics…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 21
(1,582 Views)

Hi GerdW,

 

I have try to debug the error but I still stuck on it (get the same error). 

Error.png

 

This is my "get image path" VI. I set the image folder as shown below. What I missing? Please help me..I have no idea how to copy the image to the FPGA target. Smiley Sad

Error2.pngThank you

0 Kudos
Message 20 of 21
(1,560 Views)