PDA

View Full Version : Girder 3.2.9/3.3 --> Girder 4.0



miked
December 19th, 2005, 02:06 PM
Just wondering how "painless" the transition from Girder 3.2.9/3.3 to Girder 4.0 is, in terms of translating existing GML's, with a *lot* of serial device files with a *lot* of Lua 4 code. Is the translation pretty much automatic?

birty
December 19th, 2005, 02:39 PM
nope serial devices will need to be re written, lua 4 code is quite easy to convert to lua 5, it mainly involves changing a few variable names

Leaf
December 19th, 2005, 11:24 PM
The serial stuff isn't too bad ..You can have 3.3 and 4.0 up at the same time and copy paste your serial sends. (Don't try to do any tests while both are up though hehe) You can open all your groups with 4.0...gives you a good starting point. I pulled my few lau scripts before moving so no idea about how hard that would be.

Promixis
December 20th, 2005, 06:08 AM
Just wondering how "painless" the transition from Girder 3.2.9/3.3 to Girder 4.0 is, in terms of translating existing GML's, with a *lot* of serial device files with a *lot* of Lua 4 code. Is the translation pretty much automatic?

No pain, no gain :D

Mike, what serial devices do you have?

miked
December 20th, 2005, 08:46 AM
I'm actually currently on vacation, so I don't have access to my Girder installation to see exactly what I have running. But, off the top of my head, I have a microcontroller device, a RadioRA device, a Ware Brothers sprinkler controller device, a bunch of relay devices, among others . . . . So is it basically a relatively straightforward scenario of just setting the various configuration settings (baud rate, etc.) in Girder 4, like it is in Girder 3?

Promixis
December 20th, 2005, 08:51 AM
It shouldn't be to painful, we will help you out.

ellisr63
December 20th, 2005, 04:10 PM
I would also like to get my serial devices set up in Girder 4 ...before I get too involved in Girder 3.3. I have looked through the manual and I think it is the terminalogy that is getting me confused. In Girder 3.3 I have set up remote codes to trigger Girder to send a serial without too much difficulty...but when I look in Girder 4 I have no idea what to do to get it up to at least where I was in Girder 3...let alone make the next step to getting all my ir codes input to control all my other serial devices. I could def use some help here too.
tia,
Ron

Promixis
December 20th, 2005, 05:13 PM
Ron,

The serial devices in G4 require a lua config file. We will eventually build a GUI for this. You can send commands to the device from the Action tree.

For each device you want to add, start a new post with the device name and attach a protocol description. We will get you running.

ellisr63
December 20th, 2005, 06:08 PM
Mike,
Would i be better off just continuing with Girder 3.3 and then when the GUI comes out convert then?
tia,
Ron

Promixis
December 20th, 2005, 06:13 PM
Mike,
Would i be better off just continuing with Girder 3.3 and then when the GUI comes out convert then?
tia,
Ron

Actually, the lua side is very simple and you won't really even need to look at it. If you post the protocol for me, I will set it up for you.

ellisr63
December 20th, 2005, 08:17 PM
Mike,
What do you mean by protocol? Is that in my GML file or ini? I uploaded my GML and INI file for my Autopatch setup. I think it was put in the developers section. Is what you are asking for the command that needs to be sent via serial? Sorry to be such a pain but this is all new to me.
tia,
Ron

Promixis
December 21st, 2005, 02:45 AM
Hi Ron,

Too clarify, your old GML and INI file are helpful. However, a link to the manufactures description of the serial settings etc would be very helpful.

Upload here to the G4 forum.

ellisr63
December 21st, 2005, 01:48 PM
Mike, The Autopatch uses BCS commands....

all commands are to be input in CAPS

X=cancel.......................cancels the previous incomplete command
T=take............................execute command
S=status........................for checking the status of the input and output locations
L=level...........................levels are used for literal operations
C=change......................change command
I=input............................input number entry
O=output...................... number entry
R=preset.......................executes the preset configuration
*=special.......................executes special programmed features
RR=define preset.........allows you to define a preset configuration
.=period........................executes literal commands
'0'-'9'=number...............digits used to define inputs and outputs
:=number......................serves as the number 10
;=number......................serves as the number 11
<=number.....................serves as the number 12
==number.....................serves as the number 13
>=number.....................serves as the number 14
?=program....................opens the program menu

example.........CI208T........................... change input 2 to ouyput 8
......................CO1 2 3 4 5 6I2T...........change input 2 to outputs 1,2,3,4,5 and 6
......................R7T......................... ......execute preset #7
....................CI5XCI6O4T................... change input 6 to input 4 & cancel preset #5
....................R1XR7T........................ ..recall and execute preset #7 & cancel preset #1

Mike, the only commands I was using were the XCIO and T...all of my commands are like the first example.
Does that help?
tia,
Ron

Promixis
December 21st, 2005, 04:17 PM
Ron,

place this file in the serial dir. Restart G4 enable on the serial plugin setup tab.

ellisr63
December 22nd, 2005, 11:20 AM
Mike,
Iloaded the lua file..... now I get an error when I hit test command "serial send".... device not found when I view the log

Promixis
December 22nd, 2005, 01:17 PM
can you show me a screen shot of the logger? is there any output in the lua console? did you enable the device on the serial plugin page?

ellisr63
December 22nd, 2005, 06:29 PM
Mike I was playing around in Girder 4 and I got the serial to work....but the ir will not. I am using usbuirt and have learned the ir commands into it already. What do i have to do that is dif from 3.3?

tia,
Ron

tdampier
July 11th, 2006, 10:01 PM
Did you ever get this working in Girder 4? I am just starting out with Girder and I need to control a Autopatch Half-Y device? Any suggestions? Also I need a USB IRT what are you using?

Thanks,

Troy

Promixis
July 12th, 2006, 06:22 AM
Did you ever get this working in Girder 4? I am just starting out with Girder and I need to control a Autopatch Half-Y device? Any suggestions? Also I need a USB IRT what are you using?

Thanks,

Troy

Troy, if you start a new thread with a link to the autopatch serial protocol we will get you up and running quickly.

tdampier
July 17th, 2006, 02:47 PM
X Cancel -Cancels the previous incomplete command
T Take -Executes commands
S Status -Allows you to check the status of the half-Y’s input and output locations
L Level -Level refers to either the upper or lower level
C Change -Change command
I Input -Input number entry
O Output -Output number entry
‘ ’ or , Space or Comma A delimiter for separating multiple input and output entries
‘0’ - ‘9’ Number Digits used to define inputs and outputs
D Disconnect -Disconnects an input or an output


Attached is the BCS serial protocol PDF file.

Thanks in advance for any help. See other post which states that I am having trouble with configuration not really the protocol however I believe.