Hi
I am new to flow code 4 and a bit confused but would like to know is there any way you can simulate sending data via RS232 from one chip to to another e.g. I have my master program which sends data via RS232 to the slave program and sets it up.
Brian
Simulating
Moderator: Benj
- 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: Simulating
Hello Brian,
Yes this is possible using the vNet simulation tool. Please refer to the video linked in below.
http://www.youtube.com/watch?v=_vzwgYKdBBI
Yes this is possible using the vNet simulation tool. Please refer to the video linked in below.
http://www.youtube.com/watch?v=_vzwgYKdBBI
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
- jollybv
- Flowcode v5 User
- Posts: 374
- Joined: Thu Feb 12, 2009 5:20 am
- Location: Cape Town
- Has thanked: 81 times
- Been thanked: 25 times
- Contact:
Re: Simulating
Hi ben
Have watched the video and have tries to click create in VNet and it tells me "Cannot connect to VNet" is there some application or something I need to install cause in the help file it says "Before the virtual network or Vnet can be used a small application called the Vnet server must be running on your PC or at least somewhere on your network." If i need to install this application where can i find it have looked on the disk cant find anything.
Brian
Have watched the video and have tries to click create in VNet and it tells me "Cannot connect to VNet" is there some application or something I need to install cause in the help file it says "Before the virtual network or Vnet can be used a small application called the Vnet server must be running on your PC or at least somewhere on your network." If i need to install this application where can i find it have looked on the disk cant find anything.
Brian
- 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: Simulating
Hello Brian,
Sorry you first need to start the Vnet server by running the server executable file located in the "Flowcode v4" folder.
EG.
C:\Program Files\Matrix Multimedia\Flowcode V4\VNET Server\FlowServer.exe
Sorry you first need to start the Vnet server by running the server executable file located in the "Flowcode v4" folder.
EG.
C:\Program Files\Matrix Multimedia\Flowcode V4\VNET Server\FlowServer.exe
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
- jollybv
- Flowcode v5 User
- Posts: 374
- Joined: Thu Feb 12, 2009 5:20 am
- Location: Cape Town
- Has thanked: 81 times
- Been thanked: 25 times
- Contact:
Re: Simulating
Hi Ben
the VNet is a great feature my programs work fantastic in the simulation but i am having another problem if i program a Pic16F876 it works on the development board but if i program a PIC16F886 the upgraded version the chip dose not work i have tried changing chip settings and cant get it to work there must be something small i am doing wrong can you please help.
I am using a Cristal oscillator and i have tried changing to XT HS
Oscillator : HS
Watchdog Timer: 0ff
Power Up Timer: on
Master Clear Enable : /MCLR is external
Code Protect: off
Brown Out Protect: BDO & SBOREN disabled
Internal Esternal Switch over mode: disabled
monitor clock fail safe: enabled
Low Voltage Program: enabled
Background debug: enabled
Self Write Enable: no protection
Brown Out set bit: Brown out at 4.0V
the VNet is a great feature my programs work fantastic in the simulation but i am having another problem if i program a Pic16F876 it works on the development board but if i program a PIC16F886 the upgraded version the chip dose not work i have tried changing chip settings and cant get it to work there must be something small i am doing wrong can you please help.
I am using a Cristal oscillator and i have tried changing to XT HS
Oscillator : HS
Watchdog Timer: 0ff
Power Up Timer: on
Master Clear Enable : /MCLR is external
Code Protect: off
Brown Out Protect: BDO & SBOREN disabled
Internal Esternal Switch over mode: disabled
monitor clock fail safe: enabled
Low Voltage Program: enabled
Background debug: enabled
Self Write Enable: no protection
Brown Out set bit: Brown out at 4.0V
- 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: Simulating
Hello,
Try disabling the low voltage programming setting and see if this helps.
Try disabling the low voltage programming setting and see if this helps.
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
- jollybv
- Flowcode v5 User
- Posts: 374
- Joined: Thu Feb 12, 2009 5:20 am
- Location: Cape Town
- Has thanked: 81 times
- Been thanked: 25 times
- Contact:
Re: Simulating
Hi Ben
Having another slight problem with the VNet when i send data via the RS232 it shows as it has been sent but on the other side it dose not receive the string which is funny cause it was working. If i manually type the string in on the other side it works so i assume there is something wrong with the VNet communications. What can i look at
Brian
Having another slight problem with the VNet when i send data via the RS232 it shows as it has been sent but on the other side it dose not receive the string which is funny cause it was working. If i manually type the string in on the other side it works so i assume there is something wrong with the VNet communications. What can i look at
Brian