LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run a vi by referencing in event structure

Hi
 
I searched for an example in Event structure. I just modified that but i am getting error(error code :1 )message when i run the program.
 
could anyone give suggestions why is it so.
 
I have attached the example program and my modified program
 
Thanks
Download All
0 Kudos
Message 1 of 11
(3,579 Views)
Can you post for 8.0 version?
0 Kudos
Message 2 of 11
(3,570 Views)

Thansk muks

I change dto V8

Download All
0 Kudos
Message 3 of 11
(3,566 Views)
[Edit: Sorry just a minute late. Even not able to remove the attachments. Its throwing some exception error.]

Sorry, your request failed. A notification has been sent to the development team to investigate.

Exception ID: 3A98D61C

Please click the Back button on your browser.



Message Edited by mathan on 06-27-2008 06:34 AM



Message Edited by mathan on 06-27-2008 06:38 AM
Download All
0 Kudos
Message 4 of 11
(3,565 Views)

Hi Veeru,

In your Untitled 10.vi, you need to wire the Path directly to the Open VI Reference or just give the name of the VI in a string to the Build Path primitive that comes from the Strip Path primitive from the Current VI Path primitive.

By your (wrong) method, you are giving a doudle path [Not A Path] to the Open VI Reference, thats why the error 1 comes out.

This path [D:\Documents and Settings\parthasarathi.v\Desktop] build up with this path [D:\Documents and Settings\parthasarathi.v\Desktop\A.vi] to make the wrong path [Not A Path].

It actually should be D:\Documents and Settings\parthasarathi.v\Desktop >> Build Path >> A.vi, thats it.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 11
(3,549 Views)

Moreover, put a seperate event for your Stop button. Or, wire a value other than -1 to the Timeout terminal.

Else, your VI is stoppable only thro' the Abort button of LabVIEW.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 6 of 11
(3,546 Views)
Excellent partha,thanks very much.
0 Kudos
Message 7 of 11
(3,541 Views)

one more question,

How to refer the path of VI to build path

Thanks

0 Kudos
Message 8 of 11
(3,520 Views)
Sorry i got it
 
I made a simple mistake so i got an error,thats the reason i have posted this question
 
Thanks
0 Kudos
Message 9 of 11
(3,512 Views)

In the same program i just modified,i am getting an error message

For ex: From ring if i select the option,a dialog box appears,if i click yes the program works fine and if i click No i am getting error message.

I think its because i am using the FPopen node.

Pls anyone suggest me why i am getting error.

Thanks

0 Kudos
Message 10 of 11
(3,489 Views)