LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

php call labview VI directly

is it possible the PHP page wake up a VI and send its data to the VI?

PLS donot tell me to webpublish or use the remote panel.

 

0 Kudos
Message 1 of 2
(2,745 Views)

Can you please explain what you want to do? If you need help, we need to undertand your requirements and constraints.

 

Why not use webpublish and remote panel?

 

Anyway with PHP you can call any executable. See command exec http://www.php.net/manual/en/function.exec.php

 

See there in order to use vi from command line

https://www.ni.com/docs/en-US/bundle/labview/page/launching-a-vi-from-the-command-line.html

 

How to use argument:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHdICAW&l=en-US

 

Another solution could be use data binding

https://www.ni.com/docs/en-US/bundle/labview/page/binding-shared-variables-and-other-ni-psp-data-ite...

 

 

 

0 Kudos
Message 2 of 2
(2,734 Views)