LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open Project Veristand 2012 from Labview 2012

Solved!
Go to solution

Hi!

 

I have on my maschine LabVIEW 2012 and NI Veristand 2012.

 

I am trying to open Veristand 2012 Project from LabVIEW 2012. Here are the sequence i have done:

- Open Veristand separately ( Yes, I know it can be called with using command line)

- Run the vi as shown in block diagram below:

 

lvcallveristand.JPG

 

- as shown in picture above, i received Error 1172.

 

I checked in my Task Manager-->there is no double veristand opened

I reboot my PC, repeat the same procedure-->doesn't work. Got the same error message.

 

Anyone experience the same?

 

Thank you,

 

Rajamodol

0 Kudos
Message 1 of 10
(3,062 Views)

What are you setting for your gateway? Are you keeping it as the default of localhost?

 

--Ryan S.

0 Kudos
Message 2 of 10
(3,046 Views)

Hi sparkysquared,

 

Thank you for your reply.

 

I am setting gateway based on my RT IP address.

 

Is it right?

 

Thank you,

 

Rajamodol

0 Kudos
Message 3 of 10
(3,030 Views)
Solution
Accepted by topic author rajamodol

Dear Rajamodol,

 

The VeriStand Gateway creates a TCP/IP communication channel that
facilitates communication with the VeriStand Engine over the network.

So if you run a project on a desktop PC, the VeriStand Gateway initiates the
VeriStand Engine. If you run a project on an RT target, the VeriStand
Gateway synchronizes with the system definition file that is running on the
RT target.

 

So you have to set the VeriStand Gateway to "localhost"

Regards,
Oleg Scherling, M.Eng | Applications Engineering | National Instruments | NIG |

0 Kudos
Message 4 of 10
(3,021 Views)

Hi SG3,

 

Thanks for your answer. It works now.

 

Regards,

 

Rajamodol

0 Kudos
Message 5 of 10
(3,018 Views)

Hi,

 

I want to deploy project on remote machine using IP address shown in MAX. It throws error 1172. I am using NI-Veristand Workspace Manger refernce VI. CAn you please help me out?

Please find attached labview code and the error file.

 

Thanks and Regards,

Manbir

Download All
0 Kudos
Message 6 of 10
(2,927 Views)

Hi ManbirKaur,

 

What is your input to Gateway IP Address?

 

Have you try to deploy your system definition directly with Veristand? If it is work, then you should just set Gateway IP Address to "localhost".

 

I hope it could help.

 

Rajamodol

 

0 Kudos
Message 7 of 10
(2,922 Views)

Hi

 

my input to Gateway is ip address of PXI controller e.g 172.22.222.167

I want to deploy code in PXI controller and not in my PC so I "localhost" is not an option for me. Please suggest some other solution.

 

Thanks and Regards,

Manbir

0 Kudos
Message 8 of 10
(2,906 Views)

Hi,

 

I got the solution. I kept gateway address as localhost in labview code and gave ip adress 172.22.222.167 in the system definition file. The code works fine now.

Thanks for your help.

 

Regards,

Manbir

0 Kudos
Message 9 of 10
(2,902 Views)

Glad to hear it works!

 

-

rajamodol

 

0 Kudos
Message 10 of 10
(2,892 Views)