-
Notifications
You must be signed in to change notification settings - Fork 0
Home
NNNIC edited this page Sep 4, 2018
·
8 revisions
Welcome to the psgg-python-sample wiki!
- Windows 10
- SYN-G-GEN
- Python
(1) Select Python STARTER KIT.
(2) Set the state machine name to "TestControl".
(3) Set the document folder to "c:\hoge".
(4) Set the source folder to "c:\hoge".
(5) Create!
Copy psgg-c-sample/reference/Test.py to c:\hoge
Open Test.py using IDLE and run then the shell shows as below.
- Create a new state and connect.
Create a new state and input "printf("Hello!"); in 'init' cell.
![]()
- Create a branch situation.
(1) Create as below.
![]()
(2) Open "implement source" and input code below.
static void set_yes_or_no() { srand((unsigned)time(NULL)); int r = rand(); printf("rand = %d\n",r ); m_bYesNo = ((r % 2) == 0); }
(3) make.bat