01-18-2011 10:05 AM
Solved! Go to Solution.
01-19-2011 01:18 AM
You haven't attached any subvi's, what you have attached will not run.
Rgs,
Lucither.
01-19-2011 01:36 AM
01-19-2011 04:59 AM
01-19-2011 06:13 AM
Hi,
As srikrishnaNF said you are trying to accses the same COM port at two different places at same time.
To avoid the error Run the vis sequentially by connecting the error out put from vi1 to the vi2.
Also you can use semaphore If you want to run both the vis independently.
01-19-2011 06:47 AM
Hi all,
G K is correct. Connecting the error line through the VI's in the order that they need to be ran is the way to go.
Although, as G K said semaphore's are also a good alternative: http://zone.ni.com/reference/en-XX/help/371361G-01/glang/semaphore_vis/
01-20-2011 05:49 AM
Thank you. I've modified the vi and now the stepper routine will run once, but the power reading routine not at all. It was the other way round before. I need to set the vi to run continuously so that as I develop the vi more, the power readings will provide the input to the stepper routine. I'm sure I've made a novice mistake in connecting the error wire. I'd prefer to pursue this in preference to the semaphore for the time being.
Are you able to point out my error ? Many thanks !