Visi Genie
Moderator: Benj
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Visi Genie
Hi
Im trying to get a simple program working with the uLCD32PTU display and VisiGenie
I have programed the display with the Gauge.
I have a simple flowcode program to send a variable to the gauge and slowly increment the output value.
However Im not gettting any respose on the display apart from it showing the gauge(which is not related to flowcode program).
The display has 5V and 0V connected to the EB006
TX to Port C6
RX to Port C7
I have attached the Flowcode and a zip of the VisiGenie files.
Any suggestions would be appriciated.
Thanks
Im trying to get a simple program working with the uLCD32PTU display and VisiGenie
I have programed the display with the Gauge.
I have a simple flowcode program to send a variable to the gauge and slowly increment the output value.
However Im not gettting any respose on the display apart from it showing the gauge(which is not related to flowcode program).
The display has 5V and 0V connected to the EB006
TX to Port C6
RX to Port C7
I have attached the Flowcode and a zip of the VisiGenie files.
Any suggestions would be appriciated.
Thanks
1 in 10 people understand binary, the other one doesn't !
- Jordy101091
- Posts: 519
- Joined: Sat Jan 08, 2011 4:02 pm
- Location: The Netherlands
- Has thanked: 25 times
- Been thanked: 188 times
- Contact:
Re: Visi Genie
John,
I have a quick look at your Flowcode and visi genie,
I have noticed that you have selected the Gauge abject in your Flowcode, I think this has to be the "Visi4D1::VISI_ID_Meter" object.
If you look at the visi genie and go with your mouse over the object you have selected you can see "meter" if you go to the second object in the ribbon then it says gauge.
So you have just selected the wrong component object.
Hope this helps,
Regards Jordy
I have a quick look at your Flowcode and visi genie,
I have noticed that you have selected the Gauge abject in your Flowcode, I think this has to be the "Visi4D1::VISI_ID_Meter" object.
If you look at the visi genie and go with your mouse over the object you have selected you can see "meter" if you go to the second object in the ribbon then it says gauge.
So you have just selected the wrong component object.
Hope this helps,
Regards Jordy
the will to learn, should not be stopped by any price
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Visi Genie
Hi Jordy
Thanks for the tip
I have changed it to Meter, as I can now see what you mean, but it still doesnt work.
Think I must be missing something simple.
Thanks for the tip
I have changed it to Meter, as I can now see what you mean, but it still doesnt work.
Think I must be missing something simple.
1 in 10 people understand binary, the other one doesn't !
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Visi Genie
Ive just found Stuarts post about the index numbers.
Have modified by flowchart again, but still not working. Its getting too late now, my brain is going to sleep
Have modified by flowchart again, but still not working. Its getting too late now, my brain is going to sleep
1 in 10 people understand binary, the other one doesn't !
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John,
I will have a look at your chart when I get home and see if it works with my display...
cheers
Acestu
I will have a look at your chart when I get home and see if it works with my display...
cheers
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.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John,
Having issues with my FC6 cannot compile at the mo, sorting it out now, however I have changed your chart because the component macro is pointing towards the 4D Gauge and not the Meter, see if it works and I should have mine sorted by then...
cheers
Acestu
Having issues with my FC6 cannot compile at the mo, sorting it out now, however I have changed your chart because the component macro is pointing towards the 4D Gauge and not the Meter, see if it works and I should have mine sorted by then...
cheers
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.
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Visi Genie
Hi Stuart
Thanks for the reply
I did change to meter after I saw Jordys post yesterday.
Also I saw your reference to the ID table and changed to ID 16, but still no go.
Thanks for the reply
I did change to meter after I saw Jordys post yesterday.
Also I saw your reference to the ID table and changed to ID 16, but still no go.
1 in 10 people understand binary, the other one doesn't !
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John,
I am just re installing FC6 and then I will program my 877A with your chart and see if my display works, I have already programed my display with your visie genie file...
cheers
Acestu
I am just re installing FC6 and then I will program my 877A with your chart and see if my display works, I have already programed my display with your visie genie file...
cheers
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.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John
Sorry FC6 is taking ages to download, I think the server is getting some hammer, just had a quick look at your chart 3 on other PC and I think where you have 16 it should be 0, because the component already knows that you are wanting to send data to the Meter so you need to tell it that there is only 1 meter and therefore its index = 0
cheers
Acestu
Sorry FC6 is taking ages to download, I think the server is getting some hammer, just had a quick look at your chart 3 on other PC and I think where you have 16 it should be 0, because the component already knows that you are wanting to send data to the Meter so you need to tell it that there is only 1 meter and therefore its index = 0
cheers
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.
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Visi Genie
Hi
I tried that initally, but after seeing your table I though that must be wrong and tried 16
I tried that initally, but after seeing your table I though that must be wrong and tried 16
1 in 10 people understand binary, the other one doesn't !
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John
It's a bit awkward at the moment because I can't open any of my charts on this PC, as soon as I can install FC6 which shouldn't be too long, I will be able to do something.....sorry for the delay
In the chart I posted the numbers are used if you are using the serial interface, but the Flowcode component has them all as names in the dropdown menu
Acestu
It's a bit awkward at the moment because I can't open any of my charts on this PC, as soon as I can install FC6 which shouldn't be too long, I will be able to do something.....sorry for the delay
In the chart I posted the numbers are used if you are using the serial interface, but the Flowcode component has them all as names in the dropdown menu
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.
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: Visi Genie
Ok
I'll wait till youve tried it. Must be something simple as Ive only got the one item loaded on the display.
I'll wait till youve tried it. Must be something simple as Ive only got the one item loaded on the display.
1 in 10 people understand binary, the other one doesn't !
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John,
I have got FC6 going after a load of trouble with my programmer settings, I have ran your chart with my display connected and it simulates perfectly with non erronous data and on the display the needle sure enough goes up slowly, however when I write to chip and connect it up then it doeas not work, so I will have a mess now I have FC6 working.....
cheers
Acestu
I have got FC6 going after a load of trouble with my programmer settings, I have ran your chart with my display connected and it simulates perfectly with non erronous data and on the display the needle sure enough goes up slowly, however when I write to chip and connect it up then it doeas not work, so I will have a mess now I have FC6 working.....
cheers
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.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John,
I think Benj is the man for this little problem, I don't know why but something is telling me "Baud Rate" for some reason....
cheers
Acestu
I think Benj is the man for this little problem, I don't know why but something is telling me "Baud Rate" for some reason....
cheers
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.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John,
I have just changed the Baud rate in 4D workshop to 115200, I then changed it to the same in FC6, after I did this the chart would no longer compile and gave this error:
P.S. I changed the Baud rate back to 9600 and it then compiled again
I think there could be a problem with the visi component
cheers
Acestu
I have just changed the Baud rate in 4D workshop to 115200, I then changed it to the same in FC6, after I did this the chart would no longer compile and gave this error:
P.S. I changed the Baud rate back to 9600 and it then compiled again
I think there could be a problem with the visi component
cheers
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.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John,
getting late now but I just made my own 4D project from scratch with a few different gauges and indicators, I then made my chart and it simulated perfectly with my display doing what it was supposed to but when I came to compile to chip I got same error as your project so I think we have something not right with FC or component...
cheers
Acestu
getting late now but I just made my own 4D project from scratch with a few different gauges and indicators, I then made my chart and it simulated perfectly with my display doing what it was supposed to but when I came to compile to chip I got same error as your project so I think we have something not right with FC or component...
cheers
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: Visi Genie
Hello,
Have you tried the UART in hardware mode at all? Managed to replicate the 115200 baud issue in software mode only, hardware mode seems fine. Also tried running the embedded code using a hardware UART channel and baud looks correct to my USBee. In Software mode there does seem to be an issue so I will see if I can get this resolved.
Have you tried the UART in hardware mode at all? Managed to replicate the 115200 baud issue in software mode only, hardware mode seems fine. Also tried running the embedded code using a hardware UART channel and baud looks correct to my USBee. In Software mode there does seem to be an issue so I will see if I can get this resolved.
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
- 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: Visi Genie
Fixed it, I think... The number of data bits was somehow set to 0 in the CAL UART component. Should be correctly set to 8 now.
Here is the latest component.
Here is the latest component.
- Attachments
-
- Visi4D.fcpx
- (20.42 KiB) Downloaded 229 times
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: Visi Genie
Hi Benj,
Sorry only just seen your post, yes I did try hardware mode, but I see you have done it now, I will test it when I get home later, Thanks for doing it so quick.
Acestu
Sorry only just seen your post, yes I did try hardware mode, but I see you have done it now, I will test it when I get home later, Thanks for doing it so quick.
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.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi John,
Have you had time to try your original chart yet ?, I have and it is still not working for me....
cheers
Acestu
Have you had time to try your original chart yet ?, I have and it is still not working for me....
cheers
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.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi Benj,
Are you saying that we have to have the Cal Uart component in our chart ?
thanks
Acestu
Are you saying that we have to have the Cal Uart component in our chart ?
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.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Visi Genie
Hi,
I have tried it with the Cal Uart in the chart aswell but still will not work once downloaded to the chip, It does simulate perfectly with the display connected...
cheers
Acestu
I have tried it with the Cal Uart in the chart aswell but still will not work once downloaded to the chip, It does simulate perfectly with the display connected...
cheers
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.
- 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: Visi Genie
Hi Acestu.
The way the components work is each component includes other components and adds a little extra functionality of its own. The CAL UART is included in the RS232 and provides 'low level' details of how to set up the system.
This is common for most components. if you would like to see how any components are structured (for your own curiosity) open the Component Debugger and check 'Expose full component tree in property pane'. The component drop down list will show all the components even if they are part of a sub-component. For RS232 this includes the UART CAL component. Jonny
The way the components work is each component includes other components and adds a little extra functionality of its own. The CAL UART is included in the RS232 and provides 'low level' details of how to set up the system.
This is common for most components. if you would like to see how any components are structured (for your own curiosity) open the Component Debugger and check 'Expose full component tree in property pane'. The component drop down list will show all the components even if they are part of a sub-component. For RS232 this includes the UART CAL component. 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: Visi Genie
Hi Jonny,
Thanks for the info, where do you open the component debugger, I have looked in the debug menu but I can't see anything there for components..
cheers
Acestu
Thanks for the info, where do you open the component debugger, I have looked in the debug menu but I can't see anything there for components..
cheers
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.