Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Launch FB separately without IDE
Launch FB separately without IDE [message #1783158] Thu, 08 March 2018 10:32 Go to next message
Eclipse UserFriend
Hi,

I am a beginner in programming and I want to call FB in my solution in Visual Studio.

So, I was wondering is that possible if I launch FORTE, call FB and get data output in solution without the help of 4DIAC-IDE?

If it is possible? How to launch FB and get the output?

Thank you for your assistance!

Best Regards,
Alice
Re: Launch FB separately without IDE [message #1783159 is a reply to message #1783158] Thu, 08 March 2018 10:39 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

as our function blocks are in FORTe in the end just c++ classes it is in principle possible. you can write a small c++ program where you instantiate your FB and then invoke the receiveInputEvent method. Accesing the in and outputs is a little bit cumbersome.

However we have a FB testing infrastructure in C++ which you can find in the test directory. This helps you with that. You can have a look at the files in the tests/stdfblib/events directory to see some examples.

I hope this helps.

But definitly more convinient is the FB tester of the 4diac-ide.
Re: Launch FB separately without IDE [message #1783161 is a reply to message #1783159] Thu, 08 March 2018 10:53 Go to previous message
Eclipse UserFriend
Hi,

Thank you for your prompt reply.

Your reply is really great insight for me.
I will come back to you if I have more questions.

Thanks!

Best Regards,
Alice
Previous Topic:IPv6
Next Topic:Powerlink And IEC61499 FB
Goto Forum:
  


Current Time: Wed Jul 16 17:43:50 EDT 2025

Powered by FUDForum. Page generated in 0.07085 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top