Thanks Martin
no so elegant
Search found 384 matches
- Thu Nov 03, 2022 7:52 am
- Forum: General
- Topic: Accessing local variable in C Icon
- Replies: 4
- Views: 743
- Thu Nov 03, 2022 7:25 am
- Forum: General
- Topic: Accessing local variable in C Icon
- Replies: 4
- Views: 743
Re: Accessing local variable in C Icon
Thanks Martin
apprecaite your help !
another questiuon is there away to make alocal variable static in FC i.a.w that it retains its value when going out of the macro and when retuning to it ?
apprecaite your help !
another questiuon is there away to make alocal variable static in FC i.a.w that it retains its value when going out of the macro and when retuning to it ?
- Thu Nov 03, 2022 6:20 am
- Forum: General
- Topic: Accessing local variable in C Icon
- Replies: 4
- Views: 743
Accessing local variable in C Icon
Hi all,
I know that accessing a global variable or a flowcode macro in a C icon the prefix FCV or FCM is used however searching the wiki I found no reference to acessing a local variable such as ".myvariable"
Is this in anyway possible Thanks for helping out
I know that accessing a global variable or a flowcode macro in a C icon the prefix FCV or FCM is used however searching the wiki I found no reference to acessing a local variable such as ".myvariable"
Is this in anyway possible Thanks for helping out
- Tue Nov 01, 2022 10:12 am
- Forum: General
- Topic: DSP Component
- Replies: 4
- Views: 758
Re: DSP Component
Thanks Ben
- Tue Nov 01, 2022 9:06 am
- Forum: General
- Topic: DSP Component
- Replies: 4
- Views: 758
Re: DSP Component
Thanks Buddy !
It seems to be working with outan Init macro ,just tried it in simulation
It seems to be working with outan Init macro ,just tried it in simulation
- Tue Nov 01, 2022 7:46 am
- Forum: General
- Topic: DSP Component
- Replies: 4
- Views: 758
DSP Component
Hi All,
mabe I am just blind however it seems or I cannot find any macro in the DSP to initialize the DSP Component
What wrong with me
Thank for helping out
mabe I am just blind however it seems or I cannot find any macro in the DSP to initialize the DSP Component
What wrong with me
Thank for helping out
- Thu Oct 20, 2022 11:54 am
- Forum: Feature Requests
- Topic: External CAN Component Missing Parameter
- Replies: 8
- Views: 2078
Re: External CAN Component Missing Parameter
Dear Ben/Steve Thank you for your help I managed to send a RTR Message just as an information o have the RTR bit clear sent the data count value as normal when calling the SetTXData macro. Range 0-8. To have the RTR bit set simply send the data count | 0x40 and this will set the RTR bit in the regis...
- Mon Oct 17, 2022 3:58 pm
- Forum: Feature Requests
- Topic: External CAN Component Missing Parameter
- Replies: 8
- Views: 2078
Re: External CAN Component Missing Parameter
Hi Ben, Thank you for your reply , I will try tomorrow on the actual machine, I am surprised that the component does not handle RTR message as it is a part of the CAN standard and is used quite a bit in industry anycase if this will solf my problem I will be ver happy :D Thanks again I will try Rega...
- Mon Oct 17, 2022 2:41 pm
- Forum: Feature Requests
- Topic: External CAN Component Missing Parameter
- Replies: 8
- Views: 2078
Re: External CAN Component Missing Parameter
Hi Steve,
I understand this Thank you so much.
I could only find the following in my C Code it seems your suggestion is correct with " FC_CAN_SPI_CAN_Write_1" Please just check for with your experienced eyes
Regards
I understand this Thank you so much.
I could only find the following in my C Code it seems your suggestion is correct with " FC_CAN_SPI_CAN_Write_1" Please just check for with your experienced eyes
Regards
- Mon Oct 17, 2022 1:55 pm
- Forum: Feature Requests
- Topic: External CAN Component Missing Parameter
- Replies: 8
- Views: 2078
Re: External CAN Component Missing Parameter
Hi Steve,
Thank you for the sugestion ,Please help the byte count should be 1 so it is datalenght 1 and RTR set
Thanks for your help However is it not better when this is allowed to be selected from the Component ?
Thank you for the sugestion ,Please help the byte count should be 1 so it is datalenght 1 and RTR set
Thanks for your help However is it not better when this is allowed to be selected from the Component ?