New Labview Resource

REAL Controls, Inc., a National Instruments Alliance member, has just
published our new website. We have provided a number of VI's for free
download and personal use. These include a couple of cool keypads,
communication drivers for Johnson Controls Companion process controllers and
for Automation Directs brand of PLC's. Stop by to check us out at
http://www.realcontrols.com.
Sent via Deja.com http://www.deja.com/
Before you buy.

It's not correct to say that just dropping a resource control itself on the front panel or diagram opens a session. The resource is automatically opened when calling VISA function (i.e. a write or a read), if the resource was not explicitly opened with the VISA Open function. You can see this yourself. Put just a resource control on the block diagram, select the resource and run the VI. Click the arrow on the control and look at the resources. Now, wire a VISA Write to the control, run the VI, and look at the resources. You will now see a little icon next to the resource you selected. This indicates that the resource is open. The automatic opening of a resource was a change made to VISA several years ago and you will still see the VISA Open in instrument drivers. It's not a bad idea to always use the VISA Open function. For serial, you would put it before the VISA Configure Serial Port.
Attachments:
Open Resource.PNG ‏4 KB

Similar Messages

  • Labview: resource not found ; Specifically a VI located in my LV 8.2 Project I am trying to download to my FP-2000 and run.

    Hi, 
    I am fairly new to the LV Project method of building executable files and embeded applications. 
    I have been using LV 7.2 for the last few years and finally switched over to 8.2 this last summer.
    My problem is that I have an embedded application that I need to troubleshoot, but every time I try and run it from my desktop, it hits me with one of these messages:
    Deploying MPPT-Testbed  (successfully deployed target settings)
    Deploying ErrorConvert.vi  (already deployed)
    Deploying FP Close(IO).vi
    Failed to download FP Close(IO).vi
    LabVIEW:  Resource not found.
    LabVIEW:  Resource not found.
    The FP Close(IO).vi is the latest issue, I have had other files that have failed to load as well.  I have attempted to make a common folder for all of my shared VIs, I have 6 FP-2000 controllers. 
    Any ideas? 
    I run LV 8.2 w/RT on my desktop, my FP-2000 is running LV 8.2, FP Drivers 5.2.0 and FP VI Manager 4.1.0
    -Bill

    Hi Bill,
    Since you produced code in a previous version of LabVIEW, and therefore previous FieldPoint driver version, you will need to revamp your code a little to be able to use it in LV 8.2 with FieldPoint 5.0. I'm assuming that the FP Close.vi is not available in the palette that is not available in LabVIEW 8.2. This is expected, as FieldPoint 5.0 utilizes different VIs than previous versions. Accordingly, you do not need to use the FP Open or FP Close VIs, as they are not available in this driver version. However, you only need to use a Browse I/O Point and either a FP Read, FP Write or FP Read/Write. Generally, a quick modification of your code will take care of this problem. Let us know if you need help with this; a screenshot of your code might be helpful. Thanks!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Labview: resource not found error code 24 when building executable using 8.20 and dsc module

    I am trying to build an executable and I keep getting and error and cannot seem to figure out what is wring.  The whole error is "LabVIEW: resource not found.  An error occured loading "interface 3.vi"  Labview load error code 24:  this vi cannot be loaded because it is broken and has no block diagram."
    I am using LV 8.20 and DSC 8.2.  I am trying to create an executable that has the web server running for using remote panels, i have netowrk published shared variables, connecting to a fieldpoint unit, and I am using the NI system tray icon vis to load the program to the system tray.
    I have my shared variable library added as a support file, as well as the lvdsc.ini, and the tray icon files.  I have sleected "Enable Enhacned DSC run time support" in the app builder, did not remove any type def,etc.
    I cannot get the .exe to run on my development machine or another machine, I get the same error.  I tried creating an installer that installed the 8.2 runtime, dsc,fieldpoint, variable engine and manager and MAX.
    I could not find anything in the help files on the dsc, maybe someone else has some hints.  thanks
    Kenny

    Hi Kenny,
    I hope you are doing well today! What is interface 3.vi? Is it possible for you to post your project over here? Also, I would recommend creating a simple DSC application; and would like you to build it. Do you still get errors?
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • FTP error-Unable to create new pooled resource: com.sap.aii.adapter.file.ft

    Hi,
    We have a scenario where XI receives a Idoc and based on the contents of Idoc, It will generate 5 different files and send it to the external FTP server.We configured 5 receiver channels for these 5 files.
    When this interface runs, most of the files will be delivered but some of the messages will be errored out.
    The receiver channel has shown the following error-
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: com.sap.aii.adapter.file.ftp.FTPEx
    I tried to resend them by temperorily stopping other channels to reduce connections to this FTP server.But these messages again resulted with same error.
    Can someone suggest what might be the cause for this error.
    Thanks in advance.

    Hi ,
    As I am not sure about the problem so U just try all of the option I am writing below. It may help u as these are the probable solutions for this problem.
    1.perform Full CPA cache refresh using PIDIRUSER
    2.The problem seems to be in establishing the connection with the File server . This could be due to
    a. Wrong user name or password in receiver adapter .
    b. Firewall connection are not open
    actually you are saying that some files are being delivered so all the file has to be deliverd on same server on diffrent directory or all files are going on diffrent server at present I am assuming that all files are going on diffrent server so please check UID & PWD properly.if they are on same server but diff. directory it can be easily done using one Communication channel only.
    3. Finally please check the errorneous communication channel .
    to check your communication channels are working fine or not you can check in channel monitoring in PI7.0, adapter monitoring in Xi3.0.
    if you are on PI7.0, goto RWBCache monitoring select AE and cilck disply-select the date todays--check everything is greent here
    4.Please check your maximal connection pool .
    Regards,
    Saurabh

  • File Adapter - FTP - Unable to Create new pooled resource

    Hi Friends,
    I am getting the following error while using file adapter with FTP protocol...
    Attempt to process file failed with Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed
    Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: PASS command failed.
    Can someone help me to solve this probelm..
    Regards,
    Shyam.

    Hi,
    Try to check the directory you have specified in the CC and also check whether you are able to connect to the FTP server with those login credential and access the directory specified.
    Also let me know whether it is working fine for other scenario's or not.
    Regards,
    Nithiyanandam

  • New IT Resource based on old IT Resource

    Hello,
    I would like to create a number of IT resources all based on the same connector. So basically, I want the new IT Resource to inherit all of the provisioning tasks from the original IT Resource (but I just want less fields to be assigned).
    Is there a quick way to do this? (Or is deployment manager the best & quickest)

    Hello,
    I would like to create a number of IT resources all based on the same connector. So basically, I want the new IT Resource to inherit all of the provisioning tasks from the original IT Resource (but I just want less fields to be assigned).
    Is there a quick way to do this? (Or is deployment manager the best & quickest)

  • FIMMA - sync engine - not reading the new custom resource from portal

    I added a new custom resource in FIM portal. I added 5 attributes to it. FIMMA refresh schema is not reading the new schema. It says schema is uptodate. I tried IIS reset and even all server restarts. What am I mising?

    Did you add the resource to the synchronization filter? I believe it's administration->all resources->synchronization filter. Then do the IIS reset and sync engine schema update. Only resources in that filter can be seen by the sync engine.
    Mark
    Mark Creekmore - BlueVault Software http://www.bluevaultsoftware.com

  • Using New LabVIEW Merge Tool LVMerge With Tortoise SVN

    Hi,
    I've just posted a new blog article Using New LabVIEW Merge Tool LVMerge With Tortoise SVN to my blog at ExpressionFlow. Check it out!
    Tomi
    Tomi Maila

    The LV merge tool really does become far more powerful when integrated into SVN than when used manually.  Here's an article on Using LVmerge LabVIEW Merge Tool with TortoiseSVN with all the necessary setup instructions for LabView 8.5 and 8.6.
    Jesse

  • New LabVIEW Instrument -Nugget

    How to add "New LabVIEW Instrument" to the windows "New" context menu.  This is something I have meaning to try for a while, and I am sure I will find useful where very long paths are involved.  I thought I would share the process with you, even though its not really a LabVIEW thing.
    Here is what I want to see in the NEW menu when i right click in a folder::
    And here's how to do it.  First, be careful in the registry!
    Use the registry editor and browse to HKEY_CLASSES_ROOT\.VI
    Add a new key called ShellNew
    Create a string value "FileName" in this new key.  Give in a value of LabVIEWInst.vi.  This VI is the template that windows will use to create the new vi.
    Close the registry editor when it looks like this:
    Now create a new, blank VI and call it LabVIEWInst.vi
    Save it in the folder Windows\ShellNew.  (I had to save it to the desktop first, then move it to the ShellNew folder as Win7 had issues saving to the Windows folder.)
    All Done!
    Now log off and back on to refresh the ShellNew list.
    I Hope this is of use to somebody.
    Michael.

    ussr123 wrote:
    The problem is, after stopping the simulation and restarting it again, some important parameters of the VI are not initialized again and therefore all my calculations in the Labview Instrument file are messed up.
    Is there any option to set the params back to their default values after the simulation has been restarted?
    Where is the data held inside the LabVIEW code (local variables, uninitialized shift registers, etc.)?
    LabVIEW Champion . Do more with less code and in less time .

  • Installing old VIs in newer LabVIEW folder: how to avoid conversion warnings?

    We are offering a set of VIs to our users. We build our own installer which installs them into the LabVIEW program folder under vi.lib. A menu file is installed in the menus tor which collects the VIs in a palette.
    For providing compatibility with LV 8.2 and up the VIs are in v8.2 format. When they are installed in a higher LV version and a LV program that contains some of the VIs is closed, LV issues the warning that the VIs have been recompiled and converted from an older format. How can we install the VIs so that LV ignores the format version?

    smercurio_fc wrote:
    I did not mean to imply that setting the read-only flag would fix your problem. Only that it would prevent the file from being saved, if that's what you were intending to be done. You cannot change the behavior, as it is by design. You can deal with it by compiling the VIs when you install the software, as has been mentioned. Or, you can distribute pre-compiled versions in the LabVIEW versions of your choice.
    You mean it is definitely not possible to have VIs in one, relatively old LabVIEW format and install them for newer LabVIEW versions without getting this (completely useless) warning? This is hard to believe. How do other companies distribute their LabVIEW programming interfaces? Do they really maintain a VI versions for every LV version (and possible sub-version) just to guarantee a good user experience?
    Since the recompiled changes are dumped anyway, I would expect a VI or library flag I could set or a special way of installing the VIs that tells LabVIEW: ignore the changes when the VI is closed.
    Recompiling everything during installation is not what we want since it would make the installation process too complicated, in which our LabVIEW API is just a small part. If nothing else works I would rather install the VIs writable so the user could just hit "save all" when he closes his program and get rid of the warnings, but this is not optimal.
    Olf

  • How to convert VI that calls a CIN to newer LabVIEW without having the LSB

    Hi,
    I'd like to upgrade a VI which calls a CIN from LV 7.1 to LV 8.5 or 9.0, but I have no access to the CIN code (the .lsb file) anymore. That .lsb was not one of the .lsb which came with LV but written by some third party.
    The only chance I see write now is to compile the CIN-using VI into a DLL with LV 7.1 and then use this DLL in the newer LV versions. I wonder if there is simpler way to do it, maybe by extracting the LSB code from the LV7.1 VI? (OTOH the CIN support seems to be discontinued in LV 2009, so that would probably not make much sense...)

    ahlers01 wrote:
    Hi,
    I'd like to upgrade a VI which calls a CIN from LV 7.1 to LV 8.5 or 9.0, but I have no access to the CIN code (the .lsb file) anymore. That .lsb was not one of the .lsb which came with LV but written by some third party.
    The only chance I see write now is to compile the CIN-using VI into a DLL with LV 7.1 and then use this DLL in the newer LV versions. I wonder if there is simpler way to do it, maybe by extracting the LSB code from the LV7.1 VI? (OTOH the CIN support seems to be discontinued in LV 2009, so that would probably not make much sense...)
    Well, as long as you do not change the platform the CIN resource should simply be forward portable by LabVIEW itself (Platform means here OS AND CPU bitness). Of course if what you say is true and LabVIEW 2009 does not support CINs at all anymore then this can't work.
    An LSB is a compiled object file prepared into a special form by the lsbutil tool. But the basic fact of compiled object code remains. So the only way to get back at what this CIN does is to extract the binary object file image from the LSB, something not exactly obvious but doable, and then disassemble that object file into assembly code and translate that back into C code.
    However this is considered illegal in many jurisdications including the US, when you do not hold the copyright on the original code. DMCA anyone?
    Message Edited by rolfk on 11-02-2009 08:31 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Call Function STARTING NEW TASK ----- Resource not available

    Hi All,
    I am calling a Function Module in new task using STARTING NEW TASK.
    If the resources are not available for the Dialog Process to start, for how long will SAP keep on trying to acquire the resources and in case if it fails to acquire resource, then what will happen
    Regards,
    Abhishek

    Hi,
    From memory (as it is a long time since I've done this) you can call another function module or SAP command that will tell you how many work processes are currently available before you actually then start the new task.  This can help you to avoid this issue and also stop you from eating up all available work processes on a system which will annoy all other users!
    I think this is the FM
    CALL FUNCTION 'SPBT_INITIALIZE'
      EXPORTING
        group_name     = 'parallel_generators'
      IMPORTING
        free_pbt_wps   = w_free_processes
      EXCEPTIONS
        OTHERS         = 1.
    Gareth.

  • ActiveX COM issue in new LabVIEW instance

    I have a rather peculiar problem I'm running into with using a COM library from a company to read proprietary binary files. I'm not very familiar with this type of Labview programming, I just followed their examples and experimented, a lot. I have talked for hours with the software engineer at the company who provides the "FSCOM Server" as they call it (Orbit F/R) and he can't figure out what is going on either. His expertise is not in Labview, but in text-based languages (I had to explain how to wire things in Labview over the phone).
    I use this FSCOM to read the contents of antenna pattern files stored in a binary format (frustrating). Everything works fine and as expected after weeks of experimenting and direction from Orbit. The problem is when I shut down Labview completely and open the code in a brand new instance, I run it on a data file and It errors out with "The server threw an exception." The weird part is nothing has changed from when it worked 30 seconds ago when I was programming it before I shut down Labview. The way to get it working again? Delete just 1 wire somewhere, anywhere then re-wire it. Now it works, everytime.
    Does anyone that knows COM/ActiveX have any idea how I can get this to work so I can make it an executable to distribute to other workstations?
    PS. It currently won't run in executable form, I've tried.
    Jamie
    Attachments:
    FileSystemCOM_Server_1.x.zip ‏4115 KB
    folder.zip ‏502 KB
    Block Diagram.png ‏286 KB

    Thank you for the tips, like I said I'm new to ActiveX objects so it's good to know how to properly handle them. I was using the attached code as my example on how to use their COM server so anymore information on how to use them or if they were not following a "best practice" is welcome.
    However, I don't think the closing references out of order explains this problem because when the code works, as in when I delete a wire and re-wire it, it works perfectly.
    If I open it in a fresh Labview, it won't get past case structure "4" (Read Azimuth / Elevation Angles) as in it doesn't seem to successfully read the data file as that is the first bit that looks inside the actual file.  This made me think its a file/COM server issue which is why I spent over an hour on the phone yesterday with the developer of this COM server and he actually re-created this problem.  Sadly he couldn't figure out why it would work if you just played with the wires a bit first.
    So this is why I'm here to see if there is anything blatently wrong with how I'm doing this according to Labview standards and not MatLab or some other languages' standards. I'm hoping that whenever you or someone else gets a minute to try my .vi's they will run into the same problem and can maybe direct from there.
    It is a strange thing to have working code, but only if you change it first.
    Also I know this would be a lot cleaner if the case structures were subvi's instead but I tried that when I first started programming this and couldn't get the reference of the COM Server to read out/read in correctly from on subvi to the next. I wired it up like I do any other vi and like so many NI drivers are out there, but it wouldn't work with this COM server and I just had to get it working so I moved on. I may revist the subvi aspect later after its built and working for everyone and just make it an update later to clean up the code a bit.
    Jamie
    Attachments:
    FSCOM Example - BD.png ‏67 KB

  • New web resource

    Hi Everyone
    A few of you may already know about this, but we now have a new resource for both documentation and tutorials at - http://www.webplatform.org/
    It covers all the resources that a designer/developer requires regarding the browser side of the web from html(5) to WebGL. The site, (and much of the content) is still in the alpha stage of development, but as it is a collaboration by all the major players in the field it is I think well worth a mention here on the forum, (and possibly a bookmark).
    Unlike the w3schools site this one is actually convened by the W3C.
    PZ

    pziecina wrote:
    It is organized as a wiki, with stewards checking content changes etc. if you are interested in becoming a steward then see - http://www.webplatform.org/stewards/
    I  think that "stewards" are basically sponsors who are financing this initiative with both cash and staff. I know that Chris Mills is being loaned to the W3C for several days a week at Opera's expense.
    But I think anyone can contribute. I was able to start editing pages as soon as I signed up for an account. I didn't have to wait to be approved. There's a guide to the sort of contributions individuals can make at http://docs.webplatform.org/wiki/WPD:Getting_Started.
    The biggest obstacles to getting involved are the sheer size of the site and the weird Wikimedia markup that you need to use. I've been fleshing out some CSS property definitions, and have found it quite time-consuming, even though I've just finished writing a book on CSS3, so have most of the information easily to hand.
    When you contribute to a page, you can "watch" it, and receive an email notification if anyone else alters the page. All the pages I edited on Tuesday were updated by someone else within a couple of hours. My material was left untouched, but a minor addition was made regarding Firefox 16. I've no idea if the person who made the changes was an official editor making sure I wasn't filling the site with spam. But without some oversight of the content and contributors, it could become a problem.

  • Loading vi from newer LabVIEW version

    I can't seem to start LabVIEW 8.2 with a vi from 8.5. Please see the attachment.
    Attachments:
    labview error.doc ‏34 KB

    That is by design. You cannot open newer versions of VI in an earlier version of LabVIEW. You can have whoever created the VI resave it in 8.2 format.

Maybe you are looking for