How to program using labview to use a logitech joystick( for aircraft gaming) to control a flyable aerial vehicle?

I'm new to labview. appreciate if i can get some inoputs, suggestions and maybe some programme examples to help me help is much appreciated! 

Hi Doyoyo
If you open Labview and go to Help > Find Examples and then type 'joystick' into the search there is an example called "Basic Input Demo.vi" to get you started.
Good Luck
NeilR

Similar Messages

  • How can we publish Labview data using the web

    how can we publish Labview data using the web?
    Dr. Eugene Berman, Moran Kamilyan and Ravit Bar

    [email protected] wrote:
    how can we publish Labview data using the web?
    You could use shared variables and publish them to the network or use data sockets.
    Kudos always welcome for helpful posts

  • I want to send 10 bit ADC from PIC via serial communicaton. i send it separetly 8 bit first then the other 2 bit. how to program in labview to capture those two packet then combine it togother

    i want to send 10 bit ADC from PIC mCu via serial communicaton.
     i send it separetly 8 bit first then the other 2 bit (2 bit --> with zero at 6 bit from LSB).
    how to program in labview to capture those two packet and then combine it together
    so i have 10 bit in lab view
    thank you

    Close, but now quite. You need to specify to the VISA Read how many bytes to read, not how many bits. Thus, the input would be 2, not 16. It's also not clear why you're trying to use the "String to Byte Array". The Type Cast will give you a number based on what data type you wired. You're basically telling it how to interpret the string. In this case we're telling it to interpret the string a 16-bit value, so we'll get a 16-bit integer. I know you said you wanted a 10-bit, but you can't have that. You'll get a 16-bit with 6 bits set to zero. Note: I did not completely understand what you said so we may need to change this slightly, but we want to get the communication and reading collection working first.
    Also, since you seem to be setting this in a loop you probably want to monitor this or to collect the data. For that you need a shift register. See attached for a modified version of your attempt. You need to set the datatype to I16 or U16 based on whether the value you get from the PIC is signed or unsigned.
    Message Edited by smercurio_fc on 05-01-2007 02:28 PM
    Attachments:
    Read PIC.vi ‏21 KB
    Read PIC.png ‏7 KB

  • Is it possible to condition a load cell signal with a 1520 SCXI and then use it as the primary analog feedback for a 735X motion control board?

    My system
    PXI 1052 chassis
    PXI 8196 RT controller
    Flexmotion 7356 motion controller
    Flexmotion 7354 motion controller
    6259 M series DAQ
    1520 SCXI
    1520 SCXI
    1314 SCXI frount mounting terminal block
    DSM strain gage load cells
    Exlar SR Brushless PM motors
    Kollmorgen servo star CD series 5 drives
    My objective:
    I want to measure the force on the load cells with the 1520 SCXI (i.e. excite the load cell then amplify and condition its output) then I want to use this analog (force) signal as the primary feedback for my motion control system (7356 and 7354 motion controller connected to my drives and motors).
    The problem:
    The motion controller boards (7356 and 7354) can be configured for force feedback control via analog feedback from a load cell.  However the boards implicitly expect the load cell signal to be amplified and conditioned with and external signal conditioner rather then using an NI SCXI module.  Currently I’m am reading the SCXI signals via the 6259 M seriers DAQ and consequentially have no way to route the signal into the 735X boards for force feedback control.  I can use softmotion to control the motors but then I loose the fast PID update rates possible with the 735X boards.
    The question:
    Is it possible to condition a load cell signal with a 1520 SCXI and then use it as the primary analog feedback for a 735X motion control board? 
    Thanks
    Patrick Aubin
    Ph.D Candidate
    University of Washington &
    VA MedicalCenter of Excellence for
    Limb Loss Prevention and Prosthetic Engineering  

    Hi GG,
    Thank you for your feedback.
    >create your own external circuitry to amplify the signal.>
    True a few op-amps could amplify and filter the signal externally but the performance of such an amateur built system will never match the accuracy and functionality of the 1520 SCXI.  That’s why we spent the $2500 for the professional version.
    >One thing that you could do is to use a UMI with your motion controller and then wire your signal from your SCXI to the UMI.>
    As I understand it the UMI is basically a break out connectivity interface for third party drives.  After conditioning and amplifying the analog force signal with the SCXI module the analog signal isn’t available to wire into a UMI.  To my knowledge the conditioned signal of the SCXI resides only in the PXI backplane (i.e. there is no physical access to the conditioned analog signal).  Can you explain how the UMI could be help here.
    Again thanks for your input GG.
    Patrick

  • Monitoring and controlling the Tag values of Logix 5000 using Labview while using RSLogix 5000 to program the PLC

    Hi
      I want to know how to change the input bits or tags of a PLC which is programmed using RSlogix 5000. But I need to use Labview to monitor the input bits ( like in Digitial Input bits) and then be able to change the BITS while the PLC runs and the PLC should be able to detect the change in input bits and act accordingly. The programming is done using ladder logic and its done in RSLogix 5000 and dumped into PLC using RSLogix.
    Thanks in advance

    msu,
    Once you have the OPC server up and running the best way to communicate with is is through the Datalogging and Supervisory Control module for LabVIEW.  The DSC module allows you to bind shared variables to items on your OPC server.  Then you could just read from or write to these shared variables to access the data on this OPC server.  If you don't want to get this module you could also just use datasocket to read/write from an OPC server.  The URL you would use in data socket would look something like "opc://localhost/{your opc item's address}".
    -Justin D

  • Is this how to program an algorithm which uses modular arithmatic?

    if ( (x-a)^n is not (x^n-a) (mod x^r-1,n) ) then output COMPOSITE
    from [http://primes.utm.edu/prove/prove4_3.html|http://primes.utm.edu/prove/prove4_3.html]
    a, n, and r are define variables. x is part of a polynomial (I'll use this to handle the polynomial type variables). My question is, how do I program for modular arithmetic? Does this do what the above pseudocode does?
    [ (x-a)^n]-[(x^n-a)]% (x^r-1) != 0 && [ (x-a)^n]-[(x^n-a)]% (n) != 0
    I know that a=b(mod x) means a-b is a multiple of x. Therefore I reason the above statment is correct. I assume the coma in the (mod x^r-1,n) means that (x-a)^n is neither congruent to x^r-1 nor congruent to a.
    I'd just try this out to see if it works, but if it doesn't then I wouldn't be sure if it's this piece of code, or another problem in my program which I causing problems. That's why I ask. Plus if this isn't the way it works then I have no clue how to do this.
    Thanks a lot people

    ok I'm going to emberass myself with this question now. I read the [API for polynomails|http://www.control.lth.se/~kurstr/InternDator/java/regler/se/lth/control/algorithms/Polynomial.html#Polynomial(int,%20double[])] and I can't figure out how to use the polynomials in a program. i.e. I go:
    import se.lth.control.algorithms.BasePolynomial;and when I compile I get the error "package se.lth.control.algorithms.BasePolynomial does not exits". What do I do now? I know this is a lame question, but I basically taught myself that I import whatever is written at the top beneath the bold faced type, when reading the classes API. Anyone want to clue me in on how stuff actually works?
    Edited by: bean-planet on Jul 17, 2008 4:33 PM
    Oh I see now, that's not actually part of Sun's website, it only looks similar. I guess that would explain why the package didn't come with the IDE I'm using. Am I write or just more confused? Can anyone figure out how to download the package so that I can actually use it?
    Edited by: bean-planet on Jul 17, 2008 7:13 PM

  • Would anyone know how to program the Labview code for the following: Recording an analog input signal for 100msec and then repeating this 100 times in order to finally have an averaged signal (waveform)​?

    I have added a vi, but it doesn't quite work. Would be very grateful if someone could help, thanks!
    Attachments:
    Average_0411041_2.vi ‏77 KB

    The attached VI collects 100 ms of data and does a rolling average. Since your sub-VI were not included I created this from scratch. There are comments in the code. I hope this is what you need.
    Dirk
    Attachments:
    rollingaverage110x100.vi ‏47 KB

  • How to Program with Labview over GPIB BUS to measure dc&ac voltage through TDS3014 Scope driver

    What I want to measure are Vpeak-peak,Vrms,Vmax,Vmin for both DC and AC voltagee(the output of a power supply). May I begin with the Getting Started.vi? Waiting for you help nervously.

    Hello-
    See ivifoundation.org for the IVI specs. There is probably a function to do this operation.
    Randy Solomonson
    Application Engineer
    National Instruments

  • How to program in LabVIEW to check if a vi exists in a *.llb file?

    This should be very simple, but I cannot find a way to do it. Can somebody help? Thanks.
    Ian

    if you want to do this in code then go to openG.org and download the commander you will get a host of file vi's that will do what you want. it is free and will also give you plenty of vi's to do lots of other things
    Joe.
    "NOTHING IS EVER EASY"

  • I am trying to use my shuffle with a logitech meant for an ipod.  It wont charge

    I need an adapter to use a ipod shuffle on a logitech speaker system which was designed for an original ipod.  Does anyone know where I CAN FIND ONE?.  what is the model of the adapter?

    We are starting from the beginning like its a new ipod starts out asking language, country,location services,choose a network,and when we get to "setup ipod touch  " there are 3 options 1..setup as new ipod, 2.restore from ipod backup 3 restore from itunes backup and when we hit setup as new ipod and click next it comes up with sign in with apple id or create a free apple id  we clicked create a free apple id....then comes up with bday,1st name last name, use your current email address, get a free icloud email address or change email address and THIS is where we have problems....if we hit change email address it means that sis's stuff goes under his name and moves all her stuff to this older ipod which the brother does not want. sorry this is so long but its the only way I knew to do it.

  • Using LabView to run VB program with parameters

    Hi,
    It's my first message here so I hope I am doing things correctly. I tried to do some research before asking and I found a lot of good informations but right now, I seem to be stuck.
    I am quite new to LabView, I did few VIs here and there but nothing really "serious". I am currently working on a LabView interface that deals with VB, Excel macros and Data extraction from Text file.
    The VB program is in charge of a motor position, then, some Excel macros are used to do some measurement and the results are written in a text file that I use to plot some graphs.
    The VB program I made give the window I put in the picture in the attached files. Basically, you have to enter some values in those TextBox then click on Move and the motor will move. When you click on the button Home, the motor moves back to the position "0", no need of the two TextBox. In my labview interface, I created two ComboBox that contain all the possible values for both of the TextBox of my VB program. What I would like to do, when I click on my "Measure" button on LabView that initiates the VB program, is that it can fill the two TextBox from VB with the data entered in my LabView ComboBox and then run the program, simulating a "click" on the Move button.
    Right now, I found a VI (included in the attached files) that runs my VB program from LabView (I use it as a Sub-VI) but I still have to manually put the values in my VB program. My goal would be that when I click on my LabView button to start my measure, the motor moves but the VB program doesn't show up for the user to manually enter the values he wants.
    I hope I was clear but if you need any clarification.
    I did the the VB program myself.
    I can also link the LabView interface I already created if need be.
    Thanks for your help,
    Baptiste
    Attachments:
    Moteur.png ‏5 KB
    lancerEXE.vi ‏9 KB

    First, thank you for your answers.
    I know that I don't need to use VB or LabView. I just want for myself to be able to use LabView to manage a program in VB, one in VBA and use data from a text file. I know I could write everything in VBA and that would get the job done. The thing is I want to get away from VBA and Excel as much as I can. In the future, the plan would be to re-write my VBA program with LabView but as of now, I just want to use LabView to manage everything. I know I don't really need it but I want to learn how to do it and have something that works.
    So I would like to know if there is way to do what I wish to do, running my VB program with parameters coming from LabView.
    Thanks

  • I m studen t of MS i develop a new CDMA reciver , how i can implement this on ni devices using labview

    i want to know the hardware which i should use and how i can use labview .
    i use matlab for developing code

    The following link should be helpful. I let you have a look.
    How to make Matlab and Labview work together?
    Regards.
    Romain D.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    NIDays 2010 : Conférence mondiale de l'instrumentation virtuelle
    >>Détails et Inscription<<

  • Can i use labview 2010 to acquire echoes using Fastframe function?

    I have a Tektronix DPO 7054 oscilloscope which has the Fastframe function. How can I program in Labview to use this function? My signal is a series of echoes (20 echoes). I only want to acquire the first echo and the last echoes. I don't want to acquire all the 20 echoes as there are too many points which reduce the computer speed substantially. 
    Any suggestions?
    Many thanks!
    Mike

    I am actually wanting to measure the time interval for the series of echoes. I have a labview program to acquire all 20 echoes in a VI. I know I can pick any two echoes by a simple labview programming. However,  to acquire all the echoes took too much time as the sample rate of the oscilloscope is very high (40 Gs/s). What I want to do is acquire the first and last echoes using the Fastframe of this oscilloscope, which can pick any echoes.

  • How can we store xml data using jsp

    hai,
    Can anyone please explain in brief how to store xml data using jsp. Also if possible please explain by specifying the code.
    regards,
    Praveen Vinnakota.

    [email protected] wrote:
    how can we publish Labview data using the web?
    You could use shared variables and publish them to the network or use data sockets.
    Kudos always welcome for helpful posts

  • How to program the simple tcp/ip connection?

    I would like to know how to program in labview the simple tcp/ip connetion.
    And is there some site with examples.

    Luciano Kan Horiuchi wrote:
    > I would like to know how to program in labview the simple tcp/ip connetion.
    > And is there some site with examples.
    You should probably start with the examples that ship with LabVIEW. For a good
    server-to-single-client example, check out Data Client.vi and Data Server.vi
    from the shipping examples, and for a good server-to-multiple-client example,
    try the Date Client.vi/Date Server.vi pair instead. All of these can be found
    in the following VI library:
    \examples\comm\tcpex.llb
    or via the Search Examples interface in LabVIEW. There are certainly
    additional examples on the NI site, but there's no better place to start than
    with these.
    Regards,
    John Lum

Maybe you are looking for