Command requires GPIB Controller to be Controller in Charge on dequeue element

I have some funky stuff going on in the attached VI. What the VI does is simply to log data to a text file. It is built up as a state machine. This VI's Create state is called from a mainVI (with the help of named queues). I get more than one error and it seems completely random.The error usually occurs if I stop the mainVI, then starts it again. So the second (or following) times the DP VI is called, I get random errors such as the two below:
Error 1 occurred at Dequeue Element in DP.vi->PSS.vi
Possible reason(s):
LabVIEW:  An input parameter is invalid.
NI-488:  Command requires GPIB Controller to be Controller in Charge.
 Error 1 occurred at Close File in DP.vi->PSS.vi
Possible reason(s):
LabVIEW:  An input parameter is invalid.
NI-488:  Command requires GPIB Controller to be Controller in Charge.
Why is this? I don't even have a GPIB controller?
Solved!
Go to Solution.
Attachments:
DP.vi ‏61 KB

Siniz wrote:
blawson, I think you found the error!
So shift registers only gets uninitialized again if I close the actual VI, and not when I start executing it again? So in reality, they actually behave like real shift registers? I found two solutions to this problem.
1) To initialize the error shift register with an empty error constant.
2) To remove the wire from the shift register to the Write to Text File. This works since I always call the Create state first.
Which one would you recommend?
Also, what is the reason to keep the typedef strict? I have seen non-strict in other code.
Generally you should always explicitly initialize your shift registers unless you want to retain the values from one execution to the next. This is required for Action Engines but in most other cases you should use initialized shift registers to avoid side effects like you encountered in this application.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • Command requires GPIB Controller to be Controller in Charge

    I downloaded the labview driver HP428XA, the 'getting started.vi' works fine, but all other example application vi's keep giving me the following warning:
    'Warning 1 occurred at VISA Read in HP428XA Fetch.vi->HP428XA Frequency Step Measurement .vi. Possible reasons:
    LabVIEW: An input parameter is invalid.
    or
    NI-488: Command requires GPIB Controller to be Controller in Charge.'
    I am a novice when it comes to labview, can anyone offer a solution?
    thanks!

    Hi,
    The two error descriptions refer to the fact that the error code (1) has a different meaning depending on what software component gave the error: labVIEW or GPIB (NI-488.2).
    Since you are able to use the Getting started VI, that means that the GPIB bus, driver and the VISA library are working porperly. Additionally, you would not get a Controller in Charge error if do not explicitly configure the board to be non system controller. labVIEW automatically configures the board to be controller.
    So the error must refer to an incorrect parameter to some LabVIEW function. Open the HP428XA Frequency Step Measurement.vi and use the highlight execution tool to see where the error is generated.
    I couldn't find the instrument driver at www.ni.com/idne
    t, so I didn't take a look at the driver.
    DiegoF
    National Instruments.

  • NI 488: command requires GPIB controller to be controller in charge

    Hi I'm trying to simulate a charge controller for an electrical vehical prototype. I'm using cRIO for communication between the charging station and LabVIEW. Sometimes while running the program, the above error is displayed and I have to restart the communication module, charger and motor for controlling the vehicle prototype. The error points to the enqueue element function and this happens rarely, but randomly. 
    it says "an input parameter is invalid". what do i do to fix this?

    First of all, if you aren't using GPIB, then ignore the GPIB part of the error message.  Look at the part before that.  Error code 1 returns this:
    LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    When coming from a Dequeue Element, that tell me that either a) you closed your queue but didn't stop your consumer loop or b) you somehow lost your reference in your consumer loop.
    we need code in order to properly diagnose this.  I recommend zipping up your project and posting that zip file.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Is there example code for using Ni488 and PCI-GPIB card in non controller mode?

    Is there example code for using Ni488 and PCI-GPIB card in non controller mode?

    cymrieg,
    Your code looks good to me. What is the problem? What happens when it fails? What is the IBSTA value on the controller, and at what point in the code does it stop? What is the IBSTA value on the slave, and at what point does it stop?
    One thing is that you might not want to call IBCLR() in a loop on the device. At the beginning of the program is fine...This will send a clear command to the device and will clear out any LACS and TACS bits that might be set. Also your IBDEV call shouldn't be in a loop.
    Hope this helps, but let me know if you need more information.
    Scott B.
    GPIB Software
    National Instruments

  • Receive error-1 at TCP/IP read - GPIB controller must be controller in charge

    I have a stripped down version of Talk Module from the LV TCP/IP examples. All it does is execute one TCP/IP read of 512 bytes and reset the output error to no error if a timeout or close connection error occurs. I placed it in the main loop of my program so it executes one time each loop but I receive an Error 1 "GPIB controller must be controller in charge" when it runs. I then stop the program and get that same error from a different source before it exits. I know it works because I can set it up in a separate VI and it works fine. The program is controlling a GPIB power supply and a VXI chassis. Any ideas what could be causing the error? Thanks.
    Jason

    All the inputs are wired correctly and the connection is opened first. I am using hyperterminal on another computer to check out the connection. Sometimes after running the close connection VI, hyperterminal says the connection is still open. When the VI stops running, the connection is always lost and when the VI runs again, it seems to have no problem opening the connection on the same port. Thanks for the advice, I will check into it.
    Jason

  • What is Requirement Tracking Number and MRP Controller

    Hi,
    Can anybody please brief me on the foll:
    What is Requirement Tracking Number and MRP Controller?
    Thanks

    .

  • Passing field values from View Controller to Custom Controller

    Hi Experts,
    I am working on a customer requirment in which customer want to see the values of field from one view in another view. The Context node & Context node attribute are the same in both the views.
    I am aware that we need to pass the field values from view controller to custom controller in order to see the field in the subsequent view. I would like to kow how i can achieve that technically?
    Kindly let me your valueable suggesions.
    Best Regards,
    Prabahar

    Hi Carsten,
    Thank you for the detailed feedback.
    I want the fields ID_TYPE & ID_TYPE_DESCRIPTION from IUICMD/SearchAccount to be available in IUICMD/DetailAccount. I have created a context node u201CSEARCHu201D in view IUICMD/DetailAccount. I have created the context node with out choosing u201CCreate with Instanceu201D.  This Context node (SEARCH) is already available in IUICMD/SearchAccount as part of the standard.
    Below given is contents of the Method CREATE_SEARCH of my context class ZL_IUICMD_DETAILACCOUNT_CTXT of view IUICMD/DetailAccount, which is created by the Wizard during enhancement.
    method CREATE_SEARCH.
        DATA:
          model        TYPE REF TO if_bsp_model,
          coll_wrapper TYPE REF TO cl_bsp_wd_collection_wrapper,
          entity       TYPE REF TO cl_crm_bol_entity,    "#EC *
          entity_col   TYPE REF TO if_bol_entity_col.    "#EC *
        model = owner->create_model(
            class_name     = 'ZL_IUICMD_DETAILACCOUNT_CN00'
            model_id       = 'SEARCH' ). "#EC NOTEXT
        SEARCH ?= model.
        CLEAR model.
    bind to custom controller
      owner->do_context_node_binding(
               iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_CUSTOM
               iv_name = 'IUICMD/CuCoMD' "#EC NOTEXT
               iv_target_node_name = 'BUILHEADERSEARCH'
               iv_node_2_bind = SEARCH ).
    endmethod.
    I have enhanced the Custom Controller. Now it have new implementation class u201CZL_IUICMD_CUCOMD_IMPLu201D
    Let me know where I am doing mistake
    Thanks in advance
    Best Regards,
    Prabahar
    Edited by: Prabahar Raju on Sep 2, 2009 10:47 AM
    Edited by: Prabahar Raju on Sep 2, 2009 10:52 AM

  • ASDM error - you do not have sufficient privileges to execute commands required to load asdm

    I am getting below error to log in via ASDM for ASA firewall.
    Please help.

    Hello Gurujaj,
    You are running AAA on your network and you are running authorization,
    The user you are using does not have the command authorization set to load the ASDM,
    The ones need it are:
    Commands required to log ASDM
    privilege show level 3 mode exec command logging
    privilege show level 3 mode exec command blocks
    Regards,
    Julio Carvajal

  • Issue in Binding Custom controller to Component Controller

    Dear All,
    I have enhanced a standard component ERP_H.
    I created a custom controller with context nodes BTSTATUS, BTSTATUSH
    I enhanced the component controller with context node BTSTATUS, BTSTATUSH
    Now when i try to bind the custom controller to component controller using this code in the context class of my custom controller
    bind to component controller
      owner->do_context_node_binding(
               iv_controller_type = CL_BSP_WD_CONTROLLER=>CO_TYPE_COMPONENT
               iv_target_node_name = 'BTSTATUS'  " component controller context node
               iv_node_2_bind = BTStatus ).
    its not working since this context node in component controller is not the standard one but the custom added one.
    Am i missing something, or is there any way to bind customer context node in custom controller to customer context node in component controller.
    regards,
    pradeep

    Hi pradeep,
        Try the other way round go to the context class in the component controller and paste the following code in the
    create_contextnode( context node = name of the node to be linked).
    *owner->do_context_node_binding(
            iv_controller_type = cl_bsp_wd_controller=>co_type_custom   <-----linking from component to custom
            iv_target_node_name = 'BUILHEADER' "target node: component controller node
            iv_node_2_bind = BUILHEADER ). "source node: current node.
    See if this works.
    Thanks

  • Diff between Component controller,Custome controller and  View controller

    hi,
        Can any body tell me the following details,
    1.difference between the Component controller,Custome controller and  View controller in WD-ABAP.?
    2.what is Lead Selection?   
    Regards,
    Ravi

    Hi Ravi.
    The component controller is visbile to all views in a component. So all context nodes and methods you create here can be accessed from all views in the component. This way you can share data between the views by mapping context nodes or thru method calls. You can also mark methods and nodes as interface so that they are acessable from other components that define component usages to this cmponent.
    Custom controller is quiet similar to the component controller. You can define it if you want to group some views with a custom controller for a certain functionality.
    If you want to access a custom controller in a view you have to define the usage first on the properties tab of the view.
    A view controller is only visible in the view itself. So all methods or context nodes you define here are only accesable by the current view.
    The lead selection is in most cases the current selected element in a context node. The lead selection is used by many UI elements to determine which element has to be shown (e.g drop down).
    If you have a table with single selection the current selected table row is the lead selection element of the bound context node.
    SO you can get the lead selection element easily in any mthod by calling context_node->get_element( ).
    Hope this clears your questions.
    Cheers,
    Sascha

  • FW CS6 Error message: An error occurred. This command requires an active document.

    Hi,
    I've been seeing the following message while saving active documents recently: An error occurred. This command requires an active document. My document does indeed save.
    I'm wondering if a recently-installed (and much-loved) extension could be the cause?
    Has anyone else seen this?
    Thanks!
    --Lucija

    As far as similar problems, I recently opened Fireworks 8 to test the File Management button (the Put command in particular) and found that it triggered an alert message normally produced by Aaron Beall's "Deform to Path" command:
    I tried closing the Path panel, and the alert message was still triggered. (I do have that command also available within the Commands menu, but I'm not sure what was going on there; however, since I don't use Fireworks 8 much anymore and never use the Put command, I decided to leave it alone.)
    Currently, I use Fireworks CS6. Several months ago, I noticed a "migrating panel" bug, where panels within the default configuration had been mysteriously swapped for one another: The Color Palette panel had been replaced by Lorem Ipsum, while the Path panel had gone missing, replaced by the Color Palette panel—bizarre behavior, to say the least. I tried reselecting a default Workspace (as well as a saved one), but it had no effect on the problem. I still haven't taken the time to diagnose and fix the issue, but I suppose it might have somehow been triggered by the Lorem Ipsum panel, which was a custom installation.

  • Could not run the script. This command requires an active document.

    Hi,
    I'm receiving a confusing glitch running a batch process in
    FW MX 2004.
    I want to resize images in one folder and export them to
    another. I step through the batch wizard and on commencement of the
    batch receive an error:
    quote:
    Could not run the script. This command requires an active
    document.
    FW is telling me it can't run the commands on empty
    documents, yet the batch is running on all images selected using
    Add All during the batch wizard. Confusing. Similar batches have
    worked fine in recent days.
    Any ideas?
    Thx

    tkatcher wrote:
    > Thank you. Some of them had brackets and percentage
    marks.
    You are welcome.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Should i Map thecommon bapi's to component controller or custom controller?

    Hey Can any body give the clarification for this doubt
    we have one web dynpro component , It contains some views. Created some BAPIs. Now we have two different applications in the same component. So we have created the two controllers for each application. the created BAPI's are mapped to o each controllers with respect to application.   . Now we have a small doubt, the Bapis  which common are common to both application not binding to any of that two controllers. so the common bapis should be map to the component controller or created one more controller like util Controller.
    Once bapis  mapped to any of this we can add this controllers to views. Please suggest which one is better, either mapping bapi's to component controller or custom controller.
    vijay

    Hi Raj, thks for the quick responce again.  I made small mistake in the sentence.Plz look at now again
    In my webDynpro project , under that i have created only single WebDynpro component with two applications .I have two modules(applications) one is DirectCustomer and another one is InDirectCustomer. so i have set of RFS's in a single RFC model. In this RFS's some are common to both the views. some are independent to each other. so i have created two custom controllers one for directCustomer another for Indirectcustomer.Then i mapped the RFC' model objects to each custom controller seperately . But now the RFC's which are common to both views to map, Better, should i map common RFC model objects  to existing Componentcontroller(which comes by default when create the webDynpro component) or should i create new customcontroller (like commoncontroller).
    which i option is better, can u suggest me. I feel that, The common RFC's will be mapped to component controller, bcz, it the Base controller for the both customcontroller , indrectly to the viewcontroller.
    Wht is your suggestion on this disign issue?

  • ORA-15072: command requires at least 2 regular failure groups, discovered only 1

    Hi,
    I'm trying to create a diskgroup for a temporary purpose. I didnt mention the type of redundancy. When i ran the below command i got the mentioned errors.
    SQL> Create diskgroup temp_dg disk '/dev/mapper/003w1_e2p5' attribute 'compatible.asm' = '11.2.0.0.0';
    Create diskgroup temp_dg disk '/dev/mapper/003w1_e2p5' attribute 'compatible.asm' = '11.2.0.0.0'
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15072: command requires at least 2 regular failure groups, discovered only 1
    When i used two disks, then diskgroup got created.
    All the diskgroups in ASM are of EXTERNAL redundancy.
    SQL> Select distinct type from v$asm_diskgroup;
    TYPE
    EXTERN
    I would like to know why it was asking to create diskgroup of NORMAL redundancy. Is there some thing like default REDUNDANCY in ASM.
    Please share your views.
    By,
    Step Into Oracle DBA

    Hi,
    When i used two disks, then diskgroup got created.
    Becuase default redundancy for create diskgroup is NORMAL.
    SQL> Select distinct type from v$asm_diskgroup;
    TYPE
    EXTERN
    Did you  sure your diskgroup is created?
    Mahir

  • Cisco 5760 controller in centralized mode supports 4404 controller as anchor controller?

    Hello All,
    I have a cisco 5760 controller running in centralized mode. I want to configure one 4404 controller as anchor controller to work with the 5760 controller. Is this supported?.
    Thanks in advance
    Shabeeb

    No, It is not supported.
    You cannot have a mobility peer with 5760 unless you enable "new mobility" on its peer . In CUWN products this is supported in 5508/WiSM2/8510 on specific codes. In current supported codes it has to be 7.6.x or 8.x.
    As you know 4400 only supported upto 7.0.x code. So new mobility is not supported, hence you cannot peer with CA products.
    In case if you have a "new mobility" supported WLC, here how you configure it
    http://mrncciew.com/2014/05/06/configuring-new-mobility/
    HTH
    Rasika
    **** Pls rate all useful responses ****

Maybe you are looking for

  • FCI - Origem do material / Classificação Fiscal.

    Pessoal, Boa noite. Gostaria de pedir ajuda de vocês para me certificar que estamos agitando da forma correta aqui no projeto. Entretanto, antes de falar sobre o FCI, preciso detalhar a minha o cenário.. Estou em um projeto, onde a empresa produz veí

  • Assortment List - Price List

    Hello, I have an article with valid two prices (condition VKP0): -  sales organization and distribution channel (Table A073); -  Price list (Table A155). In Access Sequences and Filter Settings for Condition Types (assortment list), the price list ha

  • Why whatsapp keeps telling me to connect to itunes

    Hi, Actually i am facing a very annoying problem with Whatsapp. now it doens' push notifications to me about any messege that came to me and whenever i open it it pops up"connect to iTunes to push notifications..." and when i tap on "ok" i can see ho

  • Why Underlying Software Component not in BASIS objects

    Hi, this problem has puzzled me for a while. I've create a software component SC1 in SLD with dependance on 2 software components SC2 and SC3 . SC2 also has a dependance on SC3. When I import the software component from SLD , SC2 and SC3 are liste un

  • UTF???

    I read a many articles from web related to the UTF-8, UTF-16 encoding.They used very difficult language... :( But, I did not get the UTF encoding in terms of why we it need? Advantages and disadvanates of its. Please let me know same. Thanks, Rahul