Using a property node of a menu ring to generate a secondary address does not work in a subvi unless the subvi has been or is opened. Why?

I am writing drivers for third party equipment using LabView 6.1. I am using the property node, digdisp.text, to get the item number of menu ring. This number is being used as the GPIB secondary address for the equipment. This vi is one many subVIs like it in a main vi.
The only way the main vi works consistently is if I open all the subVIs, otherwise the secondary address isn't picked up and I get a EARG and ENOL error in NISpy and a GPIB write error in the Error Out cluster.
I have attached an example of a NIspy capture of a failed attempt.
Attachments:
Capture.spy ‏9 KB

Hi,
EARG (4)
Error Condition: Invalid argument to a function call.
Description: EARG results when an invalid argument is passed to a function call.
Possible Cause: The following are some examples: you call ibtmo with a value not in the range 0 through 17 (possible timeout values correspond to a table of values ranging from 0 to 17, where the default is 13, which represents a 10 second timeout); you call ibeos with meaningless bits set in the high byte of the second parameter; or you call ibpad (or ibsad) with invalid addresses.
The reason you are getting the error is because not only is your secondary address invalid, but your primary address is also invalid. Lines 14 and 16 of your attached NI-SPY capture set
the primary address (ibpad) and secondary address (ibsad) respectively. You need to make sure that you are passing the addresses properly to the subVIs using a connector. It seems like your programming when sending and receiving data (like the addresses) from your subVIs is not correct. You have to be sure to pass the data back and forth in the proper method using connectors.
A.S.
Anu Saha
Academic Product Marketing Engineer
National Instruments

Similar Messages

  • I am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    i am using firefox 3.6.17 i upgraded it to 4.1.but it does not work properly sometimes it opens every website and most of the time it does not work . so what is the problem please help . thank you

    Did you check your security software (firewall)?
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process.
    See:
    * [[Server not found]]
    * [[Firewalls]]

  • HT1918 Itunes store will not let me use the money on my account. It wants to make me use a credit card. I have already redeemed a card yet it does not see it. What's the problem?

    Itunes store will not let me use the money on my account. It wants to make me use a credit card. I have already redeemed a card yet it does not see it. What's the problem?

    Some Purchase require a Credit Card... For example Gifting and In-App Purchases.

  • I am using iPad1. Running v4.3 and when connecting to wifi iPad keyboard does not work. Keyboard works for everything else including typing this question out. Why would it not work when typingin password for wifi connection?

    I am using iPad1. Running v4.3 and when connecting to wifi iPad keyboard does not work. Keyboard works for everything else including typing this question out. Why would it not work when typingin password for wifi connection?

    Kowhai wrote:
    Lots of WIFI needs a username and password to get access. I guess you're lucky and yours is set up unsecured.
    Normal secured WiFi requires only a password to get access. The password is used to encrypt traffic between your device and the WiFi access point. If whatever you are using requires a username as well then it is not simply normal secured WiFi. It might be a subscription WiFi service like GOGO, ATT, etc., or a service with authentication, i.e., college campus, etc. To help you out we need to know what you are using and what connection dialog you are being presented with. You don't have exactly the same problem as the original poster. He is having a problem entering a password into the password dialog that iOS presents when one tries to connect to a normal secured WiFi network. Could you clarify exactly which WiFi service you are using.

  • I bought this ipod 4 from a friend the lock button does not work and he doesnt know the password? how do i reset and i cant use my computer????   HELP!!!!!!

    i bought this ipod 4 from a friend the lock button does not work and he doesnt know the password? how do i reset and i cant use my computer????
    HELP!!!!!!

    Place the iOS device in recovery mode usning this program and then then restore via iTunes. The iPod will be erased.
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    For how to restore:
    iTunes: Restoring iOS software

  • Using right mouse click in bookmarks and selecting new tab or window does not work anymore in firefow 4.0. no new tab or window opens. Still works if you open new via File menu.

    When you select bookmarks, find the bookmark you want, then right mouse button click you get a drop down menu giving you the chance to open a bookmark in a new tab or new window. This no longer works with firefow 4.0

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Acrobat PDFMaker Office COM Addin for Microsoft Office 365 does not work. When I check the cox for COM Add-ins, it unchecks it. "A runtime error occurred during the loading of the COM Add-in." I use Adobe X Professional. The Add-in worked fine in Office 2

    I recently upgraded to Microsoft 365 Home and use Outlook 2013. The Acrobat PDFMaker Addin worked fine in Office 2010. Now, I get an error message: Not loaded. A runtime error occurred during the loading of the COM Add-in.
    I use Adobe Acrobat X Professional.
    I have restarted Outlook, restarted my computer, and nothing changes.
    Does anyone have a solution?
    Steve

    I do not think that AA X is compatible with the newest versions of OFFICE and such. Your only choice is to print to the Adobe PDF printer or use the MS plugins to create PDFs.

  • Hello, i am using itunes 11.1.5 with a MAC and facing the following issue. When i play a playlist and decide to deselect the next tune in the list, itunes does not work as expected and play the tune !

    for instance if i am playing tune #20 and i deselect #21, #21 will still be played. I need to deselect #21 before ITunes has started to play #20. this is a strange behaviour. I am using ITUNES as a DJ again after 2 years off and i don't remember it did behave like this before. Is there a bug with 11.1.5 ?

    http://support.apple.com/kb/PH12131

  • Hand tool using spacebar does not work to move an image

    When using another tool on an image, I hit the spacebar to move around in the image but the Hand tool does not work.
    I've renamed the folder 12.0 under %appdata%/roaming/adobe/Photoshop Elements and that works until I close Elements 12 and then reopen it.

    Suggest that you delete preferences.
    In Editor, expert tab, go to Edit>preferences>General. Look for this:
    Reset, close PSE, launch again.

  • Lion Install does not work, says "This disk is used for Time Machine backups"

    I'm having trouble installing Lion onto my macbook pro intel core 2 duo. 
    I am backing up my computer with an external drive using TimeMachine, but i've disconnected it.  Also i'm running SL 10.6.8  
    I have a windows 7 partition that was created with boot camp.
    I've tried to make sure everything is all ready for lion but when I go to install lion it says "This disk is used for Time Machine backups" and the hard drive is grayed out.
    Same problem as this guy: https://discussions.apple.com/thread/3190321?start=0&tstart=0
    I'm hearing that a file called "Backups.backupdb" is on the top level of the hard drive, but I see no such file.  I've looked at the invisible files and I cant find it.
    I've also created a bootable flash copy of the lion install but that does not work It gives me the same message "This disk is used for time Machine backups".

    "Backups.backupdb" if the file in Time Machine.  As the discussion says, you have to find that file and trash it.  Try spotlight to locate it.  If that does not work, down load OmniDiskSweeper from the Internet (free) and go through an organized search to find "Backups.backupdb".  If that takes too long or is too tedious, then if you have everything backed up, erase the HDD and start from square one.
    Ciao.

  • I am using FF 5.0.1. The English spellchecker add on does not work.It will underline the misspelled word but does not give you the correct spelling choice.

    I did not upgrade to 4.0 because I did not like it.I thought I was upgrading finally to 4.0 assuming at this date they had fixed all the bugs and updated the add ons.
    I downloaded the latest version and love it, love it except the one add on that I use more than anything does not work properly.:-(
    Please notify the developer of this issue.

    "SafeBrowser'',
    No it does NOT show up as I said before the ONLY option is "paste" there are NO suggestions showing up.
    As I said before,I have used this same add on for many years and earlier versions and have had no problems until version FF5.01.
    ''cor-el'',
    I have already done all that prior to posting here.
    Even as I type this response the spell check add on puts a red squigly line under your screen names but does not give me any suggestions.
    I am frustrated beyond belief because I am a faithful and dedicated user of this browser and I am going to just roll back to a older version until this silly issue is resolved.
    I appreciate all your help but I suppose until the person who developed this add on does something to make it compatible with FF5.01 I will not be using it.
    I apologize for any misspelled words but my spell check extension is not working properly. :-(

  • Silent install does not work using /S argument

    I am trying to perform a silent install of the Flash Player using the EXE.  I prefer not to use the MSI.  I am trying this command:
    install_flash_player_10.exe /s
    or
    install_flash_player_ax.exe /s
    Both commands produce this error:
    Invalid argument or invalid use of argument '/s'
    Has anyone encountered this before?  Thanks!

    When we build SMS packages for deployment we also build uninstall packages in the event that we need to rollback. The silet uninstall command for Flash 10.1 is
    install_flash_player_10.exe -uninstall
    It also seems to remove both the ActiveX and Plugin version if both are installed as in our environment. The uninstall string the registry:
    C:\WINDOWS\system32\Macromed\Flash\FlashUtil10h_ActiveX.exe -maintain activex
    does not work.
    Thanks for posting the -install tip. I was having trouble with that.
    Cheers!

  • I have a MacBook Air using Maverick. I have files in the trash I want to recover. I do not have "Put Back" and Command   Delete does not work.

    I have a MacBook Air using Maverick. I have files in the trash I want to recover to their original files. I do not have "Back Up" and "Command + Delete" does not work.

    Drag them out of the Trash and put them in their original location. Put Back may work on one file at a time.

  • Can you change the vi color background using a property node?

    I was wondering if it was possible in Labview to use a property node to change the front panel background color for one iteration and then back to an original color afterwards. I dont think it is possible but would like to know for sure.
    Thanks,
    Jody
    Jody M.
    The Procter and Gamble Co.
    Certified Labview Developer
    Currently using LV2012.
    Solved!
    Go to Solution.

    Yes you can
     That's how you change it, you will just have to put some logic to change it back
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    FP color.PNG ‏4 KB

  • Use of property nodes together with embedded remote panels

    Hello,
    In the LV RT 6.1 release notes is a point under 'known issues'
    You can programatically change the properties of front panel controls
    and indicators in LabVIEW by using Property Nodes on a block
    diagram. Similarly, when you target, or connect, LabVIEW RT to the
    RT Engine on an RT Series device, Property Nodes affect the front
    panel of the RT Development System on the host computer. However,
    if you disconnect the RTDevelopment System from the RT Engine and
    subsequently reconnect it, you must reset the properties for them to
    take effect on the reopened front panel. The same applies to embedded
    remote panels.
    I did not found the same in the LV RT 7.1 release notes. Does this still apply to 7.1?
    My problem is that everything done using property nodes behaves strange. For example setting scale offsets, multipliers, maximum and minimum is working well if the front panel is displayed in the web browser during the call to the property node. If the web page containing the front panel is reloaded the scalles get messed up.
    Also clearing the history of a chart seems not to work.
    Is there a workaround for this. Reseting properties as mentioned in the 6.1 release notes does not work with embedded remote panels since there seems to be no way to detect remote connections in labview.
    Regards, Beat

    For your reference.
    I have been doing this since then
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    ClusterCTRLPropertyNode.jpg ‏54 KB

Maybe you are looking for

  • Mtn Lion fresh Installed. Now how do I make iTunes recognize my iPhone?

    I decided to wipe my HD clean and do a fresh install of Mountain Lion on my iMac i5 27". My question relates to iTunes and syncing with my iPhone. My iPhone is no longer recognized by my computer. I would hate to have to wipe my iPhone and start sync

  • Is the iSO6 upgrade compatible with the iPhone 4?

    Is the new iSO6 upgrade compatible with the iPhone 4 or is it going to cause problems with it?

  • Looking for small-scale LabVIEW projects to gain experience (CLAD, BSEE, BSBA)

    I have a full-time job but am looking for opportunities to gain more LabVIEW experience through any freelance opportunities out there. I have just started exploring the FPGA and Real-Time Modules. My educational background is as follows: Michigan Tec

  • Can't connect to gmail

    my ipad has quit connecting to gmail - any advice?  It seemed to stop doing this without any changes having been made to the ipad or the gmail account.  I have tried deleting the account and setting it up again. 

  • UML model synchronization

    I have a problem with the UML support that I need help with. I have an existing Netbeans project and created a UML project reversed from existing Java sources (or something like that). I have a source tree like this: com.test.packagea