Labview and remote DAQ via website, best method?

For my Univsersity project i need to set up a remote DAQ that can be fully controlled via the internet by anyone with a java-enabled browser. i'm just starting out and don't know the best way to go about doing this. I don't have the internet developers toolkit, but i have already setup the DAQ locally.
Any help would be greatly apprieciated.
Brad

Well first of all there are many tools available that let you do that.
1)If you have NIDAQ installed on two machines on the network. you can add the DAQ device on a remote machine as a virtual device. Its just like mapping network printers and sharing drives over network. What happens is that DAQ board shows up in MAX(Measurement & Automation Explorer) of a remote machine. Thats allows you to use the board over the network BUT not in web browser.
2)This would be easier if you had internet toolkit for labview. Using LabVIEW CGIs, you would have done that. End result would be like a web page, you specify the channel and device number and CGI gets you the data in webpage from the web server that has DAQ board installed.
3)Create ActiveX control using Visual basic, and h
ave that ActiveX control embedded in webpage and communicate to DAQ machine using DataSocket.
4)Write CGI in C and call DAQ C API to execute the DAQ program on server and get data back.
I have little idea as to how go about doing it in JAVA. The hard part i think is how would you interface JAVA with DAQ board???
A Rafiq
National Instruments
http://www.ni.com/ask

Similar Messages

  • How to install VISA after Labview and NI-DAQ are already installed

    I have Labview 5.1.1 and NI-DAQ 6.6 installed and running properly. I now find that I need to install VISA. Must I uninstall everything (hardware, NI-DAQ, and Labview) and then run the Labview installation again to install VISA? Or can I just go ahead and run the Labview setup again in order to install VISA?

    No, you do not need to uninstall any of your hardware or software to install VISA. There are two ways that you can install VISA.
    1. You can modify your installation of LabVIEW by going into Add or Remove Programs in the Control Panel, clicking on LabVIEW and selecting Modify (or Change, depending on your operating system). If you have your LabVIEW CD in the CD drive, you can simply enable VISA support in the Installer Tree. This will install VISA on your computer without modifying the installation of any of your other programs.
    2. You can also download NI-VISA from our website and install it. You will probably need a reasonably fast internet connection, but this may be the easier way to install it. The URL for the VISA download page is linked below. Ve
    rsion 3.0.1 is the newest and works with most Windows operating systems.
    http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument
    Regards,
    Mike N.
    Applications Engineer
    National Instruments

  • Runtime Error of Labview and NI-DAQ utility in Win98

    I got the following message when I tried to start LabVIEW 5.0.10 and NI-DAQ Configuartion Wizard:
    Runtime Error!
    (corresponding directories)\xxxxxxx.exe
    program abnormal terminated
    Acutally, I have tried to register msi.dll service with regsvr32 c:\windows\system\msi.dll command. But this cannot solve my problem. Does anyone can tell me how can I solve this problem?
    Thank you for your kind attention.

    I do not have version 5.0.10 anymore, but I would suggest just reinstalling the NI-DAQ driver. There could be any of a large number of problems causing this and, when you are getting fatal errors like this, it is usually easier to reinstall the drivers than work through other possiblities.
    J.R. Allen

  • Labview 2010 SP1 - How to install just the labVIEW and remote panel

    Hi all
    I am currently using a licensed version of LabVIEW 2010 SP1. It came up with 6 to 7 DVD’s each of them containing around 5 GB of data. Installing all these stuffs eats up around 30 GB of ma C drive.
    My project just deals with 2 EPOS controllers controlling 2 of maxon EC motors and these 2 EPOS controllers are communicating via USB port with the client PC. This client PC have to be monitored and controlled remotely by host PC containing the same LabVIEW version.
    To do this, do I have to install all of these 7 DVD’s or just enough to download the “LabVIEW for education 2010 SP1” from the NI website, available in the below link “http://search.ni.com/nisearch/app/main/p/ap/tech/lang/en/pg/1/sn/n8:28,ssnavdl/”
    Awaiting for your reply  friends.
    Thanks in advance

    Duplicate Post

  • NI LabVIEW and NI DAQ interface between radio (from NI's Facebook wall)

    LabVIEW support community we need your help.
    We found this question from Jaja on our Facebook page. We feel her question might warrant ample discussion so we have pointed her here to the forums and created this thread for her. Is there anyone who can advise Jaja on her project here on this forum thread?
    Yours truly,
    NI Social Media Team

    Hi,
    I use NI USB 6008 to get the voltage from the radio then it will convert to frequency signal (simulation in LabVIEW) . Anyway, when I connect the NI USB 6008 to my computer, it can't be detected and I can't fint DAQ Assistant in the Labview .. I'm using Labview 2011 (trial version)

  • Labview and NI-DAQ 7.x, outputting to NI-6221 card

    I'm trying to use a Labview toggle switch to control a bank of relays (all at once) through an NI-6221 DAQ card. The DAQ Assistant VI will work with a true/false constant in an array, but not with a toggle. Is there a way I can control the DAQ Assistant with a toggle?

    The DAQ Assistant DIO Line Output receives an array of Booleans. If you would like to send a toggle switch to your DAQ Assistant, then all you have to do is wire it through the Build Array.vi (located in All Functions»Array). If you are wanting to write to multiple lines based off of the value of a single toggle switch, then set up all of the lines in the DAQ Assistant and place the toggle switch into a for-loop, where N equals the number of lines you're writing to. Wire the toggle switch out of the for-loop with auto-indexing, which will create an array of Booleans of the proper size, and connect it to the DAQ Assistant.
    Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • What is the best method for backing up photos in IPhoto?

    I have over 10,000 photos in IPhoto and am looking for the best method for doing a backup (or an archive?).  I'm now using ICloud and it appears it's just photo streaming and does not have storage capability. External hard drive, copying to a DVD, other suggestions?

    Most Simple Back Up
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex:
    Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically. Examples of such apps: Chronosync or DejaVu . But are many others. Search on MacUpdate
    My Routine
    My Library lives on my iMac. It’s Backed up to  two external hard disks every day. These disks are permanently attached to the iMac. These back ups run automatically. One is done by Time Machine, one is a bootable back up done by SuperDuper
    It’s also backed up to a portable hard disk when ever new photos are added. This hard disk lives in my car. For security, this disk is password protected.
    I have a second off-site back up at a relative’s house across town. That’s updated every 3 or 4 months.
    My Photos are backed up online. There are many options: Flickr, Picasa, SmugMug etc. However, check the terms of your account carefully. While most sites have free uploading, you will often find that these uploads are limited in terms of the file size or the bandwidth you can use per month. For access that allows you to upload full size pics with no restrictions you may need to pay.
    Every couple of months I test the back ups to make sure they are working correctly. It’s very easy to mis-configure a back up application, and the only way to protect against that is to do a trial restore.

  • Best method of importing from external drive?

    I have a 1T LaCie and want to know the best method to get those images into LR. The defaults are: "Add" and "NewPhotos" to "MyCatalog"
    I think I may have more than one catalog and am not certain how to combine them. Is it best practice to have only one catalog?
    Thanks in advance,
    Mr Mayor

    Duplicate thread, see Best method to import from external drive?

  • Replace SUP1A with SUP2 - Best method to copy configs

    I need to replace a couple of SUP1As with SUP2s and could use some advice on the best method to proceed. From what I have read here and elsewhere, it seems the best method is to stage a SUP2 in a spare chassis and apply the configs beforehand. Then, the migration would simply consist of swapping SUPs. I would like to know if this is the best course of action. Also, as to copy configs, would it be preferable to copy the configs to a flash card in my test SUP2 and then just insert that flash card into my new production SUP2. Or, is it better just to use the actual SUP2 I built in the lab. Is there a difference?
    Your help is greatly appreciated.
    Thanks!

    Thanks for the reply. I plan on using a spare chassis, but would really like to know if it is possible to go the flash card route in lieu of tftp. With TFTP I would need an ethernet connection; further, I would be transferring config to bootflash and, thus, have to swap card for card. Is it possible to build SUP2 in lab with new config, copy config to disk0: (flash card) and then just send that flash card to campus site where they can insert into new SUP2 and copy from disk0: to bootflash?
    Thanks again!

  • DBA Cockpit: Planning calendar and remote Oracle databases- which method?

    For using DBA Planning Calendar to schedule BR*Tools for remote Oracle database AS Java systems I have successfully implemented both the Secure Shell and SAP gateway methods in [Note 1025707 - DBA Cockpit: Planning calendar and remote Oracle databases|https://service.sap.com/sap/support/notes/1025707] and was interested in which of these two methods others have found to be more supportable and maintainable?
    In more detail, the note has these two methods for non-ABAP remote systems:
    2. Connection through Remote/Secure Shell
    Specifically Secure Shell. Rejecting remote shell as too old and insecure a protocol.
    3 Connection through SAP gateway
    The note provides clues as to how these methods work. Expanding on that:
    With #2, central ABAP system calls out to its OS user level to execute the ssh client (after gw/rem_start has been set to the non-default value SSH_SHELL) which it finds in the location specified in gw/ssh (default value is /usr/bin/ssh). It must use password-less authentication and the key-based authentication must also not require a passphrase. (Using ssh-agent is not an option since this is being called from SAP, not from your own script.)
    It remotely runs via ssh a command, sapxpg, which must be found in the PATH of the remote user. (This is why the note, which has you place this exe sapxpg and a subset of the BR*Tools in the home dir of the remote user, also has you make sure the home dir is included in the path--your OS might or might not include the user's home dir in the path in the default shell environment for a new user.)
    Then via sapxpg, the BR*Tools are invoked.
    One thing that may be confusing here is you have to check at least one gateway parameter 'gw/...' in the central system to get the method #2 the non-gateway method to work--this is because the two methods are technically almost the same: in #2, secure shell is used to basically start a gateway on the fly with sapxpg in order to call the BR*Tools each time a DBA Planning Calendar action runs or you view DBA or Backup logs of the remote system from the central system. With #3, the gateway runs continuously on the remote system.
    With #3, central system connects to remote SAP standalone gateway, which executes the BR*Tools installed in the standard SAP kernel directory of the SAP gateway. This method is simpler to describe so it sounds like it has less components than the secure shell method, however you do have an entire SAP system running, although it is just a standalone gateway.
    Thoughts:
    These pros/cons are UNIX/Linux-oriented since I assume most Windows environments do not have added 3rd-party products that provide secure shell so SAP gateway is the only method.
    Secure shell
    + Less software required (not counting secure shell which comes with the operating system distribution): just a few SAP executables placed in the home dir of an ordinary user on the remote system.
    + Secure shell service probably automatically starts upon boot of the remote system operating system.
    + Secure shell is a widely used tool outside of SAP for executing commands remotely without passwords.
    - Installation is non-standard: shell environment of remote user is not adapted by SAP installer since SAP installer is not used, SAP executables in the home dir of the remote user is non-standard. Has to be setup manually.
    - Requires setting up secure shell key-based authentication, which should be known by UNIX/Linux admins or combined Basis/UNIX/Linux admins, but might be less familiar to SAP Web AS only admins.
    - If your admin config policy is to have SAP interact as little possible with the OS level for interfaces with other systems, here you are relying on the OS-level secure shell.
    - Using a private key that does not require a passphrase on the central system may not fit with your security policies if you have standards for secure shell configuration.
    SAP gateway
    + The gateway is a standard installation, performed with SAP installation tool, with the exception of a few additional environment settings that have to be added after the installation. BR*Tools are installed in the standard location. Can use standard procedures for updating this software.
    + Only uses SAP software.
    - More software on remote system: standalone gateway just to run BR*Tools and view logs.
    - SAP Kernel of remote gateway should probably be updated whenever you do SAP kernel updates across your systems for consistency. One more system to update.
    - Shell environment of remote user that runs the gateway looks like something setup by the SAP installer but is not standard because it has a few additional environment variables added.
    - Need to make sure the SAP gateway is started on the remote system.

    Hi Joe,
    I configured a monitoring/dba landscape for two SAP Portals and one SAP BusinessObjects system on a SAP landscape by using DBACOCKPIT, at a customer site. These systems are running on AIX, Windows 2003/2008 servers and attached to the central monitoring system with standalone SAP gateway installations.
    One another reason to not use OS based commands or 3rd party tools is security. We are stopping and disabling most of the services on OS where SAP system is running on, because of the security reasons. I faced more security gaps on rsh/ssh and the other tools than standalone SAP Gateway installations. As you can figure out that rsh/ssh is getting more attack than standalone SAP Gateway, because of well known by the IT world.
    As a summary of it, this depends to point of view and policy of the IT organization. I applied both ssh and standalone SAP Gateway solutions at my customers, but I choose standalone SAP Gateway installation among of them.
    Best regards,
    Orkun Gedik

  • Without NI DAQ device- how to get data from MSP into labVIEW and process it

    Hi,
    I do not have an NI DAQ device. I have an MSP430 and my sensor is an ADXL335 Accelerometer. How do I get data from my MSP into labVIEW and process it?
    Just looking for a nudge in the right direction. I'm having a hard time finding resources on labVIEW that don't involve NI specific DAQs. 
    Thanks in advance,
    Aziz

    There are many ways to get data into LabVIEW that do not involve NI-DAQ devices.
    I think your easiest option would be to stream it via serial port if the data rate isn't too fast.
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle

  • Best methods for importing artwork via Illustrator with tranparency?

    I'm new to Final Cut Pro and am tryin to figure out the best methods for importing artwork via Illustrator. So far, I've been saving the artwork as a transparent PNG, but I feel like there should be a better way. Any help would be greatly appreciated.
    Thanks,
    Mike
    MacBook Pro   Mac OS X (10.4.8)  

    Hi:
    Ussually I have to rebuild in AI the company logo (I use to work for industries) to include in FCP edit.
    - If you have CS2, open Photoshop and create a new file using the right preset (i.e. DV PAL) using transparent background. That creates a PSD empty file with all attributes you need (pixels dimensions and aspect ratio) to use later in FCP.
    - Select your work (i.e. the final logo) in the AI canvas and copy it.
    - Paste it in the empty PSD file as "vextor information" (I don't remember right now the exact words!). That way you can resize it in the PSD file without loosing quality.
    - The better ir deciding the size NOW in Photoshop, or create sveral version in different sizes. Yuo'll get better quality id you make the resizings in Photoshop rather that doing a scale in FCP timeline.
    - Once your logo is in the right dimension into the PSD file, save a copy and flatten all layers keeping the transparent background. If you don't need the layers during editing in FCP, you better have all layers flattened.
    - Import that file in FCP.
    That's my workflow, but probably you'll find different flavors here!
      Alberto

  • Java method to call LabView on remote computer

    Greetings,
    I am very new to LabView and have a Java programming background.
    I have to put together a way to submit a String to a LabView vi on a remote computer.  The Labview should then return another String to my Java program.  I just need an example of calling this on the remote computer.  I've seen many looping and circular references to doing it via JNI, but not much that shows a concrete example.
    Does anyone have a working example of opening the socket (or datagramsocket or whatever), writing to the socket, receiving the response and then closing the socket?
    Thank you.

    JNI won't really help for remote invocation. With JNI you would normally create a DLL for the local computer that interfaces to whatever you want to call.
    But considering your mentoining of remote calls, I think it would be easier to implement on the LabVIEW side some TCP/IP server and just call that from your Java program using socket calls.
    LabVIEW comes with a few networking examples. Check in the example finder for them. Doing the Java part shouldn't really be to difficult either. The fact that both LabVIEW and Java use Network Byte order by default for their flattened data also comes in handy.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • I'm moving to an imac from a PC. I want to move my itunes library from the PC to my new imac. What is the best method and where can I find instructions?

    I'm moving to an imac from a PC. I want to move my itunes library from the PC to my new imac. What is the best method and where can I find instructions?

    Move iTunes from PC to MAC, http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html

  • [Forum FAQ] How to install and configure Windows Server Essentials Experience role on Windows Server 2012 R2 Standard via PowerShell locally and remotely

    As we all know,
    the Windows Server Essentials Experience role is available in Windows Server 2012 R2 Standard and Windows Server 2012 R2 Datacenter. We can add the Windows Server
    Essentials Experience role in Server Manager or via Windows PowerShell.
    In this article, we introduce the steps to install and configure Windows
    Server Essentials Experience role on Windows Server 2012 R2 Standard via PowerShell locally and remotely. For better analyze, we divide this article into two parts.
    Before installing the Windows Server Essentials Experience Role, please use
    Get-WindowsFeature
    PowerShell cmdlet to ensure the Windows Server Essentials Experience (ServerEssentialsRole) is available. (Figure 1)
    Figure 1.
    Part 1: Install Windows Server Essentials Experience role locally
    Add Windows Server Essentials Experience role
    Run Windows PowerShell as administrator, then type
    Add-WindowsFeature ServerEssentialsRole cmdlet to install Windows Server Essentials Experience role. (Figure 2)
    Figure 2.
    Note: It is necessary to configure Windows Server Essentials Experience (Post-deployment Configuration). Otherwise, you will encounter following issue when opening Dashboard.
    (Figure 3)
    Figure 3.
      2. Configure Windows Server Essentials Experience role
    (1)  In an existing domain environment
    Firstly, please join the Windows Server 2012 R2 Standard computer to the existing domain through the path:
    Control Panel\System\Change Settings\”Change…”\Member of. (Figure 4)
    Figure 4.
    After that, please install Windows Server Essentials Experience role as original description. After installation completed, please use the following command to configure Windows
    Server Essentials:
    Start-WssConfigurationService –Credential <Your Credential>
    Note: The type of
    Your Credential should be as: Domain-Name\Domain-User-Account.
    You must be a member of the Enterprise Admin group and Domain Admin group in Active Directory when using the command above to configure Windows Server Essentials. (Figure 5)
    Figure 5.
    Next, you can type the password for the domain account. (Figure 6)
    Figure 6.
    After setting the credential, please type “Y” to continue to configure Windows Server Essentials. (Figure 7)
    Figure 7.
    By the way, you can use
    Get-WssConfigurationStatus
    PowerShell cmdlet to
    get the status of the configuration of Windows Server Essentials. Specify the
    ShowProgress parameter to view a progress indicator. (Figure 8)
    Figure 8.
    (2) In a non-domain environment
    Open PowerShell (Run as Administrator) on the Windows Server 2012 R2 Standard and type following PowerShell cmdlets: (Figure 9)
    Start-WssConfigurationService -CompanyName "xxx" -DNSName "xxx" -NetBiosName "xxx" -ComputerName "xxx” –NewAdminCredential $cred
    Figure 9.
    After you type the commands above and click Enter, you can create a new administrator credential. (Figure 10)
    After creating the new administrator credential, please type “Y” to continue to configure Windows Server Essentials. (Figure 11)
    After a reboot, all the configurations will be completed and you can open the Windows Server Essentials Dashboard without any errors. (Figure 12)
    Figure 12.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Part 2: Install and configure Windows Server Essentials Experience role remotely
    In an existing domain environment
    In an existing domain environment, please use following command to provide credential and then add Server Essentials Role: (Figure 13)
    Add-WindowsFeature -Name ServerEssentialsRole
    -ComputerName xxx -Credential DomainName\DomainAccount
    Figure 13.
    After you enter the credential, it will start install Windows Server Essentials role on your computer. (Figure 14)
    Figure 14.
    After the installation completes, it will return the result as below:
    Figure 15.
    Next, please use the
    Enter-PSSession
    cmdlet and provide the correct credential to start an interactive session with a remote computer. You can use the commands below:
    Enter-PSSession –ComputerName
    xxx –Credential DomainName\DomainAccount (Figure 16)
    Figure 16.
    Then, please configure Server Essentials Role via
    Add-WssConfigurationService cmdlet and it also needs to provide correct credential. (Figure 17)
    Figure 17.
    After your credential is accepted, it will update and prepare your server. (Figure 18)
    Figure 18.
    After that, please type “Y” to continue to configure Windows Server Essentials. (Figure 19)
    Figure 19.
    2. In a non-domain environment
    In my test environment, I set up two computers running Windows Server 2012 R2 Standard and use Server1 as a target computer. The IP addresses for the two computers are as
    below:
    Sevrer1: 192.168.1.54
    Server2: 192.168.1.53
    Run
    Enable-PSRemoting –Force on Server1. (Figure 20)
    Figure 20.
    Since there is no existing domain, it is necessary to add the target computer (Server1) to a TrustedHosts list (maintained by WinRM) on Server 2. We can use following command
    to
    add the TrustedHosts entry:
    Set-Item WSMan:\localhost\Client\TrustedHosts IP-Address
    (Figure 21)
    Figure 21.
    Next, we can use
    Enter-PSSession
    cmdlet and provide the correct credential to start an interactive session with the remote computer. (Figure 22)
    Figure 22.
    After that, you can install Windows Server Essentials Experience Role remotely via Add-WindowsFeature ServerEssentialsRole cmdlet. (Figure 23)
    Figure 23.
    From figure 24, we can see that the installation is completed.
    Figure 24.
    Then you can use
    Start-WssConfigurationService cmdlet to configure Essentials Role and follow the steps in the first part (configure Windows Server Essentials Experience in a non-domain environment) as the steps would be the same.
    The figure below shows the status of Windows Server Essentials.
    Figure
    25.
    Finally, we have successfully configured Windows Server Essentials on Server1. (Figure 26)
    Figure 26.
    More information:
    [Forum
    FAQ] Introduce Windows Powershell Remoting
    Windows Server Essentials Setup Cmdlets
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

Maybe you are looking for

  • Looking for a simple calendar.. free

    I would like to add an event calendar to my web site. Your basic monthly calendar with the option of adding tool tip notes or popup windows to individual days. Searching both the Adobe extension page and other forums finds hundreds.. both free and fo

  • Installation Photoshop CS4 auf Win7 x86 schlägt fehl. "Installations Datenbank beschädigt"

    Moin zusammen, habe im Threadtitel genannten fehler am Telefon wird das Produkt garnicht mehr supportet, und der Chat konnte mir auch keine Lösung anbieten. Ich habe vom Chat das Tool zum bereinigen der Insallationsdatenbank bekommen = keine Hilfe Ic

  • Who can I do this?

    Ok I am helping a friend with a website for a local ski shop to sell online. I have done dynamic sites before and have managed to figure things out most of the time by searching....but I am really butting my head against the wall. Here is what I need

  • IWorks '08 apps not working under Snow Leopard 10.6.1

    Recently installed Snow Leopard and applied updates. Used Pages and Numbers recently and find they don't work. Old files can open ok and all text is visible, however, I am unable to do anything from the menu bar. For example, from the "Insert menu",

  • Time Machine: Backup is too large

    Greetings, I recently installed a new HD on my MBP.  After doing so Time Machine attempted to perform a full backup to my 1 TB external HD. The backup failed, as my partitioned external drive did not have the available to space to store a full backup