Nwrfc 0.0.4 (Ruby wrapper for NWRFC SDK using Ruby-FFI) now available

Please note that version 0.0.4 of nwrfc is now available. There have been numerous changes since the last announcement:
Basic server functionality
Comprehensive type support (except for new float types)
Metadata retrieval functionality for data containers
Activating/deactivating parameters for RFC calls
Please see https://github.com/mydoghasworms/nwrfc for the complete change log. The latest gem has been pushed to rubygems.org so you can update/install with ease.

Hi Ned,
I've just tested your library. It took me a while to understand  how to do it, as I never used SWIG before.
Anyway this is what I did:
0. setup a NI USB-6008 with some AA battery connected to AI0 (see attached photo)
1. installed Cygwin (I work on Win2000)
2. setup .paths in the "vimrc" file.
3. run "make -f Makefile.swig "
4. run "ruby test.rb"
It worked, but didn't show correct values. I changed settings inside the file, but still wrong numbers.
I then tried to run other examples and I couldn't run them (I guess the fault is on my side in ruby).
However I managed to run acquireNscans.rb , and it worked perfect.
It took me quite long time today to do. I tried to compile it without installing cygwin, then I compiled it in cygwin, but SWIG seems to be out-of-date, etc.etc. but at the end of the day I've got some results.
$ ruby acquireNscans.rb
[1.38554652487558, 1.37531881852636, 1.37531881852636, ...
read 10, total time: 0.907, rate: 11.0253583241455
Aborted (core dumped)
Is there any forum/topic where others discuss issues or work on the code similar to yours ?
What I am interested in is a library that would allow me to use Ruby or Php to communicate with devices through GPIB, Ethernet , serial port, etc.
Cheers,
Jakub
Message Edited by jcz on 02-15-2008 03:31 PM
Attachments:
DSC017791.png ‏360 KB

Similar Messages

  • Me and my wife both have iPhone for iTunes I use same laptop now our contacts are all mixed up. I want to delete our old synchronize a/c. To start up freshly. How can I do that?

    Me and my wife both have iPhone for iTunes I use same laptop now our contacts are all mixed up. I want to delete our old synchronize a/c. To start up freshly. How can I do that?

    Anyone at all can advise- still not sorted :-(

  • HT4059 Receive email for store, book I ordered is now available to download, click on download per order now, but nothing happens.

    Receive email for store, book I ordered is now available to download, click on download per order now, but nothing happens.

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Hardware Development Kits for Windows 10 Insider Preview are now available! (April 2015)

    Hardware Development Kits for Windows 10 Insider Preview are now available! (April 2015)
    Install the latest tools to build, test, and deploy drivers; test and measure your hardware running Windows; and customize, assess, and deploy Windows 10 on your hardware.
    Become a Windows Insider
    to get the latest Windows 10 Insider Preview.
    Then,
    get the tools:
    Visual Studio Community 2015 RC
    Windows SDK for Windows 10
    Windows Driver kit (WDK) 10
    Windows Hardware Lab Kit (HLK) RC for Windows 10
    Windows Assessment and Deployment kit (ADK) RC for Windows 10
    Known Issues
    We will update this thread with any known issues for this release.

    Hello ,
    May I know ,where is the HLK download link
    Is it likely HLKSetup.exe ??thanks
    Windows Hardware Lab Kit (HLK) Technical Preview

  • Latest MediaSource Plugins for various Creative MP3 Players are now available for downl

    Just went to the product support site. Guess what? The latest MediaSource plugins for the various Creative MP3 Players are now available for download. I am sure the latest plugins should have fixed several problems.
    Don't forget to download the latest Creative MediaSource v3.30.2 too. Install the latest Creative MediaSource first before you install the MediaSource Plugins of your respecti've MP3 Players.
    Note: According to the download site, the latest MediaSource plugins require you to have at least v3.20.57 of Creative MediaSource.

    Thanks micromouse
    ... but there's no new plugin for the original Jukebox
    I've always had trouble connecting to MediaSource with my JB and was hoping for a new plugin to sort all my problems.
    PB

  • New version of the LabHSM Toolkit for Complex Event-Driven Development is Now Available!

    A new version of the unique toolkit is now available for download. As announced earlier, LabHSM makes it possible to easily create and then maintain complex event-driven applications in LabVIEW as a collection of HSM-driven active object VIs using a higher level of abstraction and agile software development methodologies. These active object VIs are created based on a universal Hierarchical State Machine ( HSM or statechart ) template. Therefore, all your code looks similar regardless of its functionality!
    So, what’s new in version 1.1?
    • "No hands" block diagram modifications! Version 1.1 actually creates, renames, and removes actions on the block diagram as you define, rename, and remove them in the editor! (No, it can't fill in all the details for you, but it can do some, if you think ahead, by replicating similar actions.)
    • Two new screens, Events Usage and Actions Usage, (available in licensed copies only) clearly show where (in which state(s)/transition(s)) and how (is it an entry action, exit action or event handling action?) a particular event or action is used. Moreover, if after selecting an instance on the list, the Go To button is pressed, it makes the main screen jump to respective location in the HSM structure. In the case of Actions Usage screen, the respective action is also displayed on the block diagram. Thus, these screens provide two more different cross-sections of the HSM data set and two additional ways to navigate it – now along the Actions and Events dimensions too instead of just the state tree in the first version.
    • Version 1.1 can duplicate events or actions, which helps when you've got several that are similar. Changes in the events and actions lists are reflected immediately on the main screen and on the block diagram (which solves the previous problem of deleting a renamed event or action when it's still in use).
    • The Events and Actions List Editors are no longer modal and neither are the Events and Actions Usage screens, so you can have all the panels and the block diagram visible and move freely among them as you build your HSM (a good argument for an even larger monitor).
    • When you save an HSM file, version 1.1 automatically adds the .hsm extension if you leave it out and it remembers the last directory you used.
    • The Loaded VIs utility now can open and close block diagrams (if they are not protected with a password) and display only VIs with modal front panels, if desired—useful for quickly finding and closing accidentally opened (e.g., from the hierarchy window) modal VIs. Make a modal version of this utility and keep it on the Desktop for this purpose.
    • A new example of a simple hierarchical state machine and two more excellent tutorials from Paul F. Sullivan (SULLutions.com) are included into the package. The tutorials are also available online. The overview article has also been extended.
    As before, the LabHSM toolkit is available for UNLIMITED PERIOD trial. Please visit http://www.labhsm.com for details and download. The site also contains references which you may want to check to learn more about hierarchical state machines and active object computing.
    Stanislav Rumega
    NI Certified LabVIEW Developer
    H View Labs
    http://www.labhsm.com
    [email protected]
    US Toll-Free Phone/Fax: 877-570-8684

    I am not really sure if Azure support this but its worth to make your configuration file to support .NET 4.0
    $PShome\PowerShell_ISE.CONFIG and $PSHOME\PowerShell.exe.config will be not existing.
    So you can make an entry in configuration to support .NET framework 4.0
    like shown below
    $config_text = @"
    <?xml version="1.0"?>
    <configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0.30319"/>
    <supportedRuntime version="v2.0.50727"/>
    </startup>
    </configuration>
    $config_text| Out-File $pshome\powershell.exe.config
    $config_text| Out-File $pshome\powershell_ise.exe.config
    Close PowerShell Console and open as administrator.
    Try loading the modules back and let me know.
    Regards Chen V [MCTS SharePoint 2010]

  • For lumia 610 blutooth transfer is now available

    File transfer is not available now for lumia 610

    I have updated my nokia lumia 610 to 7.8 but yet i cant download bluetooth file share to my device, it telling me apparently that my device does not support this phone, that i should update or is not available in my region.
    My zune says that my device is upto date, i need the bluetooth file share to work.

  • With recent upgrade to 7.0.4, I can barely see the screen as the background on everything is too light.  How can this be fixed or how do I unstall this upgrade?  It is almost impossible for me to use my phone now.

    I am barely able to see anything on my phone, texts, emails, etc with this recent update to 7.0.4  How do I fix this or uninstall this recent update?

    Thanks for the response, but it doesn't help.  The icons in email are barely legible as is the keyboard for email and texting.  Even reading your response on the phone was an issue.

  • IChat 3 allowed customization for announcing Alerts using Speech, But now?

    iChat 3 allowed the customization of Alerts using Speech/Voice but I can no longer do it with the new versions. Is there any way I can accomplish this?

    Hi,
    Welcome to the    Discussions
    Unfortunately this was a feature that disappeared in iChat 4
    Use this page http://www.apple.com/feedback/ichat.html
    It may help get it reinstated in Snow Leopard.
    9:48 PM Thursday; May 21, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Do you need help verifying your APPLE ID for ICloud? Easy solution is now available!

    After calling Apple Support and speaking to the expert, we were not able to resolve an issue where we were not getting a verification email for ICloud. Support had no way to access any Apple ID. (This was last Friday, Oct. 14.)  We went for a One-to-One lesson this am. While the Apple insturtor did not have the answer, he contacted one of the resident Genii.  I was called by the Genius who told me that the problem was solved! 
    Simply contact the local Apple store and make an appointment to "fix" your verification issue.  (If you are lucky, they may take your information and do it over the phone!)

    If the password for your old ID does not work when you try to delete the account and turn off Find My iPhone, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • ANNC: Dreamweaver Tools for Kuler now available

    This is a multi-part message in MIME format.
    ------=_NextPart_000_014C_01C85362.5D7C3260
    Content-Type: text/plain;
    charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable
    WebAssist is proud to announce the release of Dreamweaver
    Tools for =
    Kuler. Kuler is the Adobe Web application for designers to
    create, =
    explore and share color schemes. With Dreamweaver Tools for
    Kuler, you =
    get instant access to the more recent, most popular or
    highest rated =
    colors right in Dreamweaver. Sample your color from any
    Dreamweaver =
    color picker or insert a hex color value into code with a
    single mouse =
    click.
    Dreamweaver Tools for Kuler is a free extension, now
    available for =
    Dreamweaver CS3 and Dreamweaver 8 on both Mac and PC
    platforms.
    Best - Joe
    Joseph Lowery
    VP of Marketing, WebAssist
    Author, Dreamweaver CS3 Bible
    ------=_NextPart_000_014C_01C85362.5D7C3260
    Content-Type: text/html;
    charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable
    =EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Dutf-8"><BASE=20
    href=3D"file://C:\Users\jlowery\AppData\Local\Microsoft\Windows
    =
    Mail\Stationery\">
    <STYLE>BODY {
    BACKGROUND-POSITION: left top; FONT-SIZE: 10pt; COLOR:
    #000000; =
    BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial
    </STYLE>
    <META content=3D"MSHTML 6.00.6000.16587"
    name=3DGENERATOR></HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV>
    <DIV>WebAssist is proud to announce the release of
    Dreamweaver Tools for =
    Kuler.=20
    <SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana;
    mso-fareast-font-family: =
    'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; =
    mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
    mso-bidi-language: AR-SA">Kuler=20
    is the Adobe Web application for designers to create, explore
    and share =
    color=20
    schemes. With Dreamweaver Tools for Kuler, you get instant
    access to the =
    more=20
    recent, most popular or highest rated colors right in
    Dreamweaver. =
    Sample your=20
    color from any Dreamweaver color picker or insert a hex color
    value into =
    code=20
    with a single mouse click.</SPAN></DIV>
    <DIV><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana;
    mso-fareast-font-family: =
    'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; =
    mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
    mso-bidi-language:
    AR-SA"></SPAN> </DIV>
    <DIV><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana;
    mso-fareast-font-family: =
    'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; =
    mso-ansi-language: EN-US; mso-fareast-language: EN-US; =
    mso-bidi-language: AR-SA"><A=20
    href=3D"mhtml:{0360D5ED-2521-494D-B550-EB8E102701CA}mid://00000300/!x-usc=
    http://www.webassist.com/go/kuler">Dreamweaver=20
    Tools for Kuler</A> is a free extension, now available
    for Dreamweaver =
    CS3 and=20
    Dreamweaver 8 on both Mac and PC
    platforms.</SPAN></DIV></DIV>
    <DIV><FONT face=3DArial size=3D2>
    <P>Best - Joe</P>
    <P>Joseph Lowery<BR>VP of Marketing, <A=20
    href=3D"
    http://www.webassist.com/">WebAssist</A><BR>Author,
    <A=20
    href=3D"
    http://www.idest.com/dreamweaver/">Dreamweaver
    CS3=20
    Bible</A></P></FONT></DIV></BODY></HTML>
    ------=_NextPart_000_014C_01C85362.5D7C3260--

    This is a multi-part message in MIME format.
    ------=_NextPart_000_017B_01C8536F.CCCF1DA0
    Content-Type: text/plain;
    charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable
    Ah, the joys of copy and paste.... the direct link: =
    http://www.webassist.com/go/kuler
    Best - Joe
    "Joseph Lowery" <[email protected]> wrote in
    message =
    news:[email protected]...
    WebAssist is proud to announce the release of Dreamweaver
    Tools for =
    Kuler. Kuler is the Adobe Web application for designers to
    create, =
    explore and share color schemes. With Dreamweaver Tools for
    Kuler, you =
    get instant access to the more recent, most popular or
    highest rated =
    colors right in Dreamweaver. Sample your color from any
    Dreamweaver =
    color picker or insert a hex color value into code with a
    single mouse =
    click.
    Dreamweaver Tools for Kuler is a free extension, now
    available for =
    Dreamweaver CS3 and Dreamweaver 8 on both Mac and PC
    platforms.
    Best - Joe
    Joseph Lowery
    VP of Marketing, WebAssist
    Author, Dreamweaver CS3 Bible
    ------=_NextPart_000_017B_01C8536F.CCCF1DA0
    Content-Type: text/html;
    charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable
    =EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Dutf-8"><BASE=20
    href=3D"file://C:\Users\jlowery\AppData\Local\Microsoft\Windows
    =
    Mail\Stationery\">
    <STYLE>BODY {
    BACKGROUND-POSITION: left top; FONT-SIZE: 10pt; COLOR:
    #000000; =
    BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Arial
    </STYLE>
    <META content=3D"MSHTML 6.00.6000.16587"
    name=3DGENERATOR></HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV>Ah, the joys of copy and paste.... the direct
    link: <A=20
    href=3D"
    ler</A></DIV>
    <DIV> </DIV>
    <DIV>Best - Joe</DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Joseph Lowery" &lt;<A=20
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    =
    wrote in=20
    message <A=20
    =
    href=3D"news:[email protected]">news:fm56cf$m40$1@forums=
    .macromedia.com</A>...</DIV>
    <DIV>
    <DIV>WebAssist is proud to announce the release of
    Dreamweaver Tools =
    for=20
    Kuler. <SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; =
    mso-fareast-font-family: 'Times New Roman';
    mso-bidi-font-family: 'Times =
    New Roman'; mso-ansi-language: EN-US; mso-fareast-language:
    EN-US; =
    mso-bidi-language: AR-SA">Kuler=20
    is the Adobe Web application for designers to create,
    explore and =
    share color=20
    schemes. With Dreamweaver Tools for Kuler, you get instant
    access to =
    the more=20
    recent, most popular or highest rated colors right in
    Dreamweaver. =
    Sample your=20
    color from any Dreamweaver color picker or insert a hex
    color value =
    into code=20
    with a single mouse click.</SPAN></DIV>
    <DIV><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; =
    mso-fareast-font-family: 'Times New Roman';
    mso-bidi-font-family: 'Times =
    New Roman'; mso-ansi-language: EN-US; mso-fareast-language:
    EN-US; =
    mso-bidi-language:
    AR-SA"></SPAN> </DIV>
    <DIV><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Verdana; =
    mso-fareast-font-family: 'Times New Roman';
    mso-bidi-font-family: 'Times =
    New Roman'; mso-ansi-language: EN-US; mso-fareast-language:
    EN-US; =
    mso-bidi-language: AR-SA"><A=20
    =
    href=3D"mhtml:{0360D5ED-2521-494D-B550-EB8E102701CA}mid://00000300/!x-usc=
    http://www.webassist.com/go/kuler">Dreamweaver=20
    Tools for Kuler</A> is a free extension, now available
    for Dreamweaver =
    CS3 and=20
    Dreamweaver 8 on both Mac and PC
    platforms.</SPAN></DIV></DIV>
    <DIV><FONT face=3DArial size=3D2>
    <P>Best - Joe</P>
    <P>Joseph Lowery<BR>VP of Marketing, <A=20
    href=3D"
    http://www.webassist.com/">WebAssist</A><BR>Author,
    <A=20
    href=3D"
    http://www.idest.com/dreamweaver/">Dreamweaver
    CS3=20
    Bible</A></P></FONT></DIV></BLOCKQUOTE></BODY></HTML>
    ------=_NextPart_000_017B_01C8536F.CCCF1DA0--

  • Ruby code for sql queries

    Hello everybody,
    First off, let me apologize if my inquiry does not belong on this forum. I am confident however, that someone here has had experience with this since Oracle and ruby on rails/ruby are used frequently. My fingers are crossed, here's is my problem:
    I am currently working on a database system that utilizes ruby on rails
    with a oracle database. Here's the situation:
    the ruby on rails web application is up and running;
    my oracle database is full of tables that are populated with data;
    there is a successful connection between rails and my oracle database;
    however, what isn't finished is I currently have data mining queries in
    sql (eg. find minimum time someone has been employed = "Select
    min(time) from table...etc") and what I need to do is write one ruby
    program for each of my sql queries so that the ruby program:
    1) connects to the oracle database each time the query is called
    2) runs the sql query on the oracle database
    3) takes the results from the query and returns them in an array or
    something of that nature (so that I can use the results in an html file
    on the ruby on rails web application).
    Again, I apologize if this question does not belong on this forum. If someone however has experience with this could you please give me example code of what this would look like (using different sql queries). Thank you

    I apologize if this question does not belong on this forum. OTN does have a forum dedicated to Ruby/Ruby On Rails. I admit it doesn't seem to get much traffic. I think that's because most people working with Ruby tend to go for F/OSS products.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • GETLIST BAPI Wrapper for Purchase Requisiton

    HI All,
    I want to know the GETLIST BAPI Wrapper for Purchase Requisition in ECC 6.0 . I am able to find GETDETAIL but not GETLIST.
    It would be nice if anyone could help me out in this.
    Regards,
    Madhu.
    Edited by: madhu kv on Jul 8, 2008 10:53 AM

    In that case you could just write your own custom function module to do it.  All you need to do is write a simple select statement to return a table of document numbers.  It shouldn't take more than an hour to have it all up and running.  You could add a parameter to the interface so that it either returns just a list of document numbers or if the parameter is set, it calls GET_DETAIL for each document and returns the full data.
    Good luck

  • Service wrapper for a web service

    Hi All,
    How can I create a service wrapper for a web service.
    Thanks
    Gopal

    Create a Message/ Service Interface for your web-service....it is the service wrapper.

  • WCF RIA wrapper for SOAP service that is compatible with Lightswitch Data Source

    I have a WCF RIA wrapper around a SOAP service and all the simple entities work just fine. Unfortunately Lightswitch does not like my represenation of complex entities like SalesInvoice that contains a list of SalesInvoiceLines. How should I represent
    such an entity in RIA so that Lightswitch can accept it? Do I use the AssociationAttribute? If so what format? What type of collection/list/entityset should the SalesInvoiceLines be? An Example would be very useful.

    HI,
    Welcome to Lightswitch forum.
    According to your description above, I researched this issue, I found that while both OData and RIA Services support complex types on entities, due to scheduling constraints LightSwitch will not. 
    If a complex type property is exposed on an entity, LightSwitch will import the entity, ignoring that property. Further information:
    How to create a RIA service wrapper for OData Source
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Outlook 2013 64 Bit - iTunes 12 64 Bit - No Calendar or Contact Sync

    Current System Setup Microsoft Office 2013 Standard Edition - 64 Bit iTunes 12.1.2.27 - 64 Bit Windows 8.1 Professional Edition - 64 Bit Current Issue: Outlook Calendar and Contacts stopped syncing several weeks ago.  When it stopped the computer was

  • URL Based Transaction Launcher not loading

    Hi All, There is a URL based transaction launcher configured to display a crm opportunity report. All the settings seem to be fine. The configuration is done correctly in the wizard. The URL is defined in view CRMV_IC_LTX_URL. The logical link and Tr

  • Outbound queues are in ready status

    Hi, In our system outbound queue are getting stuck in READY status. They are not getting executed automtically from READY status we have to manually exceute them in SMQ2. How i can clear the queue which are in  READY status. Thanks & Regards, Koushal

  • Javaws fails to launch in mac 10.7.x with jre 8 build 91 onwards

    Hi, Could any one help me letting know why javaws fails to launch in mac 10.7.x with jre 8 build 91 onwards developer preview When i double click on javaws which is present in "Library/Internet\ plug-Ins/JavaAppletPlugin.plugin/contents/home/bin" it

  • Images from a URL saved to cache?

    Hi all, I have an applet, which is required to download alot of images (maybe 100?) from different URL's. My question is, will these images be saved to the user's cache after viewing the applet for the first time (i.e. will they need to be downloaded