Custom refresh device channels instead of remove device

One of the great pains that I have met is when you change i/o on a custom device, you must remove and re-add the device custom Veristand project for new channels in the project. This destroys all the channels linking and creates pain when changing custom devices of County canal.

I've created a good work around. I have create a VI that sweeps the current channels in the Veristand project against the list of channels in the compiled custom device. I then delete the items that don't belong, and add channels that do not exist. The net result is that only the channels that have been deleted to create bad links (obviously) and all the old links remain intact.

I then create a menu right click on the home page of the personal device that runs the VI I created.

The end result is a function that works just like the button "Refresh" on a model.

I have attached the snippet as an attachment, because it did not fit into a message

Here is the xml part

    
      
        Lambda Genesys Power Supply
        Lambda Genesys Power Supply
      
      cfbe9b2f-9a5f-4094-9071-559baab0f5b2
      
            To Application Data Dir
            System Explorer\Glyphs\Lambda.png
        
      
        To Common Doc Dir
        Custom Devices\Lambda Genesys Power Supply\Lambda Genesys Power Supply Configuration.llb\Lambda Genesys Power Supply Main Page.vi
      
            
                
                    183aa855-54a1-44dd-8579-4042fa0d765d
                    Action
                    
                        Refresh Custom Device
                        Refresh Custom Device
                    
                    
                        To Common Doc Dir
                        Custom Devices\Lambda Genesys Power Supply\Reload Channels.vi
                    
                
            
    

Tags: NI Products

Similar Questions

  • More questions about custom asynchronous device

    I am trying to create a custom asynchronous device for VeriStand and have the following questions:

    (a) at what rate entered in the course of analysis and data channel pushed into the FIFO of the custom device entry? The scanning speed depends on if the input channel is mapped to a control of workspace object or if it is mapped to an output of the simulation model (.dll file)?

    (b) at what rate the VI real-time asynchronous custome device running? Is it at the same rate as the primary control loop rate? Can I change the rate of implementation of a custom device and how?

    (c) I have a quad-core PXI time real platform. How can I connect the device customized to a specific processor, like what you do with a simulation model (.dll file) in the definition of system file?

    Thank you in advance.

    Data FIFO

    The rate at which data are pumped on your meter is static and has nothing to do with the question of whether the workspace is connected, or if a model is mapped to one of your channels. By default, data are pushed in input of your Custom FIFO each iteration of the loop of primary control. If the FIFO is full, the oldest data packet is crushed. In addition, by default, outings THAT FIFO is controlled ever iteration of the loop of primary control. You can, however, use the NI VeriStand - Set custom decimation of device to mark a property on your customized device that will tell the system its decimation expected in the. If you set a decimation of 10, for example, the primary control loop will be send every 10 iterations of new data and check for new data out FIFO only every 10 iterations. This can help reduce the load of the processor in your system if you do not need updates that often.

    Similarly, you can use the NI VeriStand - Set of deep FIFO to control the depths of the FIFO of your entries and exits FIFO respectively. By default, both have depth 1.

    Delivery rate

    The rate at which your custom device runs depends on how set you up. You can for example, having your Custom asynchronous device uses its own schedule and run at a pace totally independent of the system. Your VI could have regular while loop with a 10ms timer, for example, or it could be based off some hardware device timing.

    Alternatively, you can choose yourself closely synchronize with the primary control loop. This by registering using a property that your Custom device has a timed loop that will use the clock of the device. The unit's clock is a source of synchronization that is checked each iteration of the loop of primary regulation after Custom peripheral FIFO have been updated. You sign up for this simply by calling the NI VeriStand - Set loop property Type specifying Timed loop to loop type and use peripheral clock be true. Then, as the VI model, thread just the clock of the camera in your calendar input source for the timed loop. If you have specified a decimation factor, as mentioned above, you should probably also to use this factor as your dt. This means that if you have a decimation of 10, you only run your timed loop 10 all the graduations of the source of synchronization clock of the device.

    Another simple way to synchronize closely with the primary control with a few problems loop is simply base your timing off the coast of the availability of new data in your entries or exits FIFO. To do this, you can simply use regularly to loop and then just wire - 1 for FIFO wait times. Then your custom device will run as soon as the data are produced and consumed by the system.

    Specification of a processor

    There is no property integrated for the allocation of the processor, but it will be very easy for you to implement yourself. You can specify the processor to run on in the Explorer system by creating a custom using NI VeriStand - property set the property of the element. For example, you could define a property of I32 entitled 'Treatment', with-2 meaning auto-affectation and any non-negative value indicating an index of specific processor. Set this property in one of your device in System Explorer configuration pages and then read the property in VI of pilot in the engine using NI VeriStand - get the property of the element. Then just wire up the value of the property at the entrance of affinity processor on your timed loop. However, you should always check that this processor is on target. Otherwise the timed loop will report an error and abort. It's exactly what we do for models in-house.

  • Customized online device synchronization

    Hello

    In one of our projects, we must pay special attention to synchronization. There are several custom devices (CD) that need to work together in a deterministic way. The question is: is at - it a way to ensure that the order of execution of the part online of these devices in the PCL, or at least to predict? (In particular PCL a cycle I want to be sure CD1 is called before CD2).

    Thx for the answer

    Is there a way to control the order of execution of devices customized model inline, but not in line of custom hardware devices. It's a little cryptic to say the least.

    To set the execution order, simply add the following property to your custom device node main:

    Property name: nivs. {8f8f48dc-2a8c-4a7c-98b5-164e566940d6}

    Data type: U16

    Value: 0-255

    Use only the values between 0 and 255. Run a smaller number first. If there is a tie, then the first device added to the definition of system will initially. The assignment of priority by default if this property is not set amounts to 127.

  • Custom output device

    Hello

    Is it possible to create a custom "output device" in addition to the "Blackmagic" and "Firewire" those?

    If possible, how? There are some examples of project?

    Thank you.

    Hi Philippe_138! Welcome to the forum!

    Yes it is possible,

    the Basic sample you plugin on is called 'EMP' (external monitor preview).

    This sample has been discussed in the forum before, so that you can lok upward.

    :-)

  • can I delay programs at first upward instead of remove them to speed up the process?

    can I delay programs at first upward instead of remove them to speed up the process?

    You can with services: http://www.tothepc.com/archives/delay-launch-of-applications-at-windows-7-startup/

    But what about the programs themselves, it may require a third-party program.
  • Can I refresh the browser instead of opening a new tab?

    Hello

    Whenever I press cmd-alt-E (mac) to see a preview of the site it opens the browser Chrome new tab and I end up with 2 dozen tabs. Can - I just force a refresh when recording instead?

    Thank you, Steve

    Hi Steve,.

    At the moment, you must click on Preview in the browser, as Muse will not show changes to updating as in Dreamweaver. We are already aware of this and are currently working on this feature. Unfortunately there is no timetable for the improvement I can do at this stage.

    Let me know if you have any question.

  • Find the cause of refresh Device Manager

    I am having a problem similar to the one in this post: http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/why-does-device-manager-keeps-refreshing-while-i/f370fb04-d287-4c9e-ab6a-5861f8595861.  In short, the Device Manager keeps refreshing the list of material, all a few seconds or so, even when the computer is sitting idle.

    In my case the problem is not a recently added material.  The problem comes and goes.  Sometimes, the update is not immediate, and sometimes the computer crashes permanently.  I think one of my pieces of hardware can be failing intermittently, but I don't know which.  I could try trial and error to figure out the problem by disabling the devices one by one at a time.  But it will take a long time, it is unclear because the underlying problem is intermittent, and it may not work if the responsible hardware is vital for the system to function.

    So my question is this: is it not somewhat faster/more easier to determine, perhaps glancing at a newspaper somewhere, what piece of hardware is causing him continually refreshes in Device Manager?  Clearly, the OS is aware of these events, as it did the update.  They are somehow?

    Hi Csprofma,

    Please contact Microsoft Community.

    This issue could be due to a faulty memory.

    Answer the following question.

    1. Have you tried the troubleshooting steps provided by Imran Chand in his reply in the thread you provided here?

    I suggest you follow the steps that are provided in the link.

    http://windows.microsoft.com/en-us/windows7/diagnosing-memory-problems-on-your-computer.

    For computer freezing problem follow the link:

    https://support.microsoft.com/en-us/kb/2681286?wa=wsignin1.0.

    Disclaimer Microsoft security scanner:

    Note: the data files that are infected must be cleaned only by removing the file completely, which means there is a risk of data loss.

    Disclaimer the disk check clause:

    Important: All performing hard disk the disk check if bad sectors are found on the disk hard disk check is trying to repair this area if all available on which data may be lost.

    Try to follow these link and check if the problem persists.

    I hope that this information will help you. Please reply with the status of the issue so that we can better help you.

    Thank you.

  • Refreshing Device Manager

    After a clean reinstall of windows 7, I get a constant refresh in Device Manager (although there is no indicators) also the noise to connect and disconnect usb port... tried everything I can think of to... totally lost...

    Hello

     
    Please contact Microsoft Community.
     

    I suggest you refer to the suggestion made by Imarn Chand at the following link.

  • Not truly Plug & Play with the generated for custom USB device .inf file

    Hello

    We have developed an application that uses the library OR-VISA-in order to communicate with our USB device via RAW communication.

    This is why we created an *.inf file using the driver Wizard. Once we plug-in the device for the first time, windows enumerates the device successfully and the 'Found new hardware' pop-up - window.

    We chose the .inf file that is created, and the device is properly installed.

    Our problem occurs when we plug one another device of the same type but with a different Serial-ID (which means that same VID, PID, only the ID for the USB - stick is different).

    For all devices with a Serial-ID, which has not been connected to windows, and yet, the "found new hardware" - window opens again so that you HAVE to choose the installation procedure. Despite the fact that the driver for this type of device was already installed, windows does not affect our driver .inf file to the device.

    If we chose, then in the "Found new hardware" procedure - the "Automatic Setup" window - the device is installed and can be used successfully.

    Of course, windows recognizes the right driver but does not automatically assign it without pop-up windows. We want to avoid the pop-up reapeating for each device.

    I did some research on this subject, and now I guess the problem is that the generated .inf file has no signature.

    Does anyone have experiences on this subject? Am I wrong? Does anyone have or had the same problem?

    All solutions next assign the same ID series for all devices?

    Here some quote the file setupapi.log (which seems to confirm my hypothesis):

    # 199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32.exe newdev.dll, ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0. {} FA2413C7-7354-42DC-845B-DC109B5174FC}
    #I060 set driver selected.
    # 019 Searching for hardware ID (s): usb\vid_1234 & pid_1234 & rev_1234, usb\vid_1234 & pid_1234! (1234 VID is only for the objective test!)
    # 018 search compatible identification: usb\class_ff & subclass_00 & prot_00, usb\class_ff & subclass_00, usb\class_ff
    Found #I022 'USB\VID_1234 & PID_1234' in C:\WINDOWS\inf\oem70.inf; Feature: "xyz"; Pilot: "xyz"; Supplier: "xyz"; MFG: "xyz"; Section name: "NIVIUSBK_Inst."
    Node #I087 untrusted, rank replaced by 0 x 00000001 0x0000c001 driver.
    Actual installation #I023 section: [NIVIUSBK_Inst]. Rank: 0x0000c001. Effective driver date: 25/09/2007.
    # 166 device install function: DIF_SELECTBESTCOMPATDRV.
    #I063 Selected driver installs from section [NIVIUSBK_Inst] 'c:\windows\inf\oem70.inf '.
    #I320 of the remains of the device class GUID: (36FC9E60-C465-11CF-8056-444553540000).

    Welcome,

    Philipp

    Hi Philip,

    Thanks a lot to post your question. I talked to our specialists in the United States on the signing of your created driver. You will find a brief description in the Readme of NI-VISA:

    "WHQL signature hardware USB.

    WHQL (Windows Hardware Quality Labs) sign your USB hardware using the driver NI-VISA for Windows XP / 2000, as part of this process it takes a PDB (program database) file to the underlying driver (NiViUsbK.sys).

    NiViUsbK.pdb is provided for this purpose. It is in \WinNT\NIvisa\USB. This is usually C:\VXIPNP\WinNT\NIvisa\USB. »

    To get it done, you must contact Microsoft. We are not allowed / able to sign your driver for you.

    Perhaps, the following link helps you: http://www.microsoft.com/whdc/winlogo/wlk/default.mspx

    Best regards

  • Showcase Custom Android devices

    I found the information that told me my customized window should run on android as well, but I can't figure out how to attach it.

    I see that you need to use the dps online app Builder to create your app for android (https://appbuilder.digitalpublishing.acrobat.com/#/main) instead of the application builder standard dps.

    In this app generator, I don't see any location to attach my zip custom showcase.

    What Miss me?

    Yes, it is mailed in mid-May.

    Neil

  • Writing to the nodes property DAQmx channel does not refresh the channel values

    Hi all

    I have a riddle.  I created a task programmatically in LabVIEW and programmatically added several analog input channels to the task.  It's easy.

    I wish that my user must be able to modify the individual channels within the task.  To this end, I created a set of screws that allow it to change the settings appropriate to the channel (for example, if it is a channel of thermocouple, it can change the type of thermocouple, CRC value, etc... If it is a strain gauge channel, it can change the coefficient of fish and so on).  These screws all works beautifully, like the VI where they live.

    The specific question that I have is that writing to the channel property nodes refreshes not communication channels.  See the images below.  The first image is the code that needs to define new channels of communication:

    Note that immediately after setting the property nodes, I read their values back, just to see what comes out back.

    The second image is an image of the public Service immediately after the execution of this VI.  Note that the values read from the channel property nodes did not updated to match to the set of values, but instead kept their initial configuration values:

    What I am doing wrong?  I fought this for a few days now and I'm stumped.

    Thanks for your time!

    Diane

    Hi, Diane.  A week ago, I also had a problem changing the channel properties (not sure that our situtions are exactly comparable, but...).  My 'solution' to want to change the appearance of the task was to just throw the original task and recreate all the elements of the task from scratch.

    I've not done enough 'experiments' to work when you can and cannot change, but am now much more cautious...

    Bob Schor

  • Refresh the screen after the removal of the UI elements

    Hello world

    I create a screen in which I use listfield to display data online as a way each line has a button Delete. I want to know how to refresh the screen after the deletion of data or a row of the screen?

    Because you actually using a HorizontalFieldManager to display each line, to remove it, you must remove the information in the underlying data store and then delete it HFM of his Manager.  That's it, removing the HFM will refresh the screen.

  • How can I me EPG of Windows Media Center to retrieve the Info for all channels instead of a few?

    I changed recently upgraded my old outdoor antenna to something much better. As a result, I now get many more channels. Some of these channels are probably close to 100 miles away. EPG WMC not being extracted and live online in the info, I guess that it takes only few of my 'area '. This translates I only find info for strings nearest while some other display Info not available. It is of course annoying and makes doing the impossible registration application.

    I'd like to solve this problem by trying to use an EPG that will pull information from over the air signal. While I searched it online all methods that seem to work for others are for people in Europe, or even for the older versions of XP/Vista of WMC. I have Windows 7 Home.

    Hello

    I will suggest you to post your question in the community of the Windows Experts:

    http://experts.Windows.com/

    I hope that helps!

  • View 4 customer failing to RDP instead of PCoIP

    Checked here, as well as on the internet and couldn't find someone who has a similar problem, so I thought I'd post and see if anyone figured this out.

    We have a Pool of offices on view 4.0.1 servers ESX 3.5 with the default value PCoIP Protocol, and the possibility for the user over ride the default protocol (we use the display server security as well for these users to connect to the House, and it's the only way that we found that the work to have the connection to the House be restored in RDP.  If the box is unchecked, no one can get on their home office).  There are about 30 other people in this pool, and they all work on PCoIP without any problem.

    One of our staff worked well on PCoIP for about a week, and then all of a sudden, his power using RDP on PCoIP.  So far, we tried (in no particular order):

    Tried the 4.5 client - did nothing different

    Tried to remove its VM, and have his new newspaper to are assigned to an another VM - seeps RDP

    Tried to move his PC to another host. -The problem follows her

    Tried to connect as another user both its host system and the other system host that we have him test - the other user connected with PCoIP

    Delete her roaming profile, and the profile on the host - still gets RDP only.

    This user is working remotely from home via the display security server, but so do a dozen other people in the same pool who do not have this problem.

    Do not know what is happening at this point.  It seems that something is put to his account to use RDP on PCoIP.  The thing that is really weird, is that this behavior follows him independently of any host it connects to.

    Anyone has any ideas, I would be grateful for all the assistance.

    Rich

    If it replaces its PCOIP Protocol and makes a login, logout and then another connection he recalls that she was PCOIP?

  • When I open a new tab and type a URL, Firefox ignores me and refreshes the tab instead. I then type the URL again. How can I fix it?

    I just installed Firefox 8 and this behavior is new for the upgrade. I checked my extensions installed against the list of extensions of the issues, and I have none of them (not looking for bars, no AVG, etc.). I already rebooted in safe mode and also used the option bars of tools and commands to reset.

    This has not fixed the problem.

    In addition to the troubleshooting caused it seem more related to tab mix. I've upgraded to the current development version of that and the problem seems to have declined.

Maybe you are looking for

  • Cannot connect to the user account

    Hello I have a Mac Mini end of 2012 running OXS El Capitan, while downloading the movies I did spill over from my hard drive, while this isn't a problem in itself when I restarted I am able to connect to my user accounts. Specifically what I see, thi

  • Scan of the paper on the top feeder (OfficeJet 8500 has more)

    Hello Does anyone know how to use feeder on top to scan several documents at the same time?

  • HP ENVY 5534: increase the size of printed text

    Printed text is very small, how do I increase the size

  • Find the latest Firmware updates for your HP printer

    Firmware is a device, or a printer operating system. Printers need a form any software that runs on the inside so that it can carry out the tasks with and without intervention from a computer or another device. Sometimes a printer needs to update the

  • Lightroom crash

    Since I installed the latest version of Lightroom to creative cloud, very frequently, it crashes ("crash"). Window of I'm on 10. I constantly have to restart. If I delete it and find a new creative cloud of Lightroom in, how do I do and what is this