Jump to content

Ian

Members
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Ian

  1. Great thanks for the information. I now have it working. Looks very promising.

    One thing to note for other users, if you use the "Abort Execution" button in the toolbar, then not all processes are destroyed and the second time you try to run it, you will have errors.

    You should use the "Stop" button on the GUI interface.

    I am not sure if there is an easy way to prevent this. (I have removed the "about execution" button from the toolbar"), but it would be nice if there was a better way to close the Vi's running in the background. Thoughts?

    On a similar note, can you recommend any web hosting sites (free) that will allow deployment of the generated web interfaces?

    Cheers

    Ian

  2. Excellent idea.

     

    However, I am having issues getting the demo to work. (I have not used the webserver before so it might be user error).

    I am doing the following:

    1) Open Labview project "FPPublisher.lvproj"

    2) Enable Webserver.

            a) Select "Tools->Options...->Web Server"

    post-4041-0-53099000-1443012981.jpg
     

            b) Select "Configure Web Application Server". A web page will open.

    post-4041-0-84502100-1443013110.jpg
     

    3) Open and Run "FPPublisher.lvproj->My Computer->To Publish->Main.vi"

    4) Check Web Server Application has been published

            a) In  "Configure Web Application Server->Web Services Management"

    post-4041-0-30680900-1443013407.jpg
     
    In my case nothing shows in this box, which I think is causing the problem.
     

    5) Get server webpage

            a) In project explorer, right click "FPPublisher.lvproj->My Computer->WebService->Public Content->Main.html->Show Public Content URL"

    post-4041-0-09782400-1443013990.jpg
            b) Select either "local debugging" or "Application" and then "Copy URL".
    6) View in webrowser.
            a) Paste URL into Chrome
     

    If I use the "local debugging" url I get:

    post-4041-0-85635000-1443014302.jpg
    or the application url, I get:
    post-4041-0-48693300-1443014305.jpg
     
    Any suggestions/ideas of what I am doing wrong?
     
    Appreciate your help
    Ian

     

     

    post-4041-0-53099000-1443012981.jpg

    post-4041-0-84502100-1443013110.jpg

    post-4041-0-30680900-1443013407.jpg

    post-4041-0-09782400-1443013990.jpg

    post-4041-0-85635000-1443014302.jpg

    post-4041-0-48693300-1443014305.jpg

  3. Hi,

     

    A quick update in case anybody else is interested.

     

    I purchased the Maplin 4 Port USB Gigabit Network Server (http://www.maplin.co...k-server-521590) because it was low cost and easily accessible.

    I installed the software and connected it to my LAN. I started the server on my local computer and the Ethernet to USB hub was instantly recognized. I then connected the NI-USB-6008 to the device. The NI-USB-6008 was detected and tried to download the driver software but failed. I then connected the NI-USB-6008 directly to the computer, the driver installed correctly. I then connected the NI-USB-6008 back to the USB Network server. It appeared in Device Manager under "Data Acquisition Devices", but failed to start giving the message "This device cannot start (Code 10) in Device manager.

    I have tried updating the firmware but this doesn't help.

    Other USB devices seem to work correctly.

     

     

    After a bit more research I found the following post:

    http://forums.ni.com/t5/LabVIEW/Has-anyone-used-a-USB-device-server-with-a-DAQmx-or-NI-VISA-USB/td-p/2152768

    The down side is that it is >10 time the price.

  4. Hi,

     

    I would like to control some of my USB devices over ethernet (e.g. NI USB-6008, http://sine.ni.com/nips/cds/view/p/lang/en/nid/201986)

    Has anybody tried using or can recommend any Network attached USB Hubs?

    The following are examples I have found on the internet:

    http://www.digi.com/products/usb/anywhereusb#models

    http://www.bb-elec.com/Products/USB-Connectivity/USB-Over-Ethernet/USB-Over-Ethernet.aspx

    http://www.maplin.co.uk/4-port-usb-gigabit-network-server-521590

     

    Do you know if they work with Labview?

     

    Thanks for your help

     

  5. Hi,

     

    I need to control up to 32 serial port devices (RS232) using Labview.

    Can any body recommend a product that will do this?

     

    I have been looking at Terminal Servers (e.g. http://www.perle.com/products/Terminal-Server.shtml)

    Does anybody know if I can use this device with Labview to access each RS232 device.(NB: I can currently access each device using TeraTerm).  The recommended retail price for a 16port unit is £800.

    Can anybody suggest a cheaper solution?

     

    Thanks in advance.

    Cheers

    Ian

  6. Hi,

    You can try looking at the following for a list of online hosting facilities:

    http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hosting_facilities

    Bitbucket offers a free service:

    https://bitbucket.org/?page=overview

    From reading the forums, SVN is popular. Assembla is a free limited (1Gb) hosting service:

    https://www.assembla.com/home

    I found Assembla quite good, and offers a few guides to get you started.

  7. I have also just started to learn LVOOP. You might find this of particular interest with regard to implementing classes for different instruments:

    1) http://zone.ni.com/devzone/cda/epd/p/id/6307 (This is a good white paper and provides examples similar to what I think you are trying to implement).

    2) http://vishots.com/hardware-emulation-using-labview-classes/

    3) http://vishots.com/005-visv-labview-class-factory-pattern/

    Also the following provide additional resource:

    1) http://zone.ni.com/wv/app/doc/p/id/wv-1766

    2) http://zone.ni.com/wv/app/doc/p/id/wv-2003

    3) https://decibel.ni.com/content/docs/DOC-15014

    4) http://zone.ni.com/wv/app/doc/p/id/wv-2820/nextonly/y

    1 and 2 provide a very good overview if you are just getting started with LVOOP, 3 and 4 start getting quite involved.

    I hope this helps

    Ian

    • Like 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.