02-18-2017 08:29 AM
Dear All.
i want to open step 7 software from labview front panel using button. please tell me how to do that.
Regards,
Asif
02-18-2017 11:33 AM
Hello Asif,
I suggest you to post your question in the LabVIEW forum, this one is for another software of NI, LabWindows/CVI. Good luck!
02-18-2017 01:12 PM - edited 02-18-2017 01:22 PM
@Asif138 wrote:
i want to open step 7 software from labview front panel using button. please tell me how to do that.
(Are you talking about this? Please be much more specific!)
02-19-2017 11:43 AM
Hi All
i am working on lab view DSC module to monitor the Simatic Step 7 PLC I/Os. i want to add button in lab view front panel to open simatic step 7 software and alos to open the electrical diagram which is in pdf format by clicking button from front panel. if is it possible so please tell me.
Thanks,
Asif
02-19-2017 11:45 AM
Hi All i am working on lab view DSC module to monitor the Simatic Step 7 PLC I/Os. i want to add button in lab view front panel to open simatic step 7 software and alos to open the electrical diagram which is in pdf format by clicking button from front panel. if is it possible so please tell me. Thanks, Asif
02-19-2017 11:51 AM - edited 02-19-2017 12:06 PM
You can launch other applications by running their executable. Check out this example using the System Exec VI to launch an executable.
You can also use System exec to Start a file and it will open in its default program. Give it a try with your PDF.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
02-19-2017 12:00 PM
The first question I have is.. why? What's the point of using the DSC module if you're looking to open the third party software anyway? Isn't that performing the same task twice?
After that, again, "define" is important. Are you just wanting to open the program? If so, use a sysexec call. But, that's going to look pretty shoddy.
Instead of telling us the steps required to get to your potential solution, describe the problem. "I have x hardware. My goal is to show y information. I have z software available for this task." It's more likely we'll find a cleaner solution that isn't a direct answer of your question. The questions you've asked are leading to something incredibly janky.
02-19-2017 12:07 PM - edited 02-19-2017 12:09 PM
02-20-2017 07:34 AM
You make an Event structure that handles your button presses. In the relevant event, you use a System exec with e.g. "cmd /c start [pdf-path]"
/Y
02-23-2017 03:56 AM
thanks for your replay
can you please write / send me snap shot of said event structure.
Regards,
Asif