Hi,
I have been trying to make a chart with Benj's new EB076 4D component but it was not long before it went wrong, I added the component first, and then in my chart I added the READ OBJECT macro but when I put in the same info that is in Benj's demo a warning box comes up and says component missing when it is clearly there, I am sure I have probably left something out somewhere, here is a pic of the message:
Thanks
Acestu
Help with EB076 component Please
Moderator: Benj
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Help with EB076 component Please
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with EB076 component Please
Hi,
I have just been reading through the posts and Benj in one of the posts has said that he has spotted a bug, so I am going to see if I can resolve it now...
Thanks
Acestu
I have just been reading through the posts and Benj in one of the posts has said that he has spotted a bug, so I am going to see if I can resolve it now...
Thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Help with EB076 component Please
Hi Stu,
Was this the comment?
Was this the comment?
Edit: Just spotted a bug, when loading a value from the premade constants for the Visi ReadObject and WriteObject macros they load in as this "gLCD_EB076_4D::VISI_ID_Gauge" but should be edited so they look like this "gLCD_EB076_4D1::VISI_ID_Gauge" e.g. add the 1 after 4D. We are looking into this bug now.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: Help with EB076 component Please
Hi. That should be fixed in the latest patch now - it should use the correct component name.
Jonny
Jonny
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with EB076 component Please
Hi Guys,
Yes Benj, that was the comment,
It is not fixed in Patch 2 Jonny because I have just had to change it by hand, so I got that part working but could you tell me what this value is for the "Read Byte From Message" macro ?
Thanks
Acestu
Yes Benj, that was the comment,
It is not fixed in Patch 2 Jonny because I have just had to change it by hand, so I got that part working but could you tell me what this value is for the "Read Byte From Message" macro ?
Thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Help with EB076 component Please
Hi Stu,
The Visi read object function talks to the display and gets one of the visi components to generate a report which is then automatically received. The read byte from message macro allows you to pull out the data from the report. Index value 4 should be the data byte which should be the state of the rocker switch. If you float the mouse over the ReadByteFromMessage it should tell you what all the index values mean.
The Visi read object function talks to the display and gets one of the visi components to generate a report which is then automatically received. The read byte from message macro allows you to pull out the data from the report. Index value 4 should be the data byte which should be the state of the rocker switch. If you float the mouse over the ReadByteFromMessage it should tell you what all the index values mean.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with EB076 component Please
Hi Benj,
I have downloaded your Visi-Demo and all I have done is change the device to a Pic16F877A, I have also removed the events from the rocker switches in 4D Workshop however I can't get it to do anything, do you have any ideas ?
I have had a look for the baud rate settings on the component but I can't find it anywhere, the baud rate on the display is 9600
thanks
Acestu
I have downloaded your Visi-Demo and all I have done is change the device to a Pic16F877A, I have also removed the events from the rocker switches in 4D Workshop however I can't get it to do anything, do you have any ideas ?
I have had a look for the baud rate settings on the component but I can't find it anywhere, the baud rate on the display is 9600
thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.