10-06-2023 06:58 AM
Hi Natacha,
@Natacha_Kam wrote:
My main Problem is that my two Vis are not in the same Project.
Simplest solution: copy the VI from your "other project" into your "first project"…
(Did you read message #7 from Bob?)
10-06-2023 07:05 AM
Hallo,
i got what he meant. the Vi i want to copy from the other project is a complex vi that opens other SubVIs, TypeDef and .xml Files.so if i want to copy this VI i have to also copy everything inorder for the VI to be ran properly.
10-06-2023 07:24 AM
Hi Natacha,
@Natacha_Kam wrote:
the Vi i want to copy from the other project is a complex vi that opens other SubVIs, TypeDef and .xml Files.so if i want to copy this VI i have to also copy everything inorder for the VI to be ran properly.
Then altenbachs suggestion to use a static reference is the next best thing to do!
You "just" need to debug your VI to know why it returns that "error 7"! That error doesn't pop up just from calling the VI, but it pops up because your VI tries to open a file with a wrong file path…
(Maybe one of those XML files is not found?)