MIAC USB Firmware Project

For general Flowcode discussion that does not belong in the other sections.
Post Reply
User avatar
p.erasmus
Posts: 434
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

MIAC USB Firmware Project

Post by p.erasmus »

Hi Team.

In V8 totally working well the MIAC USB Slave Firmware project look like below in the 2D panel
V8.jpg
V8.jpg (15.88 KiB) Viewed 4816 times
In V9 the same components are on the 3D panel and some SPI and API stuff on the 2D panel

V9.jpg
V9.jpg (34.82 KiB) Viewed 4816 times

(1)What is this components on the 2D panel .
(2) You guys has made many changes to the SPI and I2C layers is the CAN SPI in the MIAC still working as before or has some stuff changed,I am asking because I need to do a MAIC project fast and if there is issues with this in V9 then I stay on V8 .

At the Moment I am reluctant to use V9 as things change rapidly nobody know what changed and working code stop to work ,as the SACDA SPI and I2C with UNO .

As always great-full for your help.
Regards Peter - QME Electronics

Steve-Matrix
Matrix Staff
Posts: 1554
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 362 times

Re: MIAC USB Firmware Project

Post by Steve-Matrix »

Thanks for the post, Peter. There are 2 things going on here.

1) If projects stop working due to a component update then please let us know and we'll try to fix this as soon as we can.

2) We are currently making changes to improve the look of many of our components. Unfortunately, this will force certain components to look correct only on the 2d panel as the 3d panel will not support these new visual improvements. If your project is already on the 2d panel then there should be no problem for you and the project should look ok. However, if the project is on the 3d panel then certain parts of the new components may appear on the 2d panel and this is what you are seeing in your project.

Although there may be some visual problems with your project, it should compile and simulate correctly. If it doesn't, please let us know and we'll investigate.

And if you want assistance moving your project to the 2d panel, we will be able to help with that.

Regards,
Steve.

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: MIAC USB Firmware Project

Post by p.erasmus »

Hi Steve.

Thanks a lot for the info ,
I always use the 2D panel however this project is the one from Matrix for MAIC USB Slave it comes from Matrix with the components on 3d panel , I will move them with your comments.I just check it compiles fine I will give it a go asap :D

I always appreciate the support we get from you guys However there is a problem with SCADA UNO SPI and I2C and it not only me suffering with this
Martin(mnf) has similar/same issue ,Would appreciate a working example for SPI as I am stuck with SPI urgently and reading a digital input pin also does not work for me and I have a feeling martin also mentioned it some where in the forum.

I do understand you guys are very busy and appreciate any help always

Regards
Peter
Regards Peter - QME Electronics

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: MIAC USB Firmware Project

Post by p.erasmus »

Hi All.

Thank you Steve for your advices !
I compiled and run the Matrix MIAC USB Slave FC project in V9 no issues found then progammed a MIAC unit and connected it to LabView and running 100%. :D :D :D
Again all support always appreciated.

Question to Ben,
The dll is a bit old for labview it is working well in 2013/2014 LabView .would it be possible to maybe update the dll that people can use Miac with
LabView 2020 as there is now a full free community version,which you can use to update the dll.
If there is a possibily I can try to run my various Miac /Labview projects in LV2020 and see if they are working. You might recall in 2018 we had the issue that the dll can handle only 32 bytes of data transmission and receiving this is a limitation and a lot of work around needed for bigger project using Miac.This would be very nice if we could upgrade the dll .
For now I am using 2014 but it get's a bit old and the customers are looking for more recent LV projects.

If you think there is a chance of doing this(I am aware you guys are focusing on APP devloper for this type of things but APP developer is a long way off from LabView and difficult to use in an industries enviroment as it is now) I can spend time on trying my projects in LV2020.

Have a good Time
Regards Peter - QME Electronics

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: MIAC USB Firmware Project

Post by p.erasmus »

Hi Ben.

I have just run the Miac and LabView 2020 all works as before ,
thats a good :D so I am back at asking if you could look into the transaction number 32 bytes is max I can receive over the dll
Not sure if it is the dll or a PIC firmware issue .

Thanks again for all your help

This project was created in LV2013 the used it in LV2014 and now in LV2020 with Miac usb slave :D :D

P1.jpg
P1.jpg (107.32 KiB) Viewed 4771 times
P2.jpg
P2.jpg (121.76 KiB) Viewed 4771 times
Regards Peter - QME Electronics

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: MIAC USB Firmware Project

Post by BenR »

Hello,

I've posted a newly compiled version to the wiki and I've checked that te data transfer descriptors are now set to 64-bytes.

https://www.flowcode.co.uk/wiki/index.p ... rmware.zip

Let me know how you get on.

User avatar
p.erasmus
Posts: 434
Joined: Thu Dec 03, 2020 12:01 pm
Location: Russia / Россия
Has thanked: 104 times
Been thanked: 88 times

Re: MIAC USB Firmware Project

Post by p.erasmus »

Hello,

Thank you I will try it, although it will not be in the next week , :D
I will report back once I had a change playing with the new one ,I need to finsih this current work/project first

Appreciated
Regards Peter - QME Electronics

Post Reply