PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't run VI from Windows on RT if startup.rtexe is running

HI,

 

I ams eeing an error 63 : LabVIEW Serial port is overflowed, connection is refused if I try to run a VI from Windows system thourgh vi server on RT target while the RT target is already running startup.rtexe.

The whole idea is to run some of utility VI on RT target from Windows system while startup.rtexe on RT target is running. I thought it would be possible but then I faced error 63 whichs ays serial port has refused the connection. I then tried removing the startup application from RT mmemory and my utility VI ran perfectly.

Is there any method available for doing the above job or it;s just not possible?

Please help

 

Thanks in Advance

Vivek

0 Kudos
Message 1 of 2
(3,750 Views)

I haven't had this problem exactly, but I might be able to shed some light on the problem, or I might just be rambling.  I know you cannot run two separate Vic's which have been deployed on the same real-time machine. Only one VI can run on a machine at a time.  For example, if I have A.vi and B.vi, and I start running A.vi on the real-time machine, I cannot start running B.vi on the same machine.  I would get the error you described above. That being said, judging by the error you are getting and the startup VI running, I am guessing that even though you didn't explicit deploy the first VI (startup VI) you still cannot run another VI on the machine. 

 

A couple potential solutions come to mind. These solutions may not work exactly because I don't know exactly what you are trying to do, but I am going to throw them out there anyway.

 

1.  You can set up a VI server on your real-time machine and have that VI perform the actions that you want it to.  The thing with this though is that you will have to write a fairly generic VI Server VI, to process the requests if they are greatly varying.

 

2.  If you are just trying to run two Vi's at the same time on the same real-time machine, you might be able to make the two separate Vi's sub-VIs in another VI.  This allows for parallel execution and the ability to run the two Vi's at the same time.

 

 

Hopefully this helps you some, otherwise I apologize for the needless post.

-You can never have too much power...
0 Kudos
Message 2 of 2
(3,741 Views)