Jump to content

LAVA 1.0 Content

Members
  • Posts

    2,739
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by LAVA 1.0 Content

  1. Hi all,

    I have never really used the capabilities of VI scripting but I'm really considering starting.

    Let's say I have a VI with a stack sequence with a fistful of steps and some sequence local to pass data from a step to the next, is it possible to turn it to a state machine, programmatically using scripting ?

    I suspect the answer is yes, which leads me to ask about the level of difficulty :o

    I inherited undreds of VIs made a long time ago with stack sequences and I really don't feel like turning them to state machine one after the other. Maybe some scripting geek out there have done something similar or can give advice on how to do proceed.

    Thanks for any help

    EDIT : maybe this could ne a feature request for next LV version :shifty:

  2. QUOTE(TobyD @ Nov 27 2007, 05:35 PM)

    What is alt gr?

    Well... on european keyboards (at least french, swiss, spanish, italian and maybe more...) there is an alt key and an alt gr key ; just like the shift key gives access to the second "value of non-letter key", the alt gr key gives access to the third "value of non-letter key".

    Isn't it the same on english keyboard :-o ?

    EDIT :

    oops I was a bit slow...

    Alt gr + E gives € on the french and swiss keyborad, I guess it's the same anywhere in europe, no ?

  3. QUOTE(ashishuttarwar @ Nov 26 2007, 12:20 PM)

    I am using LabVIEW 8.2.1 for programming cFP and the only way to upgrade the VI on cFP is by building EXE and setting the EXE as "startup" before deploying. I am pretty sure that it should be possible on LV 7.1 too. Setting as "startup" and deploying will configure the cFP to run the EXE on power up. This way, you do not have to "Exit without closing RT Engine VIs". Also, cFP power reset will not matter.

    I am also looking around for programatically upgrading software of cFP, so that multiple cFPs can be upgraded from a PC on same network.

    --- Ashish

    We have used a method similar to what Neville has been discribing in LV 8.2.1. That method should work right up until you want to change the IP address. If you serach through all of the files on the RT node, you will find a couple of files that have the IP address. Just mod those files before writting to the FP and you are off and running.

    Ben

  4. QUOTE(bono02 @ Nov 21 2007, 01:40 PM)

    There are two contouring modes: Absolute contouring and relative contouring....

    http://digital.ni.com/public.nsf/allkb/062...6256C8C00771B57

    Just try on NI.com search for contouring

    In the contouring modes you write the desired positions into a buffer on the motion controller. Typically you give the motion controller every 10ms a new position.

    In the absolute contouring mode you write absolute positions:

    If you write 100, the motor will turn to 100 Inc, if you write 200 the motor will turn to 200 Inc....

    When you start a new absolute contouring move, the counter will always start at 0! (Not the same as the Absolute Inc. position...)

    In the relative countouring mode, you write relative positions to the motion controller.

    If you write 100, the Motor will turn 100 Inc starting from the actual position. if you write 200, the motor will turn another 200 Inc starting friom the actal position...

    So if you will move from 0 to 100Inc. at different speeds:

    Absolute contouring:

    Write 0, 1, 2, 3, ...... 99, 100,...100

    Write 0, 2, 4, 6, .......98, 100,...100 (double speed)

    Write 0, 0, 1, 1, 2, 2,.... 99, 99, 100,...100 (halve speed and so on)

    Relative contouring:

    Write 100 Times a 1, (followed by zeros)

    Write 50 Times a 2 (double speed) (followed by zeros)

    Write 100 Times a 0 and 1 (halve speed) (followed by zeros)

    So with the update rate and the values you write to the buffer you will give the motion controller the desired speed.

  5. QUOTE(shahzaib198 @ Nov 26 2007, 03:11 AM)

    I suggest the following:

    1. Try searching this site using the Search button
    2. post-949-1174569379.gifconnecting LEDs through Parallel port and giving signal from it

    If this is homework, you should be careful in hooking up anything to your computer's parallel port; you could damage the parallel interface or even the whole computer unless you know what you are doing.

    If this is for work or lab use that requires long term use or reliability, you should seriously consider an I/O device that is designed to interface to TTL logic and classic analog signals like this, this or this.

  6. QUOTE(shahzaib198 @ Nov 26 2007, 03:11 AM)

    I suggest the following:

    1. Try searching this site using the Search button
    2. post-949-1174569379.gifconnecting LEDs through Parallel port and giving signal from it

    If this is homework, you should be careful in hooking up anything to your computer's parallel port; you could damage the parallel interface or even the whole computer unless you know what you are doing.

    If this is for work or lab use that requires long term use or reliability, you should seriously consider an I/O device that is designed to interface to TTL logic and classic analog signals like this, this or this.

  7. Hey all,

    my name is Andrea, i'm a bioengineer and i actually work in a neurorehab group.

    My programming background includes Matlab, Python, some bash and just a bit of Labview.

    I find labview pretty useful to rapidly develop simple applications, though as a beginner i find it lesser intuitive than othe tools. That's why i'm here: learn, learn, learn.... :D

    Thank you for accepting me

    Andrea

    Milan, Italy

  8. Hey all,

    my name is Andrea, i'm a bioengineer and i actually work in a neurorehab group.

    My programming background includes Matlab, Python, some bash and just a bit of Labview.

    I find labview pretty useful to rapidly develop simple applications, though as a beginner i find it lesser intuitive than othe tools. That's why i'm here: learn, learn, learn.... :D

    Thank you for accepting me

    Andrea

    Milan, Italy

  9. QUOTE(pbrooks100 @ Jan 10 2006, 09:12 AM)

    Intelligent Globals = Action Engine?

    :blink: Does anyone else like the term "Action Engine"?

    I've always called them Functional Globals.

    I've read somewhere (might be Ben's post) that FG's are actually a sub-class of Action Engines. Where AE actually have functions within the loop / case structur; thus, when coding, I have my FG folder and my AE folder. The trash folder is also handy ;)

  10. QUOTE(pbrooks100 @ Jan 10 2006, 09:12 AM)

    Intelligent Globals = Action Engine?

    :blink: Does anyone else like the term "Action Engine"?

    I've always called them Functional Globals.

    I've read somewhere (might be Ben's post) that FG's are actually a sub-class of Action Engines. Where AE actually have functions within the loop / case structur; thus, when coding, I have my FG folder and my AE folder. The trash folder is also handy ;)

×
×
  • Create New...

Important Information

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