Reentrancy in ansynchronously called live

Hi all

Recently, I developed an application that uses widely one communication GPIB Subvi, who writes a query and reads the responses of a single machine. To avoid collisions, I deliberately put this VI as not reentrant.

The Subvi is called by another VI, of course.

Now, please look at this situation: I have run several instances of the appellant in an asynchronous way? We'll respect the policy of non-reentrancy?

I have hard times debugging the monstrosity that I created and I think I'm on collisions here.

Please, share your ideas. Thank you.

EDIT: I would be grateful if someone would like to share also a method of verification instruments GPIB (namely Agilent ENA) is ready for the query. I would implement this mechanism just to be sure that the non-reentrancy is respected.

Dear McTom

Yes, when you call a non-reentrant VI anywhere in your code, even in calls asynchronous, only one copy will exist, so all calls to this function will have to wait their turn before the end of the call running.

If you need a more sophisticated approach, let me suggest your communication GPIB of migrating to another loop. You can create a queue to send requests to this loop and pass the reference of the queue all the asynchronous calls. This way, you have the possibility to monitor the State of the loop (number of items in the queue of the current item, status) as well as some manipulation of advanced queue (priority, hunting queue messages).

Kind regards:

Tags: NI Software

Similar Questions

  • VCS Highway internal of external call (Live ip)

    Dear members,

    It is I want to call the other end points all over the world who have direct ip, and similarly with the keeper change affecting I want to call my end points too.

    Note:

    When I call from my endpoints the register to the doorman, but when I do the direct ip call I choose the Direct option. I can able to appeal to both ends with the change of the setting.

    Kind regards

    Archambeau

    I might be a little lost on what you have and how it is configured, but on page 30 of this guide http://www.cisco.com/en/US/docs/telepresence/infrastructure/vcs/config_guide/Cisco_VCS_Basic_Configuration_Control_with_Expressway_Deployment_Guide_X7-2.pdf

    the configuration required to enable locally registered endpoints call public IP addresses directly explained. You only need to register your end points of your VCS using SIP and H323 (either one will be fine), and the VCS configuration takes care of the rest.

    -Zac Colton

  • Call video concerns

    You can me whence video calling live streaming in the end go clear?... He'll get disappeared as soon as the call is interrupted, or even stored in your database for a particular period? If Yes, then can revisit us our old video without recording software conversation?... and I want to also know what is the source of these bunch of videos porn Skype in some porn sites?... If it was self recorded using 3rd party software and then downloaded by or hacked clients who is deciphering of these AES 256-bit based hard data encrypted by pirates or your Skype itself pass these sensitive videos on the porn sites? Can you give me an amazing answer clear all my doubts? pls don't post any Security Center or privacy policy link to designate...

    One more time!

    Everything can install a 3rd party software and record Skype conversations on their end.

    There are a lot of perverse people record their own video calls.

  • I can not use files lives in application.exe

    Hello al.

    I use files lives to call my indicators. Its works perfectly in my vi but when I try to build exe with the files lives app generator is not working.

    How can I solve this problem? You can see my call lives method of attachments.

    Thank you.

    I don't know if this is your problem, but do not use a SAW, simply use a VI the value be reentrant.

  • Inline Subvi

    How to create an inline under VI in LV 2010?... are there disadvantages using inline void VI?

    Place a check in the box "Inline Subvi by calling live" on the execution of the VI properties page.

    Some compromises: a Subvi you inline cannot contain recursion, and all the screws calling the Subvi should be static. Also, when you "inline" a Subvi, LabVIEW ignores any priority, reentrancy, or privileged execution parameters and that they may not contain the automatic management of errors, call dialog box functions or takes charge debugging.

  • 'Sorting album' is not displayed correctly

    I discovered that field "Album kind" did not work as I expected in my latest version of iTunes on 10 of widows.

    I added a large Cabinet in my iTunes music library. It's Candlemass band box called Doomology , which contains seven CDs each being a separate album. I would like to as each name of the album in this set to display in the column 'Album', but have all the albums that are grouped under the name of Doomology in the Explorer. I wrote the name of each album in 'Album' tags (for example, the fist of the box set disc is called Live Jönköping) and registered Doomology in 'Album of the sort. However due to some weird reason, all the photos are grouped under the name Live Jönköping in the column browser - iTunes recognized that all of these albums should be grouped in a single line in the column browser, but looks like it applies the name of the first album for the display and not the complete cabinet (which is correctly written in the tag 'Album kind' of each file).

    Could you please share ideas on what could go wrong?

    The sort fields are not designed to combine different values. If you want the box to appear as an album, give it a title of an album. Each value of non-tri should be associated with exactly one sort value and vice versa. The non-sort value is what is displayed, the sort value control where he figures in the sorting lists.

    TT2

  • Print from 3rd generation iPad without internet HP Envy 4500 or 5530 or?

    I'm trying to help a friend who is a senior and has no computer or ISP.  She will receive an iPad tomorrow 3rd generation that is wifi and cellular.  I'm trying to minimize its costs and to believe that she can manage with just cellular data for email little and surfing, she must do to keep in touch with his doctors due to health problems.  She tells me that she wants to be able to print.  With no wifi and no ISP (at least to start) and no way to connect an iPad to a printer with a cable, I searched for a way to print.

    I came across a YouTube video where the guy he says he can print with certain HP printers on your iPad or your iPhone when in a vehicle and away from any wifi.  It calls the function in some printers HP called "direct print".  He referred to HP 5520.  I'm looking at HP 4500 or HP 5530.  I can't find references to "direct print".  Is there another name?  I read in the Forums of Apple that the Envy of printers range are capable of a direct impression of iPhones and iPads.  Is this true?

    Then, before I have buy for my friend, I need to know if it is possible what I want to achieve.  She will be able to print directly to one of these printers (or anyone) by selecting it in the wifi network offers?

    I tried to read the info on the HP website and there are references to send documents to the printer via a kind of HP Server, and even if this can work, it sounds more heavy for her.  She is a total newbie to computer and although I'm not, I have to be able to go home and raise his iPad and running and I want to give him a way to print.

    It goes without saying that what she need is a printer/copier basic and inexpensive, and I'm hoping to get one for around $100...

    Thank you!

    Hi there and welcome to the forum. The feature you are referring is called "Live wireless" and want 4500 both want 5530 have this feature. When a printer has a wireless direct printing capability means your WiFi (smartphone, Tablet, laptop) compatible devices can connect directly to your printer wireless network without using a wireless router or access point. This sounds like it would work perfectly in the case of your friend who has currently no ISP. Here is a link to a web page that says wireless direct printing in more detail http://www.hp.com/global/us/en/wireless/wireless-direct.html

    I hope this information is useful and feel free to post on the Forum with other issues.

    Best.

  • Reset password in Windows 7

    Wih Compaq Windows 7 on it.

    I bought a PC from a friend of mind. It had a password on it, and I need to reset the password 'pass '.

    He left the city. I can't get my hands on him. So, how do I reset it. Help

    You list the Compaq model you have it please?

    There are all kinds of tutorials on how to do this if you Google it.

    The best way to reset your password for Windows user at this point is to create whats called Live CD (or USB).

    You start in this Live CD and follow the instructions to reset the password.

    You will need access to another computer and download the software to create the Live CD.

    There are several Linux-based programs that do this, but I like Lazesoft.
    I learned of the Lazesoft Recover My Password by looking at Britec09 which makes tech YouTube tutorials.

    Lazesoft makes the process easy and you don't need to know the command prompts.
    The software downloaded will be also set up and install on a CD or a usb key without installing anything extra. Just follow the guests. The best part is a free edition just to remove the password.

    Go to this link to read about it.
    How to burn Windows password recovery CD.
    How to reset your forgotten password.

    Not knowing what computer you have, I assumed that touch the key F9 to start, you will have to boot selection screen to boot from your new Live CD or USB.

    If you need further help, let me know.

  • Difficulty to remove the door of Pavilion g6-1d11dx laptop

    I saw the online service manual, and it says to remove the battery, loosen the two captive screws that fix the door to the computer. I did it. Then I'm supposed to be able to remove the service door. It's not going to.  Then I watched a video for a newer model, and he says to slide the battery release while removing the service door. I did it, push the release of the battery more than all the way, but the back door still won't come out.

    Here is the service manual for your laptop: http://h10032.www1.hp.com/ctg/Manual/c03094202.pdf

    Is there some kind of trick to go out this door?

    Moreover, the screws, but they don't come out. I guess that's why they are called "live captive."

    The reason why I need to open the door: to replace the memory. There may have been a problem of overheating that caused memory to go bad, I'm guessing, but not sure about that. Which would affect opening the back door? I guess overheating, because when I do the memory diagnostic when the computer first starts, it goes. But if I do 10 or 15 minutes later, she fails.

    Hello:

    It is simply difficult to lift the door.

    See this related post... and the other links I posted therein.

    http://h30434.www3.HP.com/T5/hardware-upgrades-replacements/HP-Pavillion-G6-memory-upgrade-problems/m-p/1374715#M6863

  • Application Builder Question: How to get several .exe files in one version?

    I am trying to release a LV 2010 application composed of a high level VI (Main.vi), and a number of dynamically called live contacting one using functional global variables (and a few classic global variables).

    One of the dynamic subVIs (Second.vi) can in fact be used independently of Main.vi (and often will). I wish it were available as a .exe, but I would like to be able to communicate with Main.exe if is started after Second.exe. Is - it somehow possible?

    It seems to me that I must write two screws as independent applications (and release them as such, but in the same folder of the application) and find another way to enable the exchange of data between the two (which, I have no idea). Is there an easier way, I'm missing? The two screws as high level screws in the Build specification will do almost what I want, but not quite, since it in order to open the two screws little important if I want to run only the Main.vi or Second.vi only (and of course only show the single .exe file in the application folder).

    You could do this by using the arguments passed to the exe.  This document gives an example "past of Arguments to a LabVIEW executable".  I just think, you can create shortcuts in the Application Builder, but you will need to generate them buy a post running installation tool.

    Jason

  • Return the focus to the main window of VI

    In fact, the scenario is a little more complicated than what is described.

    There is a main VI has a user interface that uses a Structure of the event to capture / process the events of the operator.  This same main VI also called live dynamic.  One of them has its own Structure of the event.  The code for the two screws was developed using LVOOP.

    There are shortcut keys associated with the main vi.  However, given that the main spaws Dynamics Dynamics VI VI VI is the active window.  As a result, all keyboard events are processed by the Structure of the event of dynamic VI (of course).

    However, when a keydown event is raised, it should be captured by the main VI.  The architecture of code cannot be changed.  What would be an appropriate method to make the main VI window active (so able to handle keyboard events) or be able to transmit events keydown event captured the main VI without a redesign of the architecture?

    Some ideas would be to register for outdoor events (which are sent to the hand) and create a keydown event in dynamic VI.  This may require the implementation of a queue.  Or because the code uses LVOOP, and then creating a lvclass to handle keydown events may be the way to go.

    I just want to get some feedback on potential "gatchas" which can hide when you try to implement a solution.

    Or maybe there is something simple that I've not taken into account.

    Thank you

    RayR

    Don't know much about your LVOOP, but I guess you know VI, FP. Run - Time.Minimized, to reduce to a minimum the dynamic VI of VI of the hand or the dynamics VI himself.

    Or you can use the Application method "Bring forward" after spawning dynamic VI. This will give the main VI keyboard back focus. I believe in KISSING.

  • Executable files

    A few questions about the executables:

    I have LV2011 and followed the tutorial using Project to create exe and install the files.  The source code works (interviews in the series) on my machine as the exe.  When should I wear installation and run the exe file to another laptop the code (no error and I can call each Subvi), but it seems he isn't speaking to the serial port.  I used telnet on the computer brought to ensure that is not the test equip and telnet works.   If the settings and the port number are correct.

    I have a w vi main buttons sub call live.

    Also, the front of the machine with vent screws extend out of the screen and a few words label (decorations) front panel are shared as there's a cr.

    A Subvi is larger than the screen.  Pc and pc port development are the same.

    Are there settings I should check to make certain ports to another even if the two machine "seem to" be the same?

    All I want is for the user, click on the exe file, and then be able to select the menu buttons in my main vi.  Don't run button, stop to be button etc.

    I want to:

    VI properties > window size?

    Properties VI > position window Run Time?  "centered" 'primary' "current screen size use"?

    If I select 'run at the opening and close thereafter... "If I need to edit the vi how get you the diagram if you chose to not not to display the menu buttons?  Make 2 copies of the screw?  O the menu buttons and a w/o?

    I know it will be difficult without seeing the code, but I can't post that for reasons of industrial property.

    Thank you!

    Did you install NI-VISA on the target machine? This is the API used by LabVIEW to talk to serial ports. You configure a Setup program to install your application and NI-VISA, as well as the LabVIEW Run-Time, or you can install them individually.

    EDIT: Clicked Post before finishing. Clenched fingers.

    As for the rest of your questions: have you checked to make sure that resolutions of the screens are the same? What do you mean that the decorations are "split". Can you at least post a screenshot of the front panel? Does this happen with just this VI, or any VI?

    Regarding your questions about the size of the window, position of execution, etc... Well, which depends entirely on you. What do you think the size of the window to be? Where do you want that window? There is no "right" answer to this.

    I do not understand your last question. Once you create the exe file that you cannot edit the schema-block, so I don't understand what you're trying to do with that on the computer target.

  • A DVD of printing on Canon Pixma Pro-100

    I try to print an image on a DVD using the above referenced printer. Lightroom and Photoshop Elements keep send me error messages that the inner cover is open. Of course, it is open: you must insert the drawer of the DVD to print! I also tried Canon Easy-PhotoPrint EX and my garden of Image. Both apps work fine and don't trigger the printer error message except that the image is larger that the DVD any image of the size that I use. My latest attempt involves a picture that was 2.5 x 1.75 "according to the standard 12cm (4.72") DVD, but the printed image much larger than the DVD.
    Any suggestions would be greatly appreciated.

    Hi Ken_k,

    It is recommended that you contact the direct technical assistance. There is NO charge for this call. Information in real-time to a technical assistance call live would be very beneficial in this case.

    Please call 1-866-261-9362, Monday - Friday 10:00-10: 00 ET (excluding holidays). A Canon technical support representative will be able to solve this problem more quickly.

  • I have a Canon ip6600D printer which only becomes an error 6500, cleared error now no printing

    I have a Canon IP6600D printer and today it started acting.

    First of all, I found it turned off earlier today and I had problem trying to lights up but finally did and received an error message indicating an invalid legacy was plugged in to the printer - remove the device.  Nothing new has been connected to the legacy just usb that connects to my laptop.

    After about an hour of playing with the printer, unplug the unit, unplug the USB cable, turn on / off power with and without the USB cable, the message changed to an error message 6500.

    I played with it for about an hour, trying several things, on and outside, opening the lid with the inks and pressing the power button, etc... saw a message about a reset, which doesn't seem to work at first, but I tried once more to the power of the printer and everything seemed fine.  He showed several inks were out, so I replaced them with new cartridges and now no impression at all!

    I tried to send a word document that is black and white, went by his movements, seemed it was printing, but the page is empty.  I tried to send a picture of the PC - again took time to print the photo, but the page is empty.  I tried to use an SD card to print a photo and even once - took time and sounded like it was printing, but the page is empty.

    I tried to clean the heads, print an alignment page, etc..., all the basic things to correct the wrong impression but still nothing but perfect blank pages - no ink at all.

    Any suggestions?

    Hi Stevenoh,

    It is recommended that you contact the direct technical assistance. There is NO charge for this call. Information in real-time to a technical assistance call live would be very beneficial in this case.

    Please call 1-866-261-9362, Monday - Friday 10:00-10: 00 ET (excluding holidays). A Canon technical support representative will be able to solve this problem more quickly.

  • My canon ipf760 says that it is offline. I reinstalled and it continues to be.

    My Canon iPF760 keeps going offline. Every time I have to uninstall and reinstall. This time it does not. I'm on Windows 10.

    Hi electricworks,

    It is recommended that you contact the direct technical assistance. There is NO charge for this call. Information in real-time to a technical assistance call live would be very beneficial in this case.

    Please call 1-800-423-2366, Monday to Friday from 08:00-08: HE (excluding holidays). A Canon technical support representative will be able to solve this problem more quickly.

Maybe you are looking for