Stable aid application: change of visa of 8.5 to 8.6 refnum cleaning?

Hello

I had big problems to sort some problems of communication series in a very broad program with parts dating back to Labview 3. A few mistakes intermittent comms started occurring after the upgrade of LV8.5 to 8.6.

After much headscratching it seems that the problem is due to the way refnums VISA are cleaned when a VI stops (even if others are still running in parallel).

As far as I see it, to 8.5 and below if a reference VISA is open, and a VI that uses end execution, the reference remains valid.

In 8.6 However, if ANY VI that uses a reference VISA ends, then the refnum closes automatically. However, this seems to behave differently on different computers.

I would be grateful if people with both version 8.5 and 8.6 could test the attached files. The first VI runs in a loop by checking if the reference is valid. (With the option to close it if it is already open).

The second opens a VISA reference, waits 2 seconds and then stops (without closing).

I tried this on two computers, one of them (where we are having the problem), there is a difference in behavior between LV8.5 and LV8.6. On the other hand (a laptop with no serial port, only USB, so I can not check the exact same resource VISA), there is no difference.

It would really help if you could do the following in 8.5 and 8.6

1. run "refnum valid check (8.5) .vi" and close the reference if it is already open. If you have no try to port ASRL1 something else.

2 enforce ' VISA Open refnum with delay (8.5) .vi ", (with the same visa resource), wait until it finishes.

3. tell me what happened (and what VISA resource you used if it wasn't ASRL1).

Thank you very much.

Alex

OK, I just solved my problem (after several weeks).  The option "automatically close VISA sessions ' has been selected.  Unchecking this guard the open reference and solves the problem I had.

Tags: NI Hardware

Similar Questions

  • Change my Visa/bank account number where I am charged annually for my Hotmail account. How can I do this?

    Original title: How do I change my account

    I need to change my Visa/bank account number where I am charged annually for my Hotmail account.  How can I do this?

    Hi KevinCushing,

    If you want to change the bank account number, I recommend you to contact the Bank for assistance.

    If you have any question in Hotmail account, I recommend you to ask your question in the support forum for Windows Live Hotmail for assistance:

    http://www.windowslivehelp.com/forums.aspx?ProductID=1


    Reference:
    Windows Live Hotmail Top issues and Support information

    Hope the helps of information.

  • change of visa card account number

    I have a new VISA CARD but can not find a way to change from the old to the new number.

    Hello

    Please visit this link to learn how to change your credit card details:

    https://support.Skype.com/en/FAQ/FA10486/

    I hope this helps.

    Stem

    _____________________________________________________________________________________________________

    If you found this answer useful, please give Kudos. If it is your problem, mark it as a solution to help others. Thank you!

  • 860 - 009na: the monitor turns off during access to / applications change full screen

    Hello

    I got a new computer packed with the HP Envy 32 inch monitor. I am running on an issue that is simply irrating and I don't know how to solve it.

    Basically, the screen is empty. It is not a hard lock or whatever it is, he decides just during initialization more applications full screen (IE, a game) or even post Win10, connect, when computers are like "flickering" during the swap, the screen just turned off. This can be resolved by switching on the monitor input channel, or put the monitor in standby and distributed. On these occasions, I get sound through the screen.

    So appearances, the screen continues to receive entries from the computer and because of switching the monitor off and on again, it display image as expected. This is a case where the monitor is simply decide that it does not want to display the image for reasons unknown. Such as energy conservation.

    I updated the graphics card, provided I got most up to date display driver, double checked the connection... it just happens.

    It feels like it some really boring affecting somewhere that makes the screen, and I really want to change it. For the moment, it is a rate have to turn on the screen and two times just to get the start menu, then if I insert a game, he does even once, when I leave the game, does it again. It does not occur when a game that supports the windowed mode - without borders is loaded (I guess because it is not 'true full screen').

    Thus, it seems to happen during this process to set full screen.

    Well, there is another cable that I was not in the box titled "DisplayPort".

    So I changed my HDMI cable to use this one. The monitor works perfectly now... so as a workaround, this solved.

    But the question remains, why the monitor was so weird when using HDMI? It might be marked up as a potential problem.

  • Changes in VISA interrupt handling?

    Hi all

    I'm grabbing at straws here, so I'm looking for a shoulder crying.

    I wrote a prog to USB with CVI acquisition a decade for a Board personalized. It worked well for a few years, then was extinguished. We try to use again, but it is not working properly.

    We do not have the original PC, so we use it with the latest BCI on Win7 or XP, with the latest driver VISA (regenerated .inf file).

    Communication with USB works fine... except the interrupt routine. Instead of receiving a break with 3 bytes of data (say 'ABC'), I get TWO interruptions, the 2nd first with 0 x 1, the one with "BC". There are different types of racks of interruption of different lengths, all have the same cut in two, with 1 as 0 x 1, the 2nd one with valid data.

    Anyone has an idea why there might be such a change in the functioning of my interrupt routine? VISA changed its treatment of interruptions in this time?

    Short of a solution on the side of PC, we are ready to reflashing the card, in the hope that we have the most recent version of the firmware!

    It may be useful, here is a dump of the USB VISA settings (I'm not familiar with most of them):

    VI_ATTR_RSRC_IMPL_VERSION: 0x500400
    VI_ATTR_RSRC_SPEC_VERSION: 0x500100
    VI_ATTR_RSRC_MANF_ID: 4086
    VI_ATTR_RSRC_MANF_NAME: National Instruments
    VI_ATTR_INTF_TYPE: 7
    VI_ATTR_INTF_NUM: 0
    VI_ATTR_INTF_PARENT_NUM error: L'attribut spécifié n'est pas défini ou supporté par la ressource référencée.
    VI_ATTR_INTF_INST_NAME: USB0
    VI_ATTR_MAX_QUEUE_LENGTH: 50
    VI_ATTR_RSRC_LOCK_STATE: 0
    VI_ATTR_RSRC_CLASS: RAW
    VI_ATTR_DMA_ALLOW_EN error: L'attribut spécifié n'est pas défini ou supporté par la ressource référencée.
    VI_ATTR_TMO_VALUE: 2000
    VI_ATTR_TRIG_ID error: L'attribut spécifié n'est pas défini ou supporté par la ressource référencée.
    VI_ATTR_IO_PROT: 1
    VI_ATTR_TERMCHAR: 10
    VI_ATTR_TERMCHAR_EN: 0
    VI_ATTR_SEND_END_EN error: L'attribut spécifié n'est pas défini ou supporté par la ressource référencée.
    VI_ATTR_SUPPRESS_END_EN: 0
    VI_ATTR_RD_BUF_OPER_MODE: 3
    VI_ATTR_WR_BUF_OPER_MODE: 2
    VI_ATTR_RD_BUF_SIZE: 4096
    VI_ATTR_WR_BUF_SIZE: 4096
    VI_ATTR_USB_SERIAL_NUM: 1240332
    VI_ATTR_USB_INTFC_NUM: 0
    VI_ATTR_USB_PROTOCOL: 0
    VI_ATTR_USB_MAX_INTR_SIZE: 64
    VI_ATTR_USB_CLASS: 0
    VI_ATTR_USB_SUBCLASS: 0
    VI_ATTR_USB_ALT_SETTING: 0
    VI_ATTR_USB_NUM_INTFCS: 1
    VI_ATTR_USB_NUM_PIPES: 2
    VI_ATTR_USB_CTRL_PIPE: 0
    VI_ATTR_USB_BULK_OUT_PIPE: 1
    VI_ATTR_USB_BULK_IN_PIPE: -1
    VI_ATTR_USB_INTR_IN_PIPE: 129
    VI_ATTR_USB_BULK_OUT_STATUS: 0
    VI_ATTR_USB_BULK_IN_STATUS error: La référence d'objet spécifiée n'est pas initialisée.
    VI_ATTR_USB_INTR_IN_STATUS: 1
    VI_ATTR_USB_END_IN: 5
    

    Well, after a long and hard look at the firmware code, it appears to be simply a difference of between the software and the firmware version... What a waste of time.

  • Development of applications including NI VISA?

    Hello

    I use NI-VISA to communicate on my USB bus. How can I leave the Script 'building' know it when it compiles the code in an executable? I found that if NEITHER VISA is not installed on the client machine, then LABVIEW does not talk to the USB ports even when the NI VISA drivers are correctly installed and detected the USB ports. -NI VISA must be present for communications work.

    I need the application to be independent and do not have to indicate to the customer that they must install NI-VISA (~2/3 GB) on their machine.

    Can I do something stupid? If anyone can help, I would be very grateful. Thank you very much.

    Best regards

    Peter.

    There is nothing in one of the answers that you can merge the exe of LabVIEW and NI-VISA. What has been said, is that you could create an installer that includes the exe, the runtime of LabVIEW and the NI-VISA run-time. At any time you will have a single exe.

  • Is it possible for a Cascade application change the Notification Mode to vibrate at normal

    I am interested in creating a timer application that returns my phone in 'Vibrate only' notification 'Normal' after a period of time defined.  I knshow you need to set permissions, but I didn't know anything like that to give permission to do so.  I have a Z10 with 10.2.1 on it.

    Is this possible or not BB 10.2.1 avoid this?   It would be nice to be able to do.

    A snippet of code showing how to set up permissions for this would be useful.

    You can change the Notification Mode since 10.2, here's what you need to do.

    Add this line to the bottom of the file bar - descriptor.xml, under the tab "source":

    access_notify_settings_control
    

    Add this line to your .pro file:

    LIBS += -lbbplatform
    

    Add this to your file:

    #include 
    
    public: Q_INVOKABLE void switchMode();private:
        bb::platform::NotificationGlobalSettings* notificationGlobalSettings;
    

    Add this to your .cpp file:

    void YourClass::switchMode()
    {
        if (notificationGlobalSettings->mode() == bb::platform::NotificationMode::Normal) {
            notificationGlobalSettings->setMode(bb::platform::NotificationMode::Vibrate);
            break;
        } else if (notificationGlobalSettings->mode() == bb::platform::NotificationMode::Vibrate) {
            notificationGlobalSettings->setMode(bb::platform::NotificationMode::Normal);
            break;
        }
    }
    

    Simply call switchMode() function in c ++ or QML to switch between the Normal and the vibrator. Note that this code will do nothing if the mode is set to anything else than Normal or vibrate. If you prefer to scroll through all the available Notification mode, use this function:

    void YourClass::switchMode()
    {
        switch (notificationGlobalSettings->mode()) {
            case bb::platform::NotificationMode::Normal : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::PhoneOnly);
                break;
            }
            case bb::platform::NotificationMode::PhoneOnly : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::Vibrate);
                break;
            }
            case bb::platform::NotificationMode::Vibrate : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::Silent);
                break;
            }
            case bb::platform::NotificationMode::Silent : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::AlertsOff);
                break;
            }
            case bb::platform::NotificationMode::AlertsOff : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::Normal);
                break;
            }
            default : {
                notificationGlobalSettings->setMode(bb::platform::NotificationMode::Normal);
                break;
            }
        }
    }
    
  • Extension and the application changed icons. LNK

    All my program file extension is replaced by LNK and cannot open an any of them.  Icons are also modified for Windows Media Player.  I tried to open a video file and asked which application to use.  I chose Windows Media Player and who created this problem.  I can't use because no system restore applications run.  However, I tried to open Firefox by opening the folder "programs" > "Mozilla FireFox" > Firefox.app.  I use Windows 7 Prof Any help would be appreciated.  Thank you.

    «However, I tried to open Firefox by opening the folder "programs" > "Mozilla FireFox" > Firefox.app.»

    Did you? So so good.

    Have been that your .exe changed to .lnk? It would be average of not well, and I don't know how to fix this right now, but if that's what happened, I'll see if I can find something. That said, most of the icons on your desktop program should be shortened, not executables. If they are shortcuts, file extensions should be .lnk.

    Finally, were your (guys who should be of .lnk) shortcuts changed to WMP icons and everything will now open WMP? Of after your description of what happened is more likely. It is not too hard to fix, but a method requires a regedit. There are a few automated regfix files that are supposed to restore the default values of the file extention but comments only that I got was a person who said that it did not work. I have a follow-up question on how they tried the fix, but so far no answer so we don't even don't go there for now.

    First of all, since the default action is caused by a choice of the user (as it was accidental), you can be able to restore everything simply by creating a new user account. See if the icons to return to their natural state, then knit. If so, just move all your files and folders and delete the old account. If you use Outlook, you also need to reset where it looks for files of Outlook, but it can be automatic (do not try to start Outlook until what everything is copied on the property). If you use this method, remember to copy the hidden appdata folder. Just show all before you begin the copy.

    The other method which requires a regedit is also quite simple, but recommend that you set a manual restore point before you start. A regedit always has the potential to mess up your system. the procedures are:

    1. Click on the Start Menu, type regedit in start search and press ENTER.
    2. Navigate to the following registry branch:

    NtVersion ntVersion\Explorer\FileExts\ [ext]

    Replace the [ext] with the real extension of the file you want to restore the file type association to return to the original Windows 7 by default (probably .lnk). If you unsure, simply browse through all the Sub-touche under FileExts.

    1. Delete the subkey named UserChoice.
    2. Exit the registry editor.

      Theoretically, each method of work.

      BTW, in the future do not use open with on no matter what shortcut... or if you do, don't forget to uncheck the box at the bottom (the one that says something like always use this application for this type of file). The best method is to set the default application using the actual file or via the control panel. Then, you can double-click on shortcuts to these types of files to your heart's content.

  • Execution API - Application change itself

    https://docs.Oracle.com/CD/E59726_01/doc.50/e39147/bldr_attr.htm#HTMDB25090

    The documentation for the application using the Runtime API property has an intriguing snippet - modify this Application: the application can modify itself.


    Sounds tempting 'meta', almost I-ish. Does that mean exactly? How the application can change itself?

    Thank you

    HELEN wrote:

    https://docs.Oracle.com/CD/E59726_01/doc.50/e39147/bldr_attr.htm#HTMDB25090

    The documentation for the application using the Runtime API property has an intriguing snippet - modify this Application: the application can modify itself.


    Sounds tempting 'meta', almost I-ish. Does that mean exactly? How the application can change itself?

    Don't be not excited. We don't mean automatic code modification the mainframe assembler, Lisp hacking, genetic algorithms, or Core Wars (which has for a long time was my second year class project BTW).

    The property of using the Runtime API is used to control the ability of the application to call the API methods that can modify metadata workspace, and application during execution such as apex_util.set_current_theme_style and apex_util.create_user .

    If the required options are not selected, calling these methods in the application generates a run-time error:

  • PeopleSoft Application change log

    I am an IT Auditor, and I'm relatively new to PeopleSoft.  I have more experience with SAP.  In the SAP, there is a way to get a log of changes to the code application deployed in the production environment.  Is there a way to get a list of similar claim PeopleSoft code changes?  If so, how to generate this list?

    Thank you!

    Not really stored procedures. I understand your question.

    All PeopleTools managed objects (for example, PeopleCode, definitions, field definitions, definitions of Page files, etc.) are stored in the database directly. For example: PSRECDEFN and PSRECFIELD are examples of tables of metadata associated with the record definitions.

    There is therefore no compiling of code or executable files as such when it comes to PeopleTools Managed Objects (i.e. objects that can be created or modified using PeopleTools App Designer).

    That said, there are a few unique cases programs commands such as Cobols and SQR, java classes, etc. residing on the servers of application/process scheduler. If you really want to audit these "external files" (as they are called) you may have to write scripts that check the last updated timestamp and Userid on the file itself (perhaps by isolating the directories where they reside).

    Note: Cobols even if you need compilation are barely changed. Yes - there are circumstances where there is a need to change a cobol for exceptions, but I would consider that as a rare fact. Even with java classes, usually it is never necessary to update the java classes (jar files) sent by PeopleSoft. Certainly there are many use cases where we may have to place pots customized app/process Planner servers to manage situations where PeopleCode itself cannot do the work or provide as much flexibility.

    In regards to the SQR, yet once we usually don't directly customize the delivered files. Rather, we create a copy personalized of the SQR in a special folder (custom) on the servers of process scheduler that has a priority higher for the delivered versions.

    Hope that gives you some ideas to work with.

  • PONR setting in aid of changing submit/process flows

    HI - good wishes...

    I have 5 manual tasks in the current order. I have enabled the amendable and set the key.
    Now after execution of task 3, I'm moving new command with the same key. I'm fine with it. (compensation works very well). I am able to get the desired result.

    Now I would like to declare ponr, for ex-
    Scenario 1 - if pending order is complete @ 4th task, I should limit new ordering with the same key.
    Scenario 2 - I create member status of order in the data dictionary, I want to update status after each task.
    If the status reached 5, I should stop accepting the new order with the same key

    Here how should I do this? Can you please share some examples of xquery code for above 2 scenarios, so that it will b helpful.
    Also, I must add that xquery in process or submit the change? and RAS is the difference between these?

    Thank you
    Sisi

    Hi, I am familiar with the mechanism to 7.0.3, not sure if and how this could change 7.2
    The PONR is controlled through the State of Transition for the change transaction to submit in a stopped state policy.

    There is an example in using design studio, which, I believe, return fn:true or fn:false.

    Another example of O2A where he resturn fn:true or fn:error, where I think the advantage is that you can make a mistake custom message to return to the web service

    Let's start with the simplest case 2 of your scenarios:

    Let $taskData: = fn:root (.) GetOrder.Response
    Let $orderStatus: = $taskData / / orderStatus/text)

    return
    If ($orderStatus = "PonrReached")
    then fn:false()
    of another fn:true()

    The other would be more difficult to achieve, because you see the order history.
    Basically, there are two ways of IMO to do xml api or ws GetOrderProcessHistory.
    But to access the XML API you need of the context object and I am not this the application giving you here - you need to test or ask for support.
    To go backwards, you go through a data instance, but I don't see how to define one for PONR instruction which, in 703, is the Condition of the Transition.

    In any case, to work around the problem, if none of the means of access to the history of the process described above is possible, using simple for you would be to define a task notification automator on say Task 4 accomplished state that defines the element to the required value.

    I hope this helps.
    Viktor

  • Firefox 7 is slow loading web pages (more than a minute and I let it go, but I went and they finally loaded) and IE their charge quickly. I tried all the solutions aid without change. I disabled Norton without change. I am running Windows 7.

    When I restarted in safe mode, everything worked fine, so I disabled the Add-ons and plug-ins, one at the time but could not find one any of them causing the problem.

    I had the same problem and found the solution here here

    The solution involves going to about: config and change "Network.http.Max - connections" line value between 256 and 48

  • How can I change my visa card setting apple ID

    I want to change my card number apple ID

    See the following topic: change or delete your Apple ID - Apple Support payment information

  • BlackBerry App Application changed the appearance settings

    Need urgent help

    An application called Texas Hold'em Poker has been downloaded on my Blackberry Torch 9810. This application has now messed up the entire look of my camera. I can no longer access my bbm. I deleted the app and then restarted my camera hoping it will be normal again, but it's still messed up. I tried to backup restore it did not help. I tried to reset the settings, that it did not work. Rebooted my device as more that 5 times it did not always help. Please help with solutions on how to make the look normal again.

    Back up your data (see KB12487), and then reinstall the software (which should update the current version if an update is available) as shown in KB11320 how to perform a clean reload of the BlackBerry Device Software for Windows or if you see us a Mac KB19915 perform a clean reload of software applications smartphone BlackBerry using BlackBerry Desktop Software on a Mac computer.

    Before the data is restored, make sure that the appearance is as it should. Make a discount to zero to ensure that the display is normal. Once confirmed, it is recommended you do a selective restore of your data (essential data such as BBM, calendar, Contacts, Messages, as shown in KB10339 how to use BlackBerry Desktop Software to restore data from a BlackBerry smartphone from a backup file).

    I would like to know how's the reload.

  • Conversion CS4 CS5 of sheepish aid application!

    Do not ask him but I am at a dead end with some work - I do work a quick day of for a client and I need to convert files of CS5 CS4 so that I can work on them (I don't have CS5)

    If someone is willing, I would be really grateful if you can convert these four files for me, saving them up to CS4.

    http://ponch.biz/CS5toCS4

    I see the customer tomorrow (Wednesday, time) therefore need to find a solution fairly quickly.

    If there is a way I can return the favor, I will. for example some beer money via PayPal.

    See you soon

    Ponch

    Post edited by: ponch

    :

    www.kglad.com/Files/forums/cs4.zip

Maybe you are looking for

  • Strange adds on Desktop Mozilla firefox browser

    Hi all The past two days, I see that my firefox is used for advertising, I don't know who if mozilla itself it ot not, but I see a text many of the double line adds i.e infolinks and popup adds on each site, I opened, even popups on Fb and twitter so

  • Driver update for Satellite 5100 503 with NVIDIA geforce4 440 Go

    Hello there,It is a German call...I need an update of the graphics driver to a computer laptop toshiba satellite 5100 503, the nvidia geforce4 440 Go, that you can't get on the nvidia site, where have no mobile system to get.My laptop is quite slow.

  • 2009 time capsule cannot connect to the internet via a modem

    I had my 2009 Time Capsule or airport works very well with the modem from my ISP for years. I use the TC a hub wireless and backup. The upgrade of the modem: no problem. Over the weekend, there was a failure of the internet that has since been correc

  • CC494A: CP4525 won't print black

    After having changed the black toner on our HP Color LaserJet CP4525 have stoped the black color printing. I first thought that the problem is a simple tones isue. But we now test an another new toner cartridge and a printing of the same type, and it

  • I want to stop a print job, but he won't stop. It keeps printing over and over again the same work.

    my printer keeps repeating over and over again the same print job, and I can't seem to stop. I tried cancelling but it stops and when I go to print something again it prints the same job, I canceled. Help