From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView 2012 to run php file

Hi,

 

I have this php file that function as a backend program but I would like to run it using LabView 2012 as the front program. Is it possible to execute that? I've tried using system exec.vi to call php file but it's not working.

0 Kudos
Message 1 of 6
(939 Views)

Hi mimi,

 

did you try to use any kind of search engine to find the answer on your question to "run php"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(894 Views)

Of course. But I wanna know if it is possible to use labview. That's why I asked in this forum. 

0 Kudos
Message 3 of 6
(890 Views)

Hi mimi,

 


@mimi345 wrote:

But I wanna know if it is possible to use labview. That's why I asked in this forum. 


Yes, sure.

Just call the php interpreter using SystemExec - as suggested in the other forum I linked to in my previous message…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(882 Views)

@GerdW wrote:

Hi mimi,

 


@mimi345 wrote:

But I wanna know if it is possible to use labview. That's why I asked in this forum. 


Yes, sure.

Just call the php interpreter using SystemExec - as suggested in the other forum I linked to in my previous message…


Or implement a PHP interpreter in LabVIEW! 😁 A fun but utterly useless project!

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 6
(878 Views)

Did you ever get this working? Do you have an example you can share?

 

-Steve

0 Kudos
Message 6 of 6
(848 Views)