"Dual loop setting" in MAX

about "Dual loop setting" in my max, why i can't choose it freely. It only have "Dual loop Encoder" without analog feedback at all .
(see in the accessory)
Can anyone tell me the reason?
Thanks a lot
Attachments:
MAX.jpg ‏124 KB

Julianti wrote:
1) I use the shift register just to get the last data, i.e. the VISA resource name. Without the shift register, it is an array and it cannot be wire to the VISA close. This may looks stupid..so what about to avoid the For loop, as in this VI attached? The driver for the oscilloscope is available at  http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=485.
A tunnel coming out of a For loop will often default to an autoindexing tunnel and give you an array.  You can right click on that tunnel and select disable indexing to get a normal tunnel coming and not the array.  I'm not sure why the need for the For loop, unless you intentionally want to run this code exactly 180 times.
2) I never modify the arrangement of VISA write and VISA read. It is given in the driver for the oscilloscope. So I assume that it is fine. Is this assumption correct?
I don't know.  I am used to serial port communication and not GPIB communication, so my reference basis is that where I am used to needing some sort of delay.  In a situation like that if you write then read too fast, there is nothing yet to read.  But by the time the loop gets around to the next iteration then there would be something in the read buffer but from the previous iteration.  I don't know if the mechanics behind GPIB are inherently different than serial.
3) I already put another Tick Count to compare with. Is this what you mean?
Exactly.
I tried to run and it stoped after the VISA close. Then I close the Labview and rerun this VI. The error occured at the VISA write during the first iteration. Then if I change a new GPIB address at the oscilloscope, MAX and the input for VISA session in the VI, then it can run with no error.   This is only annoying for this VI but it becomes a real problem when I combine all my sub VI together later.
Thank you for your help..

Similar Messages

  • Dual loop control for positioning system.-- motion ocntrol

    I am currently doing a dual loop control for a positioning system,  i use the tachometer to read the velocity and the position encoder about the position of the platform. 
    the problem i am currently encounter is that i am not sure weather the computer have the PID toolkit, because i can not find them under the control design and simulation module.  so i did a PID  use the basic labview functions, related information is in the attached documents.
    i am not sure about the dt part, did the labview have this kind of function like to calculate the simpling time??
    do i have to install the labview real_time potion? i am right using the labview 8.5
    another question is that, how i am going to let the system remember the position instead of return to 0 every time i  restarted the program? otherwise is there any other way that i can command the motor to move to the target position which is initially defined? 
    the last question is that that is it possible for me to generate a profile regarding the current and the desired position? to set a maximum velocity and acceleration.
    i do not have a motion controller, so i did not install the  motion and version module. 
    can some one suggest me a way to do this?
    Solved!
    Go to Solution.

    attached is the files.
    Attachments:
    Integral.vi ‏8 KB
    Dt.vi ‏7 KB
    A CLOSED-LOOP TEMPERATURE CONTROL SYSTEM.pdf ‏886 KB

  • Some question about "Dual loop feedback"

    http://zone.ni.com/devzone/conceptd.nsf/webmain/E7​ABA6F4D569010A86256F5A005B64F3/
    Switch Feedback on the Fly
    Consider a heat-sink assembly application where a position sensor is the feedback device for the initial positioning along the Z axis. However, when the heat sink is pressed on to the PCB, a force sensor must be the feedback device for precise motion control in the latter part of the process. With NI motion controllers, you can switch feedback devices on the fly without reinitializing the controller. The new feedback device might require the system to have a new set of PID gains loaded immediately after the axis is reconfigured. To minimize the delay, you can configure an additional set of PID gains with the motion controllers.
    anyone can give me some detailed materials about "switch Feedback on the Fly", for example, some programme,some words to explain it.
    another question is that if i don't use the torque sensor, can i directly use the DAC to control the voltage to come true the torque control?
    Thanks for your answer

    anyone can give me more suggestion about the Dual loop feedback?
    I really know little.
    Hope your suggestion.
    Thanks a lot

  • Desperate here- Please help!! Setting a max size on the Photo in a Gallery

    I have a client who has 1,000s of picturea there are MANY of their pictures which are HUGE. So the thumbnail is fine I can alter those ratios, but is there a way to alter the size the picture can be when clicked on and it enters the slideshow/gallery mode? Is there a way to set a max size and make that alteration all at once- instead of resizing every picture? If so, how?
    Also, is there a way to take the PREVIOUS and NEXT buttons off the module under the thumbnail?
    Thanks!

    Hi there,
    Editing the CSS to scale the large images is a real bad idea, especially huge ones as being indicated by you both. These images are large and larger file size and will take a long time to download, especially on mobiles. Changing the CSS so they appear smaller does not change that at all.
    You need upload images that are web optimised and scaled correctly first, this is really a good must for proper management.
    In terms of the thumbnail images you need to just modify the module paramaters to get the size and scale you want so this is done server side and the images served already scaled.

  • Set a max Upload quantity dreamwaver php and mysql

    The issue,
    using dreamweaver php and mysql I Would like to set a max
    quantity limit on file upload per user. i.e max 5 uploaded images
    allowed per user.
    Here is a basic example of the creation. Just need the
    implementation of how to set a max upoad limit.
    create table authors(
    id int not null auto increment primary key,
    name varchar(10) not null
    image_quantity tinyint(1),
    create table images(
    aid int not null,
    image_filename varchar(50),
    foreign key (aid) references authors(id)
    User id 1 would upload a file into the table images from a
    php or html webpage. i.e set values "thomas.jpeg", "1"
    i want to set a max upload of 5 images per user. (a folder
    for each user id will be created and photos stored in that).
    I could add a field of max_upload tinyint(1) to the table
    users and construct a php script that could add the amount of
    images entered by a user into the images table and add a +1 to each
    added. Problem is i dont know how to create that script or mysql
    querty in order to enter into a recorset for example.
    As anyone have any ideas of the best way to set a max
    quantity limit of uploads.
    Thank you.

    The issue,
    using dreamweaver php and mysql I Would like to set a max
    quantity limit on file upload per user. i.e max 5 uploaded images
    allowed per user.
    Here is a basic example of the creation. Just need the
    implementation of how to set a max upoad limit.
    create table authors(
    id int not null auto increment primary key,
    name varchar(10) not null
    image_quantity tinyint(1),
    create table images(
    aid int not null,
    image_filename varchar(50),
    foreign key (aid) references authors(id)
    User id 1 would upload a file into the table images from a
    php or html webpage. i.e set values "thomas.jpeg", "1"
    i want to set a max upload of 5 images per user. (a folder
    for each user id will be created and photos stored in that).
    I could add a field of max_upload tinyint(1) to the table
    users and construct a php script that could add the amount of
    images entered by a user into the images table and add a +1 to each
    added. Problem is i dont know how to create that script or mysql
    querty in order to enter into a recorset for example.
    As anyone have any ideas of the best way to set a max
    quantity limit of uploads.
    Thank you.

  • Possible to set min/max size to a resizable Stage? If so, how?

    Is it possible to set a minimum and maximum size to a resizable Stage? If so, how would this be done? Do I use some kind of onResize event handler or is there some other way?
    Here is a sample code where I have a 500 x 500 px image in a 300 x 300 px scrollable scene that is in a resizable stage. Right now, I am able to resize the stage to any size, but I would like to limit the resizable minimum width and height to 100 x 100 px and limit the resizable maximum width and height to 600 x 600 px.
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.control.ScrollView;
    import javafx.scene.control.ScrollBarPolicy;
    import javafx.scene.image.ImageView;
    import javafx.scene.image.Image;
    var scene: Scene;
    Stage {
        resizable: true
        scene: scene = Scene {
            width: 300
            height: 300
            content: ScrollView {
                hbarPolicy: ScrollBarPolicy.ALWAYS
                vbarPolicy: ScrollBarPolicy.ALWAYS
                width: bind scene.width
                height: bind scene.height
                node: ImageView {
                    image: Image { url: "{__DIR__}roses.jpg"}
    }

    Hi, I don't understand how WidgetFX is going to allow me to set min/max size to a resizable Stage. After all, it is a desktop widget platform and I'm not trying to build a desktop widget. None of the demos I've tried use a decorated Stage with platform decorations that can be used to drag and resize the Stage.
    I'm just trying to limit the min/max size of a resizable Stage. If you think WidgetFX will address my problem, I think a better solution is the JavaFX Stage Controller class I found available at http://code.google.com/p/memefx/. However, the JavaFX Stage Controller class still doesn't address the problem I have because it doesn't stop the user from dragging the Stage beyond the size restricted by the min/max height. It only reverts the Stage to the max size after the user already dragged and resized the Stage beyond the max resizable width/height.

  • What does the PRIN setting in MAX mean for my Dalsa CL-C8-6000A Camera?

    I am using PCI-1424 with Dalsa CL-C8-6000A Camera. The
    integration setting in MAX allows me to set the integration time using PRIN. But what does the number mean? How do you I convert it to time units (seconds,say)?

    Dalsa uses the PRIN line to control its integration time based on the pixel clock of the camera. So to convert PRIN to time units, you first need to do know the frame rate you will be working at. This will allow you to then calculate the pixel clock and thusly the amount of time for say 1000 pixel clocks.
    One consequence of this is that as you change your frame rate, your integration time will also change (since your pixel clock is now faster or slower).
    Jack Arnold
    National Instruments

  • Sound is low even i set for max volume

    Hi All,
    I have a T60p Think Pad, The problem i am facing is .. even i set the max volume in my TP in volume control icon in systray and
    media player as well , I am hearing very low sound when compared to other TP's such as R52 ..are there any settings to be done so that i get volume more ..any help is really appreciated.
    Thanks
     Vam

    Have you tried pushing the volume buttons near the top of the keyboard to adjust volume?
    Also check your device manager to make sure there are no issues with your sound driver.

  • Dual Monitor Set-ups (opinions please)

    So I'm finally ready to jump into the dual monitor set-up. Right now I'm using a single 19" widescreen monitor. I recently started doing more work with movies and it would be absolutely wonderful to have the movie on a separate monitor.
    Does anyone have any suggestions or recommendations for moving to this type of set-up? I want to make sure I buy something that will do the job for a long time.
    Thanks in advance!

    Hello Pal, Sorry for the late response... but this is what I use (Note: I have a laptop)
    http://store.apple.com/us/product/M9321G/B?fnode=MTY1NDA5OQ&mco=MjE0NTg3Nw
    I believe this is exactly what you'd need (there is no additional software needed)
    You just plug it in, both screens flash a light color blue for about 3 seconds and you're off.
    The only downside is if you are used to using your hot corners, when the screens are split you have to move your move a whole other screen length.
    http://store.apple.com/us/product/M8754G/A?fnode=MTY1NDA5OQ&mco=MjE0NTg4MQ

  • Set the max bytes per packet for an input stream

    Hi,
    I got this problem:
    I want to store some images into a DB. Now if the images are huge, the DB told me, that the packet size is too large
    maybe like that : 'Packet for query is too large (1668641 > 1048576)'
    I use an ByteArrayInputStream for the transmission to the DB.
    So if I am not able to set the max. packet size of the DB is it possible to cut the input stream into pieces to send them to the DB ?
    regards,
    Olek

    None of this makes any sense.
    The MySQL driver will be using TCP to talk to the database server. TCP is a stream oriented protocol. You can't control the size of the packets (other than the maximum by frigging with OS settings - don't do that). Neither can the server detect the sizes of incoming packets. It just sees a stream of bytes and has no idea where the write() boundries are or how the TCP protocol split that into IP packets - it's just a stream of bytes arriving in the same order they were sent.
    And... the max TCP segment size is nowhere near 32Mb, so that doesn't make any sense eeither.
    So, I conclude (especially in light of the answer about the config settings) that "packet" is a badly abused term by MySQL that allows it to limit the size of individual requests in order to provide some kind of protection against badly written clients and/or malicious attacks. If you need to send more data than this, just up the limit - especially if this is an intranet application where the client is under your control and attacks are unlikely.

  • Sound almost inadible even if set at max when seeing video on plane or train

    Sound almost inaudible when looking at video in plane or train, even when set at max?

    No adverse side affects that I have ever read about. A simplified explanation of how it works is here: http://electronics.howstuffworks.com/gadgets/audio-music/noise-canceling-headpho ne.htm
    The headphones pick up the external sound and create a negative of it's wave pattern, essentially cancelling it out, or coming close anyway. Some noise cancelling headphones create a hiss or buzz in quiet conditions which is why you can turn off the noise cancelling feature.
    In my experience, this is one good example of getting what you pay for. Ceap models really don't work very well.

  • Permanent address setting in MAX

    Hi,
    Thank you in advance for your help.
    I want to establish communication with an oscilloscope via GPIB-USB. I can save
    the waveform from the oscilloscope but once I restart the VI and input the same
    GPIB address at the VI, the communication will not work. It can work again, if
    I change a new GPIB address at the oscilloscope, MAX and the VI.
    I think the problem is with the MAX setting. Can you
    please tell me the steps to permanently set the address, so that I need to
    input the address only for the VI every time I run the VI?
    Thank you!!

    Julianti wrote:
    1) I use the shift register just to get the last data, i.e. the VISA resource name. Without the shift register, it is an array and it cannot be wire to the VISA close. This may looks stupid..so what about to avoid the For loop, as in this VI attached? The driver for the oscilloscope is available at  http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=485.
    A tunnel coming out of a For loop will often default to an autoindexing tunnel and give you an array.  You can right click on that tunnel and select disable indexing to get a normal tunnel coming and not the array.  I'm not sure why the need for the For loop, unless you intentionally want to run this code exactly 180 times.
    2) I never modify the arrangement of VISA write and VISA read. It is given in the driver for the oscilloscope. So I assume that it is fine. Is this assumption correct?
    I don't know.  I am used to serial port communication and not GPIB communication, so my reference basis is that where I am used to needing some sort of delay.  In a situation like that if you write then read too fast, there is nothing yet to read.  But by the time the loop gets around to the next iteration then there would be something in the read buffer but from the previous iteration.  I don't know if the mechanics behind GPIB are inherently different than serial.
    3) I already put another Tick Count to compare with. Is this what you mean?
    Exactly.
    I tried to run and it stoped after the VISA close. Then I close the Labview and rerun this VI. The error occured at the VISA write during the first iteration. Then if I change a new GPIB address at the oscilloscope, MAX and the input for VISA session in the VI, then it can run with no error.   This is only annoying for this VI but it becomes a real problem when I combine all my sub VI together later.
    Thank you for your help..

  • Want to set Min Max for a material for PD MRP type

    Hi,
    I know Maximum stock level field in Material master MRP 2 view ? but where do i maintain minimum stock level? not procured?
    My client wants to set up his inventory with Min Max levels using MRP PD?
    Thanks and Apprecaites help.
    Regards,
    Siva

    Hi,
    If you want to maintain a Max and Min stock level, Maximum stock is shown straight away, you cannot find the Minimum field directly.
    if you want to use MRP type PD then go for safety stock that will be your minimum stock level
    or else use Re-order point planning, re-order point will be your minimum and Max-level as maximum.
    Thanks
    Satya

  • How to set up Max Grab Qty in an order

    Hi Experts,
    Can you please help/hint me on how to set up Maximum grab qty (item level) for an order.
    For example - If i set up material ABC with 50 Max grab Qty , then you should not be able to raise an order with qty greater then 50. VA01 should block it.
    Thanks in advance for the response.
    Regards.

    Hi,
    to do this enhancement, first decide the user exit and a put a break point. You will notice at the time sales order processing after entering the order qty whether its stopping at the break point or not. Offcourse you need a technical assistance here.
    I guess the line item user exit ie at VBAP, would be more helpful to put the code. The piece of code depends on how you want the logic to work.
    1.Is it that for every sales order you want to trigger this code, or if only in specific cases then you may even need to hard code.
    2. Do you want check that the max order is not crossed even when a user changes the order qty through VA02.
    3. Any other specific check that you want to consider.
    Regards
    Sadhu Kishore

  • How to set tree max level in V4+ trees?

    I have a tree and I want it to initally open up to level 3. (Not expand all). Previous to V4 you could set the attribute "Max Levels". How do you set this now? I assume it will be a dynamic action javascript call but what is the code?
    thanks in advance
    PaulP
    Edited by: PaulP on Apr 5, 2012 11:13 PM
    Edited by: PaulP on Apr 5, 2012 11:14 PM

    I searched through the docs of jstree 0.9.9a2, which comes with apex 4+, and through apex.widget.tree, but couldn't find any function which does what you describe. However, it can be emulated fairly easily.
    Add this code to the page javascript:
    function resetAndOpenToLevel ( pTree, pMaxLevel ) {
       apex.jQuery.tree.reference(pTree).close_all();
       $("ul", pTree).each(function ( index ) {
          if ( $(this).parents("ul").length <= pMaxLevel ) {
             apex.jQuery.tree.reference(pTree).open_branch(this);
    };When called this will open up the nodes of the given tree up to (and including) pMaxLevel.
    For convenience, give your tree region a static ID.
    For example,define a button which triggers a dynamic action with execute javascript code as true action:
    resetAndOpenToLevel ( $("#my_tree_region_id div.tree"), 2) ;Would reset the tree, and then open nodes up to and including level 2.
    You can try it out on my example tree page, where i included this code: http://apex.oracle.com/pls/apex/f?p=54687:38 There I'm using a global javascript variable to store a reference to the tree element rather than fetching it every time.

Maybe you are looking for

  • Issue with Excel Attachement in BI 7.0

    Hi, I have developed a custom report to send an e-mail with excel attachment in BI 7.0. When we are trying to open the excel sheet attachment in the e-mail. I am getting a message warning message stating that<b> 'This file is not in a recognizable fo

  • Could not complete your request because of missing or invalid user personalization information on Vista?

    I recently tried to install PhotoShop CS4 on a Vista machine.  I could not get it to activate, found out from Adobe that it was a bad serial number.  So, I uninstalled it, and tried to reinstall my good old standby - Creative Suite 1.0.  This has wor

  • How to make a warranty claim with BB?

    Hi all I have two BB 9320's with differing faults (charging/scroll button issues) The devices were purchased off Amazon so making a claim with them is a no-no due to being through a third party who's shirked all responsibility. I can't seem to find a

  • Why can't I upload a song to my iPad 2 ?

    When I try upload a certain group of songs from Itunes (Itunes do play them) to my iPad these appears: I've check the formats and they are MP3 kind and MPEG-1, Layer 2. As all my other songs. See? Also, my iPad has enough memory for all these songs.

  • Input source disappears after restart or log out. How to fix it?

    I use two input sources: U.S. and Russian-PC. But recently the Russian-PC started to disappear everytime I restart the iMac or just log out and log in back. Instead of Russian-PC there is Russian which is inconvinient to use. So I always have to open