Help- "Map to" option not displayed [message #1848949] |
Sun, 26 December 2021 16:30 |
Nick Ladias Messages: 7 Registered: December 2021 |
Junior Member |
|
|
Hello , I have an issue with hardware mapping, I am trying to map some FBs with the devices I have connected in my system configuration. The problem is I created the project and its application and I have made all the connections and when I hit right click, the "Map to" option does not appear. The strange thing is that I have a complete project loaded through when I downloaded the software and there right click works just fine, displaying hardware mapping normally. Can you help me? I am trying to map my FBs to the devices I want them to run and can't find a way to do so.
I have the 1.6.1 version of 4diac.
[Updated on: Mon, 27 December 2021 08:35] Report message to a moderator
|
|
|
Re: Help- "Map to" option not displayed [message #1848971 is a reply to message #1848949] |
Mon, 27 December 2021 15:46 |
|
Hi,
first of all I strongly recommend that you upgrade to the latest 4diac IDE release 2.0.0. 4diac 1.6.1 was released Nov 2014. Since then we had 9 major releases. We had so many bug fixes and improvements. If there the problem still appears please provide us with a screenshot this could help us to narrow your problem down.
|
|
|
|
Re: Help- "Map to" option not displayed [message #1848990 is a reply to message #1848975] |
Tue, 28 December 2021 13:58 |
|
Hi Nick,
yes these types are not officially part of the current 4diac releases. But you can simply copy them from your old project into your new ones if you like. If 2.0.0 is because of your assignment (I don't know what you have to submit) not possible you could give 1.8.4 a try. Which is the last version that has the same file format as 1.6.1.
Regarding your 1.6.1 problem. Could you also provide a screenshot of your system configuration?
thx,
Alois
PS May I ask at which university you are doing your project? May I contact your instructor to support them in upgrading to the latest 4diac version? We did so many usability improvements and bug fixes that this could be interesting for them.
|
|
|
|
Re: Help- "Map to" option not displayed [message #1849017 is a reply to message #1849016] |
Wed, 29 December 2021 16:50 |
|
Hi,
I'm happy to help. Great that 1.8.4 gave you better results. The first thing I noticed is that you have two devices configured on port 61499 in your system configuration. I think one of the two should be on a different port. Have you configured the runtime locations in the preferences? In the screenshot I unfortunately don't see if you have devices running or not. But connection refused nearly always means that your devices are not running.
I hope this helps.
|
|
|
|
Re: Help- "Map to" option not displayed [message #1849061 is a reply to message #1849046] |
Fri, 31 December 2021 14:22 |
|
As it looks like your the 4diac FORTE executable you are using does not have the FB_ADD_INT type contained. Did you get for your exercise a special version of 4diac FORTE? If yes please use this one. Otherwise you need to build your own version of 4diac FORTE but as I don' know enough of the exercise you where given it is hard to tell what you need to do.
|
|
|
|
Re: Help- "Map to" option not displayed [message #1849081 is a reply to message #1849080] |
Sun, 02 January 2022 18:25 |
|
Hi Nick,
publishers and subscribers always come in at least in pairs. Depending on how much data you would like to send you need an according subscriber. But you not necessarily need to use just one publish/subscribe pair. You can also send data separately in more then one pub/sub pair. This depends on what you would like to achieve.
|
|
|
|
Re: Help- "Map to" option not displayed [message #1849148 is a reply to message #1849082] |
Wed, 05 January 2022 12:07 |
|
I'm not sure if I understand your question. If you want to send two values at the same time you need a publish_2 block at the sender side and a subscribe_2 block on the receiver side. If you want to send individual values you need to use 2 Publish_1 and 2 subscribe_1 blocks.
|
|
|
Re: Help- "Map to" option not displayed [message #1849160 is a reply to message #1849148] |
Wed, 05 January 2022 18:55 |
Nick Ladias Messages: 7 Registered: December 2021 |
Junior Member |
|
|
I don't why it is not clear but I'll be more specific. I want to input 2 numbers, don't really care if it happens at the same time or not, and then add them, let's assume I want to input them at the same time . I seem to not be able to understand what happens AFTER I map my two IN_ANYs with the publish_2 (for the PC.PANEL_RESOURCE) . How to I map the subscribe_2 block with my OUT_ANY block after that?
Similar question for the MICROCONTROLLER.EMB_RES, I think I understood how to connect the subsribe_2 with my FB_ADD_INT (through the RD_1,RD_2 and using int2int) on the two inputs of the FB_ADD_INT, but what happens then? Do I use a publish_2? how do I connect its inputs with the single output of the FB_ADD_INT?
I tried my best to explain my problem, I can't seem to find how to solve it, any help would be much appreciated.
Thank you very much Alois!
[Updated on: Wed, 05 January 2022 18:57] Report message to a moderator
|
|
|
Re: Help- "Map to" option not displayed [message #1849161 is a reply to message #1849160] |
Wed, 05 January 2022 19:06 |
|
The problem is that I don't know your exact task for your exercise and how you solved it so far.
But from your explanation I think I understood more: why do you have 2 OUT_ANYs even if you have two inputs for the two values to add your result is just one value or have I missed something?
|
|
|
Powered by
FUDForum. Page generated in 0.05012 seconds