PDA

View Full Version : [newbie] A little problem ...



mathej
November 1st, 2002, 10:03 AM
Hi,

I'm a French newbie in Plugin Writing for Girder... :D

I've made a very basic plugin, but, when I launch girder, he says to me than plugin is too old whereas I specified the good version Number with gir_version.

What the problem ?

Thanx,

Johan

SteveV
November 1st, 2002, 12:21 PM
Hi mathej,

Welcome to the wonderful world of Girder :)

How are you exporting the following functions?



gir_version
gir_name
gir_description
gir_devicenum
gir_requested_api
gir_open
gir_close
gir_config
gir_start
gir_stop
gir_compare
gir_learn_event
gir_event
gir_command_gui
gir_command_changed
gir_info


You won't necessarily need all of them but you'll need the first 7 at a minimum. Is your project missing a .def file ("Export Definition File")?

--Steve

mathej
November 2nd, 2002, 06:36 AM
It's working thanx...

Now, I've a little question :

I detect I/O on my parallel port, and I'd like to send them to girder when the user press on 'learn'

I tried with the send_envent routine, but, I don't understand a lot, it doesn't work...

What's the good way to send the infos to girder ???

Thanx a lot

A little newbie :D