Running VI from another VI

2004-04-24 Thread Shreesha
HI,
I have program1.vi running. When a user clicks on a button,
Program2.vi needs to be launched. The way I am doing it now, is by
calling Program2 in Program1; so program2 acts as a subVI. But I have
a problem here..I dont want my Program1 to be running, when Program2
is called. Also, if i abort Program2, Program1 aborts too.
Is there an easy way of running Program2 independent of
Program1, though Program1 calls it? I mean aborting Program2 should
not cause Program1 to abort and viceversa.
Please reply asap.
Thanks.



Re: Running VI from another VI

2004-04-24 Thread Shreesha
Thanks a lot,
  I have a question...will this work if I create a exe
  file of Program1 and run the exe??



Re: Running VI from another VI

2004-04-24 Thread Shreesha
Hi Jumarion,
Thanks a lot,
  I have a question...will this work if I create a exe
  file of Program1 and run the exe??



Re: Running VI from another VI

2004-04-24 Thread Shreesha
Hi Zvezdana,
 I am having some doubts about Event structure.
 I have a program in which there is a 'while loop' running
 my devicenet communication. I am both writing and reading some
 information in this loop.
 When the user presses a button, I am supposed to give
 certain type of information to my main while loop executing DeviceNet.
 This information varies with time, and hence I wrote a Event structure
 to execute this subroutine. This Event structure, I put it inside
 another while loop, and placed this alongside the main while loop.
 Now, when I want to stop the program, the main while loop
 can be terminated using a boolean control, but the Event continues to
 run and my program never ends. How can I end the whileloop of the
 event structure, when I am ending the main while loop. Using a local
 variable of the boolean control to stop the whileloop of the event,
 does not work.
 Please help me get around this problem.
 Thanks.



Re: Loading parametrs using DNET and labview

2004-04-08 Thread Shreesha
Thanks Scott...I think I have figured out how to go about doing it. If
I have further questions, I shall keep you posted.
  Thanks.



Loading parametrs using DNET and labview

2004-03-30 Thread Shreesha
HI,
 I have to load parameters into my motor drives which use
 devicenet communication. For different experiments, I need to load
 different parameter list. I am using labview 6.1 and NI DNET card. The
 parametr list is huge..normally around 1000 parameters. I would like
 to load the parametrs using Labview and DNET communication. Please let
 me know, how to get it done. I hope there is an easy way of doing so.
Matter very urgent. Please reply asap.
Thanks.



Timing the while loop precisely

2004-03-12 Thread Shreesha
Hi,
  I am working on communicating with a few devicenet devices using
  the I/O communication. In am using the Multiple I/O commuication vi
  for this purpose with a NI DNET PCI card. In this vi, there is a while
  loop running that gets and puts information into my various DNET
  devices. But, I have a problem. I need to time my while loops
  precisely, so that I know how often I am writing or reading from the
  devices. For example, I would like my while loop to execute every 1
  ms. How can I achieve this?
Can it be done with the normal Labview or do I need Labview
Real Time to do this.
Waiting for a reply.
Thanks.



Re: Plotting x and y when user asks for it

2004-03-05 Thread Shreesha
Hi,
 Thanks for that example. It was very helpful. I am able to
 make my vi work now.
 Thanks.