How to implement a boolean control via network

Hi,
I am developing an application by using LabVIEW 8.2 and RealTime. There is a host PC connecting to a PXI
through network cable. Application VIs are running at PXI and GUi is running at host PC. My problem is
When I config a boolean control as "Latch when release" mechanism, pass it to a shared network variable
and then to a boolean control at PXI. "Latch when release" mechanism seems not run very well. Most of the
time, no action when I press the boolean control button in my GUI. It seems that shared network variable
could not act as "Latch when release" mechanism. I checked some examples from NI. Most of examples set
the boolean control button mechanism as "Switch when press" and manually switch it status later on. I have
a bunch of such boolean control buttons in my GUI. It will be hard to handle every of them in this way.
I'd like to know whether there is an easier solution for this.
Thanks
Jason

Hi Jason,
How are you passing the shared variable to the Boolean control in PXI VI?
Here is something to try out.
--Configure the Boolean controls on both systems to "latch until released".
--Create the shared variable (network-published) on the host PC and wire the output of the Boolean control to it.
--On the remote system, bind the Boolean control to the shared variable on the host PC. To bind to the shared variable, right click the Boolean control 
   and select properties. Then select the "Data Binding" tab in the property window. Set the "data Binding selection" option to "Shared Variable Engine
   (NI-PSP)" and browse for the path to the shared variable created on the host PC.
--With this setting, whenever the Boolean control on the remote system (PXI) reads a true value, it stays true until the value is read by LabVIEW and
    goes back to the initial (false) state.
Checkout the attached sample LabVIEW project.
Tun
Message Edited by Tunde A on 12-12-2006 05:27 PM
Attachments:
Boolean Shared Var.zip ‏18 KB

Similar Messages

  • How to implement boolean control via network

    Hi,
    I am developing an application by using LabVIEW 8.2 and RealTime. There is a host PC connecting to a PXI
    through network cable. Application VIs are running at PXI and GUi is running at host PC. My problem is
    When I config a boolean control as "Latch when release" mechanism, pass it to a shared network variable
    and then to a boolean control at PXI. "Latch when release" mechanism seems not run very well. Most of the
    time, no action when I press the boolean control button in my GUI. It seems that shared network variable
    could not act as "Latch when release" mechanism. I checked some examples from NI. Most of examples set
    the boolean control button mechanism as "Switch when press" and manually switch it status later on. I have
    a bunch of such boolean control buttons in my GUI. It will be hard to handle every of them in this way.
    I'd like to know whether there is an easier solution for this.
    Thanks
    Jason

    Hi Jason,
    How are you passing the shared variable to the Boolean control in PXI VI?
    Here is something to try out.
    --Configure the Boolean controls on both systems to "latch until released".
    --Create the shared variable (network-published) on the host PC and wire the output of the Boolean control to it.
    --On the remote system, bind the Boolean control to the shared variable on the host PC. To bind to the shared variable, right click the Boolean control 
       and select properties. Then select the "Data Binding" tab in the property window. Set the "data Binding selection" option to "Shared Variable Engine
       (NI-PSP)" and browse for the path to the shared variable created on the host PC.
    --With this setting, whenever the Boolean control on the remote system (PXI) reads a true value, it stays true until the value is read by LabVIEW and
        goes back to the initial (false) state.
    Checkout the attached sample LabVIEW project.
    Tun
    Message Edited by Tunde A on 12-12-2006 05:27 PM
    Attachments:
    Boolean Shared Var.zip ‏18 KB

  • How to create user credit control via customization

    Hi !
    I have to create user credit control via Transaction :
    SPRO.
    path:
    Sales and Distribution->Basic Functions->Credit Management/Risk Management->Credit Management->Define Automatic Credit Control.
    I want to check the user checkbox, and create my logic
    of credit control.
    In the help of credit control screen, it says that i have
    to use user exits LVKMPTZZ and LVKMPFZ1.
    However when i looked for that user exits at SMOD
    that user exit don't exist !!!
    How do i use those user exits ? Why can't i find those user exit ?
    Can you give me please  a code example of how to use
    the user checkbox to change the logic of credit control ? or any material about the issue.
    thanks
    moshe

    Hi,
      You dont find the programs LVKMPTZZ and LVKMPFZ1 in SMOD transaction, check in SE38 by typing the program names, there you have the provision to write your custom code,
      As user exits are specific to the business, it would be difficult to send the sample code to cater the functionality expected by your business,
    Hope this helps,
    Rgds,

  • Ignoring cRIO Host Control via Network Variables

    I have a PC Host application that defines the operating state of my cRIO using Network Variables.  In some cases the cRIO must ignore the Host control and define its own operating state.  As an example, think of a simple boolean ON/OFF front panel control switch.  The user operates the front panel switch and it's value is assigned to a Network Variable which the cRIO reads and reacts to.  On a CompactDAQ platform for example, my LabVIEW application could use the Property Node to define the value of the ON/OFF front panel switch and also disable the control so the user could not change it.  I need this functionality in the cRIO world.  However, the cRIO cannot directly control the Host's front panel controls.  Thus, I'm looking for an elegant way to handle this scenario.  One solution is to use a Network Variable to communicate to the Host to redefine the value and disable it's front panel control, but there appears to be a race condition here - the cRIO needs to ignore the current value of the control as defined by the Host while in the meantime the cRIO is communicating via a Network Variable to the Host to redefine and disable the control.  Hopefully this is not confusing and any ideas would be greatly appreciated.

    You need additional handshake variables to toggle the control from Host to cRIO.
    Implement a request and acknowledge control szenario.
    Hope it helps
    Christian

  • How to print to two printers via network?

    Hi,
    I just moved into a new house with ethernet cabling throughout. I'd love to print to my two printers (HP LaserJet 1012 and a Canon iP3600) via the network without using a computer. However, I can't figure out how to do it.
    So far, I've tried:
    Attaching a USB hub to my 1st generation Airport Extreme. Didn't work. Don't think they support hubs. I can print to either printer if individually hooked up, just not via the hub.
    A D-Link D-301U USB ethernet print server. Misread the specs. Thought this came with two USB ports. Tried each printer individually, but couldn't figure out how to hook it up. Failed utterly with a USB hub attached.
    The issue is NOT the network connection. No problems plugging my computer directly into the ethernet on the wall and getting great connectivity.
    Any suggestions how to do this? I've heard that the latest Airport Extremes support printing through a USB hub...
    Thanks in advance.
    Kevin

    http://www.iogear.com/product/GMFPSU22W6/
    http://www.pcstats.com/articleview.cfm?articleID=1709
    http://www.bizrate.com/networking-products/2-port-usb-print-server/
    Next issue -
    The drivers provided by HP and Canon for those printers are USB-Only! You will have to use third-party drivers for each, to use the standard network print protocols. Apple has included one set of third-party drivers, Gutenprint, in OS X. To see if your printers are supported by the latest Gutenprint version, check here:
    http://gimp-print.sourceforge.net/MacOSX.php
    The two other sources of third-party CUPS drivers are:
    http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx
    http://www.printfab.net

  • How to implement ActiveX (OCX) Controls

    Hi All,
    Please help me. I want to call a OCX control in forms 6i. Please let me know how to do it or any documentation is available.
    Thanks
    srini.

    1. You have to create ActiveX control item on your
    canvas.
    2. Use Program / Import library interfaces ... menu in your form builder to import the OLE interfaces to your application. this creates a package in you form where you can sepcify your PL/SQL code for OCX events.
    With Dev 6i we could not make Forms to automatically load the OCX control, the user has to do it by using the context menu. At least this is the case for Winddows 2000.
    Be carefull: OCX / ActiveX is not supported on the Web forms wether it is Forms 6i or 9i.

  • How to implement " log on locally" via Domain Group Policy

    Hello,
    Thanks for always being very helpful.
    My Goal:
    I want to restrict one domain user to login to one computer only  (admin/root users to login to every computer).
    I searched and I believe there is no such direct way to implement via the group policy unless I may add one GPO per user to implement"log on locally" from the group policy.
    Do you have some VB script or other good way so I should not login to each computer one by one and edit the policy manually.
    Thanks in advance.
    Muhammad Asif Server Administrator Linux/Windows

    I am sorry if I wasn't cleared, I am managing about 250 users and want accomplish from some centralized locations. I don't want to go to every machine and apply the changes.
    I want to let one domain user to login to one system only.
    I have the list of computer name VS username, and I want to apply from centralized location without login to each computer one by one.
    Thanks a lot for the assistance.
    Muhammad Asif Server Administrator Linux/Windows
    The solution can only be applied once at the DC with ADUC or with Set-ADUSer as I posted.  It only needs to be run once from one DC.
    ¯\_(ツ)_/¯

  • HELP: How to implement Model Predictive Control in LabVIEW?

    Hi, everyone
    I have a problem on realizing model predictive control algorithm in LabVIEW 7.1.1.
    What I have now is a linear model predictive control algorithm designed with Matlab -- Model Predictive Control Toolbox. Under simulation in SIMULINK, it works well.
    Now I need to implement this algorithm with hardwares such as sensors and actuaors by LabVIEW.  Initially, I try to use the NI Simulation Interface Toolkit (SIT) 2.0 connect the simulink module with my LabVIEW interface to get the model calculation out of matlab, then send them into LabVIEW. It failed, because SIT can only help me design a simulation interface in LabVIEW based on Matlab model. Not the parrallel working mode I need. I am wondering,  does any  people here have experience dealing with the similar problems? 
    Thanks! Appreciate your time and help!

    Thanks Jarrod.
    With your suggestion, I tried LabVIEW simulation module. It seems the Model Predictive Control (MPC) block I developed in Matlab/SIMULINK cannot be supported by LabVIEW simulation translator. 
    The parrallel mode means I want to use the input from DAQ card as the input for MPC block (Basically, it is just a control algorithm with I/O), and I would like to use the output from MPC block as my actuator output to external device. However, when I use Simulation Interface Toolkit to import my MPC block from Matlab to LabVIEW. It is completely sealed. I mean I cannot pull the I/O ports out from this block in LabVIEW. That is the problem where I am now.
    BTW: I found there is optimization function in Simulation module of LabVIEW.  But Why I cannot find that function in my Simulation module (LabVIEW 7.1.1 + Simulation Module 1.0) ?
    Do I need to upgrade my LabVIEW to 8.0, since I heard about several powerful math functions there. And I am hoping with these math tools, I could realize MPC by myself in LabVIEW.
    Anyway, Thanks a lot for your help!!!

  • How can I batch inventory control via attributes?

    How can I batch enable the "keep stock" feature for attributes? How can batch set inventory levels based on inventory after I have enabled "keep stock"?

    You will likely get better program help in a program forum
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Scrolling via Boolean Control

    An interesting concept...I've got a program that is very large and being expanded to control 2x what it is already handling.  Therefore I'm going to design a main summary page with links to individual test units.  I'm working on a way to click each unit that is shown on the main page and it will either scroll over to the control features for that unit, or popup a window with all the control features we currently have.
    To visualize...think of a visible box taking up the whole screen.  On that screen indicators for each device test station showing real summary data.  By clicking on a control associated with each, say they click test station 1, then the screen will scroll to the left, where the control pane is, the main screen will be not be accessible anymore unless a new link is clicked to go back (that is stored on the new test page).
    One option could be to use Vi Popups for each test station?  They then just close the VI as soon as they want to go back to the main screen or run another unit?  If this was the case though, would closing that vi out keep it from running in the background?  All of these units would be running in the background, and need isolated variables.
    Let me know what you think?
    LV7.1, LV8.5

    The harder alternative will be more rewarding for this scenario...
    Currently the system is already implemented in tabular control.
    There are getting to be too many tabs to work with, which is why the popup and hide functionality sounds much better.  Each test station requires 2 tabs (1 tab for the automated test, 1 for the manual mode of our testing)
    I appreciate the help from you all - let me just rephrase what I understand you are saying -
    I could use this summary page (updated via variables or direct wire connections from the underlying tabs, and stored as a seperate Vi), each pair of underlying tabs would be stored into a seperate VI.  All these Vi's would be hidden, but running through the use of a property node? Not sure how to input the transparency effect into a property node, but assume I need 2 nodes per each 2tab test vi.  Based on a T/F boolean variable feeding a "select" function - if true function goes to make visible, if false goes to hide property node.
    The program was coded originally using massive amounts of local variables, do they need to be global in order to communicate via other subvi's in this manner?
    Does it sound like the correct setup?
    (Currently all the test stations are stored in massive case statements, each statement referring to a test stand, the theory above would split each of these into seperate vi's)
    How does this sound?
    LV7.1, LV8.5

  • How to implement Tool TIP in Table Control

    Hello Everyone,
    Can you please tell me how to implement a tooltip messages in table control columns.
    The Tooltip contains a simple message like "Doublde click on column.
    Thanks in advance.
    Edited by: Suruchi Razdan on Jun 6, 2011 7:57 AM

    Hello,
    In table Control->first Header Row has chance to maintain the Tooltip option.
    In table control columns maintain Double click options in attributes .
    Regards,
    Praveen

  • How can you create a local variable from a boolean control?

    I want to create a local variable from a boolean control, but it says that boolean latch actions are incompatible with local variables, but I need a way to check this boolean control in two differents loops, how can I do it?

    "Graci" schrieb im Newsbeitrag
    news:[email protected]..
    > I want to create a local variable from a boolean control, but it says
    > that boolean latch actions are incompatible with local variables, but
    > I need a way to check this boolean control in two differents loops,
    > how can I do it?
    Use global variables.
    Compare them with a constant Boolean like F or T.
    The result is true or false and then you can use it in a Cae-Loop.
    Martin

  • How to implement a client side map with ObjectImage control?

    We need to implement a client side map with an ADF Faces ObjectImage control. In the code below, the JSF Faces GraphicImage contol does support a client side image map using the usemap property. However, it appears that the ADF Faces ObjectImage control does not support a client side map. Is there someway of implementing this functionality in an ObjectImage control?
    <h:graphicImage url="/images/map-usa.gif"
    usemap="#m_mapusa"
    binding="#{backing_map.graphicImage2}"
    id="graphicImage2"
    style="border-style:none;"/>
    <af:objectImage source="/images/map-usa.gif"
    binding="#{backing_map.objectImage2}"
    id="objectImage2" />
    We could use the Graphic Image control except we have a problem by mixing a JSF GraphicImage control in the same table with a variety of ADF Faces controls in that when a user clicks on the GraphicImage, then the browser windows scrolls down to center the GraphicImage control. A user then needs to scroll back up to see the rest of the page. If an ObjectImage control is used with an onClick action, then the page does not scroll, which is what we want. So if we can figure out how to add a client side map to an ObjectImage control we would get the desired results.
    An alternative might be to use a server side map with the ObjectImage control. But our question here is how to implement the existing client side image map in a backing bean. As the following map code shows, not all image map areas are rectangles - some are polygons.
    <area id="_state_05" href="#"
    shape="rect"
    coords="681,38,702,50"
    target="_self" value="VT" alt="Vermont"
    onclick="javascript:getDtl(this);"/>
    <area id="_state_06" href="#"
    shape="poly"
    coords="221,442,209,436,209,418,191,403,155,382,116,367,101,370,98,364,
    122,355,158,367,203,388,212,394,242,427"
    target="_self" value="HI" alt="Hawaii"
    onclick="javascript:getDtl(this);"/>

    Hi,
    Any news about that issue, we are also interested in any solution.
    Thanks
    Math

  • I moved to new house where I have wifi base station I made extension via TP-link power line adapter and connect my Airport utility 6.3.2, but I don't now how to set up as a second network with one IP address?Could you help me please?

    I moved to new house where I have wifi base station I made extension via TP-link power line adapter and connect my Airport utility 6.3.2, but I don't now how to set up as a second network with one IP address?Could you help me please?

    Urvergessen wrote:
    +You may have already done this, but do you have the first AirPort Express configured to "Allow this network to be extended"?+
    Could not find that setting anywhere.
    It's in AirPort Utility, AirPort panel, Wireless tab.
    When I'm within the range of the base station I connect normally, but further away the connection drops despite the fact that the other Airport is very close and light is green. Interestingly, my PB Pro has signal almost everywhere in the house, but my iPhone and Mac Mini don't. Most likely just a hardware difference?
    In AirPort Utility with the second Express, in the AirPort panel, Wireless tab, have you checked "Allow wireless clients"?
    The second AP does show an IP address: 10.0.1.3.
    With a "Configure IPv4" setting of "Using DHCP", that suggests that the second Express really is connecting to the first Express. In that case I have no other explanation of your your problem.

  • How to implement navigation control inside view controller project

    Hi,
    I am trying to implement an navigation control in a view controller project.
    I am unable to do that process.
    Can anyone please suggest me how to do this navigation flow which should be placed inside view controller.
    SRI.

    Hi,
    I am using Jdeveloper 11.1.1.4.0.
    To use the appModules methods, I am creating the service interface and then I am creating the webservice proxy into another view controller project and access the appModule methods.
    Now, I don't want to create the webservice proxy. I want to directly access the appModule methods.
    Thanks,
    Rohit.

Maybe you are looking for

  • I can't change my Fios speeds to Quantum without chaning my TV plan!?

    So for the previous 2 nights, i've been trying to change my internet speed from 20/5 to 75/35. I've tried though the website, MULTIPLE times. The website works sporadically, sometimes i get furhter than others, but the end result is always the same,

  • Purchase goods receipt base on components

    Dear Guru , We have one requirement which is the purchase goods receipt is base on sales bom components level . For instance , in system we have A material number and it have 3 sales bom components : B , C and D . And we created one Purchase Order on

  • Media Encoder CS6 not working with Premiere

    Hi I have been merrily editing a lager job in Adobe Premiere CS6 and then queuing the time lines to export in media encoder CS6 done the entire job everything rendered fine then Bam all of a sudden when I try and render I get all the audio a couple o

  • Exclude in InfoPackage

    Hi Suppose i have 20 Sales Orgs. I want to extract the data of only say 17 Sales Orgs. Means i dont want to extract only 2/3, want rest of all. So is there anyway, in Infopackage, that i put only these 2 or 3 lines, so that it extracts all other Sale

  • Import from iDVD image file

    I was looking through some of my old iDVD images and accidentally left one of them mounted. I opened iMovie 08 and it instantly recognized the DVD as a Camcorder and gave me a thumbnail of each Chapter and gave me the option to import it into iMovie