Dynamically change the Ni HSDIO channels

I am currently using a PXI-6552 module to generate and acquire I2C signals simultaneously.  I would like to know if it is possible (and how I would go to this topic) to dynamic change channels.  My goal is just to pass the two references of NOR-HSDIO (purple variables) to a new slot - VI that I create from a different set of 5 channels 5 channels.  For example:

Pseudocode:

PXI sessions initialize;

for (i = 0; i< 10;="">

{

Set the channels 0-5;

Generate and acquire;

Stop the acquisition;

Set channels to 6-10;

Generate and acquire;

Stop the acquisition;

Set channels to 11-15;

Generate and acquire;

Stop the acquisition;

}

close the sessions of PXI;

Basically, I need the fastest way for acquisition channels without having to initialize and close sessions each time.

I am currently using the HWC downloaded the example .zip from here: http://www.ni.com/example/31200/en/. (I've also attached the two that are necessary for my problem).

Init HWC Device.vi: (also attached)

Performance Device.vi HWC: (also attached)

I may need on the screws are Assign dynamic channels, Configure Idle State and initial configuration.  However, I don't know if those are the only ones.  If it's possible, can I close the original channels and then assign more?  Or re-call "Dynamic Assign Channels" automatically disables all channels not assigned?  Etc.

The important things to note: I'll put 5 channels at once - for both acquisition AND generation.   I need to close the channels and proceed with 5 different channels - for both acquisition AND generation.  All channels must be on the State of the 'z' to high impedance permanently.

If you need further information, please let me know!  Thanks in advance for any suggestions and assistance.

By trial and error, I was able to find a way to do this:

Tags: NI Software

Similar Questions

  • Dynamically change the number of sub-panels

    Hello

    I have a computer where usually 4 testplaces of production are connected to.

    I want to have a main VI indicating the status of the 4 different testplaces, that I can do with 4 separate sub-panels - no problem.

    The issue is that I would be flexible in testplaces how I show in a program (as this hole thing is pretty cool, and I expect that some changes will come). Is it possible to dynamically change the number of sub-panels displayed (other that make it twenty of them and turning off then those you don't need)?

    My first idea was to place the school in a table, but unfurtunately is not possible.

    Best regards

    Frank

    Yamaeda wrote:

    The POP in separate windows, and you can have as much as you want.

    Or make separate them windows, and then set up a child-parent relationship in Windows, it seems as if it was all about a user interface.

    http://screencast.com/t/P9SJ1anR

    It's nice enough for the demo beta like software, but works.

    https://lavag.org/topic/17046-multi-panel-interface/

  • Dynamically change the path of the report

    Is it possible to dynamically change the path where reports are saved. TestStand 4.1.1

    Glennjammin,

    You can set a path to the specific report for any sequence that you run via the entry points of process model using the reminder of your sequence ReportOptions. It will allow you to change the current settings in the Options report (including the path) for the execution of this sequence. This allows each of your sequences have unique report options.

    If I understand your question, you want to do is exactly what is meant recall ReportOptions.

    -Jack

  • Dynamically change the language in cvi

    Hello

    I would like to know if it is possible to dynamically change the IUR in English language to Russian?

    I have a program written in cvi and I need to be able to scwitch English to Russian UI when the user clicks a button...

    Thanks in advance

    Yes: You must create a resource of language of the dossier and can then use the LoadLocalizedPanel / LocalizePanel and LoadLocalizedMenuBar / LocalizeMenuBar

  • dynamically change the HomeScreen application title

    Hi all

    As you know, we can dynamically change the application ICON on the home screen,

    what I want to know how to change the title of the application on the home screen.

    I mean when the user foucs on my application, text will appear on the screen.

    When I change an ICON, I want that the text will be changed according to the new icon.

    Is this possible?

    Thank you.

    Try the HomeScreen class - see the documentation of the api for HomeScreen.setName)

  • Dynamically change the order of the components

    Can I dynamically change the order of the components (input text entry LOV, etc.)  inside the layout of the Panel form?

    Currently in 11.1.1.7 but may be considered if necessary upgrade

    Yes, you can.

    See the example attached to this bug: https://java.net/jira/browse/JAVASERVERFACES-2390

    Dario

  • Two quick questions (hopefully) - right way to dynamically change the CSS class and put of Splash screen implemented

    Couple of quick questions have left me speechless!

    So, it seems obvious that many JavaFX applications want to dynamically change the CSS styles.  Is the best way to do it through la.getStyleClass () .add ("classname") < node >?  The underlying data structure is a list of observable.  So let's say we have 5 styles that simply to change the fill color of a circle of 5 different colors, respectively.  So if I have a condition in which I want to dynamically apply 1 of these 5 styles, as I do now it's by setting all 5 styles as a string in a list by using a static initializer, then I call < node > .getStyleClass () .removeAll (list), then getStyleClass () .add ("classname").  I do this to avoid adding again and still the same style and inflate the underlying list.  What is the right way to manage dynamic CSS styles?

    Finally a very simple I think.  So I know there's a little differently to implement a splash screen.  My app has certainly got bigger in the last few months of development and I noticed there are about a 5 second delay between when I run the application when I see the main stage.  I was thinking what a splash screen would be nice to fill that time.  I had no time to prototype using a Preloader and I fear that using another, early stage start-up again would be too long of a delay.  "I actually thought that using the Nice and simple JVM argument" - splash: image name > "would be simple, easy and effective.  Unfortunately when I try to do, the splash screen appears but never goes away.  Anyone know what is happening with this?

    Your mechanism to manage the css style classes is a good approach; I've used several times. I wonder why the style classes have been implemented as a list, instead of a game, but there may be cases of good use for the use of a list.

    In some cases you can also consider using CSS PsuedoClasses, which were presented in JavaFX 8. Here is a little easier to use, especially if you have two options. But a use case might look like:

    public class Message {
        public enum Status { NORMAL, WARNING, CRITICAL }
    
        private final ObjectProperty status = new SimpleObjectProperty<>(Status.NORMAL);
        private final StringProperty message = new SimpleStringProperty();
    
        // constructor, getters, setters, and property accessors....
    }
    
    public Label createLabel(Message message) {
        PseudoClass warning = PseudoClass.getPseudoClass("warning");
        PseudoClass critical = PseudoClass.getPseudoClass("critical");
    
        Label label = new Label();
        label.textProperty().bind(message.messageProperty());
        message.statusProperty().addListener((obs, oldStatus, newStatus) -> {
            label.pseudoClassStateChanged(warning, newStatus == Message.Status.WARNING);
            label.pseudoClassStateChanged(critical, newStatus == Message.Status.CRITICAL);
        }
        return label ;
    }
    

    And then your css looks like

    .label:warning {
        -fx-text-fill: orange ;
    }
    .label:critical {
        -fx-text-fill: red ;
    }
    
  • How do I dynamically change the the number of vCPU and amount of a virtual computer memory?

    Hi all

    My first question is how do I dynamically change the number of vCPU and amount of a computer virtual memory when the virtual machine is running? If so, this may be achieved by writing a few scrpits to inform the hypervisor?

    My second question is, I can start a virtual machine in KVM with the number of vCPUs and amount of memory configured in the startup script. I don't know if this is supported in vmware ESXi?

    I couldn't find the answer in the ESXi 5.0 user guide.

    Your suggestion will be highly appreciated.

    Cheng Wang

    http://sparrowangelstechnology.blogspot.com/2012/11/hot-add-of-CPU-and-memory-to-virtual.html

    You can change the ram and the CPU, but it must be enabled.

    by default, only it isn't.

    See this link to change the settings of vm via powercli

    http://ICT-freak.nl/2010/05/07/PowerCLI-script-to-schedule-memory-and-or-vCPU-updowngrade/

  • Dynamically change the cursor?

    Hello

    I want to be able to change the cursor that appears when I rollover text. Basically, I have text/button that can only be clicked when another action has been performed, I wish that this button at the start have the default cursor, and then change the cursor/pointer when the user has run this other action.

    Is it possible to dynamically change the cursor through the code?

    Thanks for your help!

    $("button").css({'cursor':'default'});)

    More information: cursor CSS property and HTML DOM Style cursor property

  • How to dynamically change the host name in the Pages of the URL of the APEX

    Dear gurus,

    Please advise me on how to dynamically change the hostname in the URL used in the pages of the APEX.

    For example: I have the below URL in one of the apex pages.
    owa_util. REDIRECT_URL ("http://adminlxdb03.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    in the case of a Migration of this apex from one server to another (for example, TEST the PROD box), this / these pages are wrong because the different host id name in the PROD box.

    Is it possible that we can dynamically change the hostname in the URL used in the pages of the APEX.

    for example
    owa_util. REDIRECT_URL ("http://adminlxdb03.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    should become

    owa_util. REDIRECT_URL ("http://adminetuxdb09.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    It's adminlxdb03.texas.org (TEST) at adminetuxdb09.texas.org (PROD).

    If the page has no error...

    Please notify.

    Thank you
    Sheik

    You don't need to provide the hostname while redirecting in the pages of the apex

    owa_util. REDIRECT_URL ('f? p ='| v ('APP_ID') |) ": 151:" | " v ('APP_SESSION'));

    should work just fine.

  • is it possible to dynamically change the industrial action.

    Hi friends,

    I have a scheduler job to call the shell script. Is it possible to dynamically change the industrial action (IE change the name of the shell script based on requirement).

    My basic idea is to have a scheduler job to call different shell scripts based on requirement.

    Thanks in advance
    Jeeva.

    You can try using DBMS_SCHEDULER. SET_SCHEDULER_ATTRIBUTE with:

    attribute => 'JOB_ACTION'
    
  • dynamically change the selection table of

    is it possible to dynamically change the table used in a select statement for an interactive report 3.2 on 11g database? I have a series of similar tables, one for each month of the year. I want to click a month on one page and to set up a table for this month report. I want to use a page for this report and have all the links from the link to the previous page on the same page, just different results based on what month has been clicked.
    I know I could just install 12 different reports and conditionally display each region based on a value passed to the page, but I prefer to create only a single page and a report on this page.

    Thanks for ideas or solutions.

    Hello:

    Because the tables involved are fixed for a given month, you can try something like

    select * from tab_1
    where :p_mth=1
    UNION
    select * from tab_2
    where :p_mth=2
    UNION
    ....
    select * from tab_12
    where :p_mth=12
    

    only the query for the IR. "P_MTH" is the page element has the value entered by the user for the months for which data should be retieved.

    CITY

  • How to dynamically change the selection mode of the listbox control?

    Hello everyone

    Is it possible to change the selection mode of the ListBox dynamically?

    Both cases to the attached vi works the same way. I want the listbox to change the mode of selection by 1 point when the channel selected in the drop-down list box is SET.

    Can anyone help please?

    Thank you

    Simo

    There is a property for Listboxes node called selection Mode.

    Do not use the control Terminal in one case and a local variable of it in the other.  Moving the Terminal outside the structure of matter and son in the structure of the case.

  • Dynamically change the elements in a control menu ring array

    I have a table menu ring controls (32 rows, 5 columns).  When a menu choice is made in the first column of a given line, the content of the menu for the following columns (same line) ring may vary.  If this is possible, how would you do it?  Thank you.

    jschichl wrote:

    For example, if I had a ring of 1,2,3,4 menu.  I want to write a logic that says that when the 4 is selected, then ring menu in the following line replaces 5,6,7,8.

    A ring is just a number as far as LabVIEW is concerned, so the cluster underlying need only store numbers, not rings.

    In the example I posted in a thread bound, where the controls are moved on a table, you need to control a ring. Whenever you show the ring, you can assign a new set of strings and values, using the property of strings and values. You can decide what the value of the channels show based on the existing data in the cluster, which will be updated each time you change the value in a cell in the table. Who is? I don't have the time now to set up a more detailed example than what I already downloaded in other threads, and it is only a small change to it.

    Ring menu updated at the time wherever the user wants to select a value from it, not at the time the user changes the value that determines which set of menu items to display.

  • Dynamically change the color of the text substring

    Hello!

    I'm working on a simple serial terminal and I would like to change the color of each line depending on whether the message is sent or received. I have an indicator of string in which I add all messages, sent or received.

    My problem is that when I change the color of a substring by using a property node, all the text in my chain indicator changes. Here is a small Video that shows my problem (my real VI is a little too big to put here but the part of string works the same. I concatenate, keep the clues and apply the property node):

    Result:

    Any idea on how I could change the color of the new line? It seems the selection doesn't really work, because everything in the chain takes the new color.

    Thanks in advance,

    Tim

    PS: I've seen a web-based solution in which the property node must be extended for every line, of course it does not work for me as the number of lines changes dynamically.

    The problem you have is that the string contains no format information and it does not keep the indicator.  You will need to set the font.color in each line, each time you receive a new message.  See my post here - http://forums.ni.com/t5/LabVIEW/Different-fonts-in-string-indicator/m-p/1601602/highlight/true#M5823...

Maybe you are looking for

  • two languages in sign-off screen

    I just bought a new iMac that came with El Capitan version 10.11.6. On my previous iMac, the system was in German. On the new one I want to retrieve all my data from a backup. The first question after starting the computer was to select the language,

  • Patrick installed win 7 red fr, hp lj 1022n pero en print

    Saludos, a quien can dar respond, tengo una hp laserjet 1022n conectada a red mid Patrick, y tiene ip fija (which slow) well tengo conectada several maquinas una con xp y otras con ubuntu, y estoy intentando instalarla in una Máquina con windows 7, a

  • Re-activation of Vista Home premium

    Hi, I uninstalled an activated copy of Home premium, I installed on my netbook (big mistake) I want now to use this license for my office refurbished, but it will not activate

  • strange problem of black ink 3110

    A few days ago I was at halfway by feel something urgent when black ink expired. He gave me the option to continue using only the colors and I agreed that finished fine print. I just put a new (original) black ink cartridge and the printer is show as

  • Media player verson

    How to find which version of media player I have installed on my computer, I have Vista Ultimate.