Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Dec 14, 2017 10:15 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Plugin with no instructions for use
PostPosted: Sun Aug 26, 2012 12:13 am 
Offline

Joined: Wed May 12, 2010 8:05 am
Posts: 8
I am trying to interface to a Velleman USB k8055 board in RS. There is a plugin available. Great!!!
https://sites.google.com/site/elettroni ... real-basic
He shares the whole Xcode project used to create it, etc, etc. (which is over my head!)
However ...... maddening ..... there are no instructions regarding how to "use it". When I investigating
the documentation I came across as statement to the effect that "When plugins are included (by
being in the Plugins folder, their controls show up as available in the sidebar." .... the problem
is, of course, this Plugin has no controls. It was created to serve the same purpose as a .dll
would in Windows providing a number of functions calls to interact with the 8055 hardware.
Long story short ... how do I interact with a plugin I have no documentation for and which creates
no controls?

I tried:

dim FunctionName as string
dim LibraryName as string
LibraryName = "k8055"
FunctionName = "ClearAllDigital"
if System.IsFunctionAvailable (FunctionName,LibraryName) then
TextField1.text="YES"
else
TextField1.text="NO"
end if

To see if I could determine what was "there" (would the Plugin name = LibraryName here????)

Any help or pointers would be very much appreciated.


Top
 Profile  
Reply with quote  
 Post subject: Re: Plugin with no instructions for use
PostPosted: Sun Aug 26, 2012 2:48 am 
Offline
User avatar

Joined: Mon Apr 02, 2007 2:08 am
Posts: 1225
Location: San Francisco, CA, USA
Plugins integrate into REALstudio, you don't need to declare any functions yourself. Aside from making controls appear in the controls list plugins can also add new classes, global methods, and modules which aren't GUI related at all. Without documentation, though (which is a huge problem, I've found, in almost all RB plugins) it will be hard to figure out how the plugin developer intended RB developers to interact with his plugin. You might try playing around with auto-complete to see if any new classes or methods show up.

_________________
Boredom Software


Top
 Profile  
Reply with quote  
 Post subject: Re: Plugin with no instructions for use
PostPosted: Sun Aug 26, 2012 8:58 am 
Offline
User avatar

Joined: Wed Oct 06, 2010 10:25 am
Posts: 154
Location: ---
kjenkins wrote:
I am trying to interface to a Velleman USB k8055 board in RS. There is a plugin available. Great!!!
https://sites.google.com/site/elettroni ... real-basic
He shares the whole Xcode project used to create it, etc, etc. (which is over my head!)
However ...... maddening ..... there are no instructions regarding how to "use it". When I investigating
the documentation I came across as statement to the effect that "When plugins are included (by
being in the Plugins folder, their controls show up as available in the sidebar." .... the problem
is, of course, this Plugin has no controls. It was created to serve the same purpose as a .dll
would in Windows providing a number of functions calls to interact with the 8055 hardware.
Long story short ... how do I interact with a plugin I have no documentation for and which creates
no controls?

I tried:

dim FunctionName as string
dim LibraryName as string
LibraryName = "k8055"
FunctionName = "ClearAllDigital"
if System.IsFunctionAvailable (FunctionName,LibraryName) then
TextField1.text="YES"
else
TextField1.text="NO"
end if

To see if I could determine what was "there" (would the Plugin name = LibraryName here????)

Any help or pointers would be very much appreciated.


I you are iteresting in electronic components , remote control, ecc., I suggest to you to visit a web site,
where you can find at cheeper cost better hardware than 'arduino' is.

In the sites there are many sample on how to drive this electronic components with Visual Basic (it is easy to translate in RB
because you can use serial/usb an ethernet ports too)

this site is: http://www.areasx.com
Cheers,
Max.

_________________
Massimiliano Fabbri
Freelance Senior Programmer
(Eudosia Systems)
Visual Basic 6 - RealStudio - Mobile Development
Php5/Mysql - Dot Net C# - Objective C
-------------------------------------------
http://www.eudosia-systems.it


Top
 Profile  
Reply with quote  
 Post subject: Re: Plugin with no instructions for use
PostPosted: Sun Aug 26, 2012 9:53 pm 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
Location: Portland, OR USA
Did you look under Help -> PluginReferences in the IDE? Any documentation baked into the plugin will appear there.


Top
 Profile  
Reply with quote  
 Post subject: Re: Plugin with no instructions for use
PostPosted: Wed Sep 12, 2012 3:42 pm 
Offline
User avatar

Joined: Sat Nov 11, 2006 2:43 pm
Posts: 1221
Location: This poster has left the forums
eudosia wrote:
I you are iteresting in electronic components , remote control, ecc., I suggest to you to visit a web site,
where you can find at cheeper cost better hardware than 'arduino' is.


I prefer these:
http://www.pjrc.com/teensy/
Low cost. USB interface. I configure all mine as a USB HID, which means I do not need drivers to access them.

With the free Teensyduino, add-on for Arduino IDE, you can use many different sketches.

They are very compact. When paired with an adaptor like this one http://www.gadget.lk/images/large/usb_a ... mm_LRG.jpg they are hardly any bigger than a USB Thumb Drive.

_________________
%Invalidforumsignatureexception% user signature not found


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group