Error query.vi in my D6000 single phase

hello everyone , recently I am using the Labview 2009
I am running the program LEM D6000 single phase.vi
but in the Error Query.vi(inside D6000 Config Measurement block) there is always a mistake, Error 1300,, because after the VISA read , there comes in a number and compared to those constant number, first row and first column is 16, which somtimes is smaller than the number comes in , so it gives the comparison result as T, Error happens
so I changed 16 to 64, no more errors comes up
So I wonder what is the real function of Error Query is , and why shall I change the constant number to avoid the errors, although I make it work, but I want to know why.
Thank you very much
Attachments:
lem_instruments_d6000.zip ‏781 KB

The error conditions and the Event Status Register should be documented in the instrument manual. Not sure where to start with the basics. There are individual bits in the ESR and the instrument will set specific ones depending on the actual error that the instrument detects. Are you familiar with Boolean math? Bit number 4 reflects a specific error. If you want to check to see if the bit is set, you would AND it with decimal 16 or binary 10000. If bit 1 is set, the result of the AND is 1. You decided to AND it with 64 (a check of bit 5) and by doing that, you are no longer checking to see if bit 4 is set. That is ignoring the error. If you want to ignore any errors, don't run the error query program. Changing the code is just plain wrong.

Similar Messages

  • Error in New Models Creation  - Loadbalancing /Single Server locally

    Is there any possibility of below error when Creating New Models with Single Server and but NOT Working with Load balancing Option.
    The same code worked when connecting to Single Server locally but doesn't work when New models were created  by selection of loadbalancing Option on Remote Server..during development on source from DTR Server(SLD)..
    I get below error when New Model created with loadbalancing option
    Error - com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Error connecting using JCO.Client: null
    Edited by: Raghu v on Jan 26, 2008 1:27 PM

    Hi,
    In EAS, I am getting some for Planning Outline(Essbase outline is working fine), While starting the Planning service through start menu, it throwing error as
    Query Failed: SQL_SYSDB_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
         at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
         at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
         at hyperion.jdbc.oracle.OracleImplStatement.execute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at hyperion.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source)
         at hyperion.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source)
         at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
         at com.hyperion.planning.sql.HspSQLImpl.executeUpdate(Unknown Source)
         at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unknown Source)
         at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source)
    Error encountered with Database connection, recreating connections.
    Nested Exception: java.sql.SQLException: [Hyperion][Oracle JDBC Driver][Oracle]ORA-00932: inconsistent datatypes: expected INTERVAL DAY TO SECOND got NUMBER
    Thanks,
    CP

  • Executing Package -- Error querying fact: 7 - Out of memory

    Hello,
    I have a problem.
    I am executing a package call Period Initialization.
    It gives me an error.
    End time --->1:33:08 PM  -  Date:12/22/2008
    Error querying fact: 7 - Out of memory
    I don't know why it gives me this error.
    Can Someone help me????
    I have to change a parameter in the Appset administration to take this out of memory
    Thank you in advance
    Pablo Mortera

    Hi Pablo Mortera,
    Data manager package tries to run the logic on all the members in data region at a time, loading all the fact values to temp tables. If the number of records to be processed are more that the memory allocated for the temp tables, you may get this error. One way to handle this is to restrict on the number of dimension members executed in a single go. YOu can do this by using
    > *XDIM_MAXMEMBERSET DIMNAME=
    for example try this,
    > *XDIM_MAXMEMBERSET TIME=12
    Kranthi

  • Powerpivot Report 2010 - OLE DB or ODBC error: Query timeout expired; HYT00

    0
    I have report already developed by someone in powerpivot 2010 and deployed to sharepoint in powerpivot gallery library. The data source for this report is SQL Server 2008 r2. I have set the refresh options in sharepoint to run after business hours during
    week end. When I check the refresh history it shows this error message "OLE DB or ODBC error: Query timeout expired; HYT00. An error occurred while processing the 'xxx' table. The current operation was cancelled because another operation in the
    transaction failed..
    I have tried to run the "Also refresh as soon as possible " just to check but same error message is shown.
    This is the detailed error message details:
    03/02/2014 21:06:55 03/02/2014 22:08:15 01:01:20 Failed
    OLE DB or ODBC error: Query timeout expired; HYT00. An error occurred while processing the 'xxx' table. The current operation was cancelled because another operation in the transaction failed
    Could anyone guide me on this issue? Truly appreciate your help in advance.

    Hi asritha,
    I would suggest you take a look at the following articles regarding how to configure PowerPivot data refresh in SharePoint Server:
    Configure and Use Stored Credentials for PowerPivot Data Refresh:
    http://technet.microsoft.com/en-us/library/ee210671(v=sql.105).aspx
    Configure and Use the PowerPivot Unattended Data Refresh Account:
    http://technet.microsoft.com/en-us/library/ff773327(v=sql.105).aspx
    Note: Please ensure that the account have sufficient permission access to your data source.
    In addition, please elaborate your PowerPivot data soure with more detail. If you are using SSAS cube, please try to increase "ExternalConnectionTimeout" property default value to see if this helps. Here is the similar thread for your reference,
    please see:
    http://social.technet.microsoft.com/Forums/en-US/35b26c06-9e6d-41e5-ae44-bfb1233510ac/ssas2008-ole-db-error-ole-db-or-odbc-error-query-timeout-expired-hyt00?forum=sqldatamining
    Regards,
    Elvis Long
    TechNet Community Support

  • Can't get IVI Power Meter error query to work properly.

    I have been trying to use the IviPwrMeter Error-Query.vi to read possible errors coming from the Power Meter.  However, I have found that no errors can be detected using this vi.  This is because the returned value 'status' is wired over to the 'error code' input of 'IviPwrMeter Error Converter.vi' and the status value will always be equal to VI_SUCCESS as the attached code signifies.
    All of this code was generated by either LabWindows/CVI and/or LabView.
    If I wire the error code output of 'IviPwrMeter_error_query' function to the error code input of 'IviPwrMeter IVI error converter.vi', the errors on the Power Meter is at least detected.
    Am I doing something wrong here or are there other work arounds?
    Source listing of driver call:
    ViStatus _VI_FUNC age4418b_error_query (ViSession vi, ViInt32 *errCode,
                                            ViChar errMessage[])
        ViStatus    error = VI_SUCCESS;
        checkErr( Ivi_LockSession (vi, VI_NULL));
        if (errCode == VI_NULL)
            viCheckParm( IVI_ERROR_INVALID_PARAMETER, 2, "Null address for Error Code");
        if (errMessage == VI_NULL)
            viCheckParm( IVI_ERROR_INVALID_PARAMETER, 3, "Null address for Error Message");
     if (!Ivi_Simulating(vi))                /* call only when locked */
         ViSession   io = Ivi_IOSession(vi); /* call only when locked */
         checkErr( Ivi_SetNeedToCheckStatus (vi, VI_TRUE));
         viCheckErr( viPrintf(io, "YST:ERR?"));
      viCheckErr( viScanf (io, "%ld,\"%256[^\"]", errCode, errMessage));
     else
             /* Simulate Error Query */
         *errCode = 0;
         strcpy (errMessage, "No error.");
    Error:
        Ivi_UnlockSession(vi, VI_NULL);
        return error;

    Dennis,
    I get the same results as you if I don't have a power meter connected.  However, this doesn't supprise me because the session handle is probably checked at a higher level.
    The calling hiearchy is as follows (I think, because I don't have all of the code)  IviPwrMeter Error Query.vi -> IviPwrMeter_error_query (IviPwrMeter.dll) ->age4418b_error_query (age4418b.dll).  I would guess that the session is validated in the second layer and not the bottom layer where the actual instrument error query is happening.
    Something you may try.  If you have any instrument, write a simple program to get a valid handle then call the error query using the error cluster to link them together.  Set a breakpoint before the error query, run the program, use MAX to send an invalid command and create an error.  Then resume your original program and see if an error is reported in the error cluster after executing the IVI error query.
    Bob

  • Purchase Orders form in Query Only mode for a single user

    Hi All,
    I want to make the Purchase Orders form as query only for a single user. I tried by giving 'Query_only=Yes' in the parameters section. I am getting 'FRM-04151: You cannot query records here' message more than 10 time. I know we get this message and this is applicable to all the users. But this message is comming more than 10 times.
    Is there anyway that I can restrict the Query only mode to a single user and please suggest about the message also.
    Thanks in Advance,
    Naresh

    Please post this question here: OA Framework
    There are so many special conditions and restrictions for E-Biz Suite that this forum is not the right place to ask these questions. The Apps forum at this location is the right place.

  • How do I run the SW in single phase mode?

    How do I run the SW in single phase mode?

    All you need to do is to modify the FPGA example a little bit, as the below illustrations.

  • Measuring power at two different point (single phase)

    Hi all,
    I am new user of LabVIEW 2013 with electrical power suite.
    May i know how to measure two different point of single phase system using the same VI such as in DAQ power and energy example?
    As I notice that there are several type of wiring available. Is only one voltage and one current availabe during 1 ph voltage and 1 current selection. Thus, when I select 3ph voltage and 2 current, the value I obtain is not seem to be true.
    From the figure attached, I want to measure the voltage at current at the solar/PV  to obtain the power value. Other than that, I also need to measure the voltage and current at the load such as water heater. This is a single phase configuration network.
    (2 voltage and 2 current measurement at single phase)
    Hope for guidance.

    Hi Lewis,
    Here attached the file.
    Actually I wanted to measure power two different point in a single phase system as shown in the first attachement.
    Since, there is example in power quality measurement(DAQ) as shown in the second attachment.
    since there is two measuring point in my measurement. May i know how to obtain two measurement voltage at the same time in DAQ?
    Hope for guidance.
    Attachments:
    Two measuremernt point (single phase).png ‏7 KB
    power & energy measurement.jpg ‏172 KB

  • Performance Dialogue error - Query "Status Overview is already open in ano

    Hi All,
    We implemented ESS MSS on Portal 7.01 SP8. With With SAP_ESS 603 SP7 and BP_ERP5ESS 1.41 SP9
    This is for country Qatar and it has made as a copy of GB as SAP doesnt provide any country structure for Qatar.
    We are facing error in Performance Dialog saying "Query "Status Overview is already open in another session" when click / display button is clicked after selecting the Appriasal document in ESS.
    This is working fine for all other countries and also this works fine if another country's portal role is assigned to same PRNR or test user.
    We cant see any locks in backend / portal.
    Please can someone help.

    Hi Siddharth,
    We have already checked and there were/are no locks in Sm12.
    I tried deleting the locks using the mentioned program, in result is does say that ! query found but when I go to Portal and open the Performance Dialogue document , I still get the error Query " " is already open in another session
    Note 1432358 is for  SAP_BASIS >= 701 which is suitable for our case but, just wanted to check, Performance dialogue works fine for all other countries and only for this particular country it's not working.
    We are able to replicate this in Development and Test, both the environments.
    Also, when this particular user is assigned, another country's portal roles the problem doesnt occur.
    Any clues?

  • Error querying fact: -2417217900 invalid column name

    Dear Xperts
    while validating script logic it gives error"error querying fact: -2417217900 invalid column name P_ACCT"
    P_ACCT dimension created by me.
    problem has started today while creating new script logic.
    as old logic created earlier was sucessfully validated
    new logic was created refering document 330 for bpc,so there is no scripting error
    pls guide me through this.
    thanks
    kashyap

    thanks  for ur advice
    i was able  to validate logics previously.
    i tried way you sugested but was unable to validate.
    i also  tried updating that dimension members but it was giving me some olap querry error while processing dimension after changing dimension members.
    so finally i deleted that dimension created new one did whole process again
    & was successfull
    but i wanted to know why this error could have occured
    thanks
    kashyap

  • Single phase inverter controlled by compactRIO

    Hi guys, I am conducting my application which need a single phase grid-tie inverter. I want to find a custimized or commercialized single-phase grid-interactive inverter which allow the user to define the control algorithms. I wish I can controll this inverter on Real Time by my CRIO since I have already get these analog/digital I/O modules with my CRIO.
    Do you guys any any recommendation for which inverter I can find to achieve this kind of function? or any other suggestion for my application.
    BTW, I read there's some NI product called NI Single-Board RIO General Purpose Inverter Controller. Is that one have some specific function for inverter which CRIO doesn't have or it is just a single-board RIO which has similar function with a normal CRIO?
    Peter

    Hello sdualienware,
    The functionality of the Single-Board General-Purpose Inverter Controller (GPIC) is defined by the code deployed to the hardware and may in fact, be used with a normal CompactRIO. I have included a few helpful links below that will not only help to explain the functionality and benefits of using the NI-RIO technology to perform this control (although most resources specifically point to the Single-Board RIO), but also provide sample code that may be used for single-phase inverter control. 
    http://www.ni.com/white-paper/14207/en (NI Single-Board RIO General-Purpose Inverter Controller)
    https://lumen.ni.com/nicif/us/codepowelecguide/content.xhtml (Download the Latest Power Electronics Design Guide Code)
    https://decibel.ni.com/content/groups/power-electronics-development-center (Community: Power Electronics Development Center)
    Wes W
    Application Engineering
    National Instruments
    www.ni.com/support

  • Change Own Data - System error: query could not be found

    Hi Experts,
    Please help me on the above issue.
    Change Own data is not working in QA environment. Configuration changes related to Change own data does not prompt for a transport request. I have trasnsported T77WWW_WHO entries to QA.
    Here is the table entry.
    08     /SAPQUERY/HR_XX_PA_ESS     Y ESS_WHOS_WHO GB     SY000000000142     SY000000000143
    I dont have any clue about this issue. No ST22 dump is also generated.
    Thanks in advance.
    Cheers
    Jay

    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    System error: query could not be found   
      System error: query could not be found:com.sap.pcuigp.xssfpm.java.FPMRuntimeException: System error: query could not be found
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)
         at com.sap.xss.hr.cod.FcCodBusinessLogicComp.callRFCGetDetails(FcCodBusinessLogicComp.java:480)
         at com.sap.xss.hr.cod.FcCodBusinessLogicComp.onInit(FcCodBusinessLogicComp.java:228)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicComp.onInit(InternalFcCodBusinessLogicComp.java:512)
         at com.sap.xss.hr.cod.FcCodBusinessLogicCompInterface.onInit(FcCodBusinessLogicCompInterface.java:115)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface.onInit(InternalFcCodBusinessLogicCompInterface.java:147)
         at com.sap.xss.hr.cod.wdp.InternalFcCodBusinessLogicCompInterface$External.onInit(InternalFcCodBusinessLogicCompInterface.java:227)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)
         at com.sap.xss.hr.cod.start.VcCodStartComp.onInit(VcCodStartComp.java:196)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartComp.onInit(InternalVcCodStartComp.java:156)
         at com.sap.xss.hr.cod.start.VcCodStartCompInterface.onInit(VcCodStartCompInterface.java:161)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartCompInterface.onInit(InternalVcCodStartCompInterface.java:144)
         at com.sap.xss.hr.cod.start.wdp.InternalVcCodStartCompInterface$External.onInit(InternalVcCodStartCompInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

  • New Output Module install generates an i/o error when running even on a single image.

    Adobe *had* removed the Output Module from Bridge, and I see now there is a (tedious) "manual" install to "reinstate" the module available online, but it is not functional. It generates an i/o error when running even on a single image.

    I'm afraid this is not helping the OP
    There are already to many having this I/O problem showing in several other threads and in this forum there is still no solution found. Can you pass this on to Adobe Tech please?
    Thanks

  • Delta PLC with Single phase inverter

    Hello Everyone,
    I've Delta DVP 20EXPLC. In this PLC, we can generate the pulsed outputs at Y0 and Y1. I wish to do the single phase inverter with the help of this pulses. Now, I am using four MOSFET which are going to operate the switches for inverting operations. Basic inverting operation is at that time pair of MOSFETs only should be on, remains or OFF. The problem for me is, When I'm giving the pulses from the PLC, the pulses of 4 MOSFETs are same, It cant operate with the above format. So, I didn't get inverted sine wave signal.
    I hope that You can understand my status. If it is not sufficient, I am ready to explain deeply according to the reply. Please help me with out this problem.
    OR If any possibilites are there for controlling the MOSFETs from VI...?
    Solved!
    Go to Solution.

    Hello,
    You application that controlls MOSFET only requires the digital output that can be transmitted using any industrial communication protocol. 
    I checked information about Delta DVP EX and found it supports these protocols: Communication port: Built-in RS-232 and RS-485, compatible with MODBUS ASCII / RTU communication pro....
    LabVIEW supports all of them. You can find examples for the first two in LabVIEW's Help - Find Examples ... 
    You can download Modbus support from NI product page.

  • Function of Error Query.vi?

    Hello , I am confused of the function of Error Query, since I am really new in this field ,I hope I can learn sth here.
    From the Fig111, I have some questions, VISA write in "*ESR?" and then VISA read 10 bytes, then the 999block get the decimal number from it , compare the number to 3 different constant number 16, 32 and 4, what we need is get a False from it ,otherwise error comes up
    so can anyone explain the idea or principle behind it?
    Attachments:
    111.jpg ‏116 KB
    lem_instruments_d6000.zip ‏781 KB

    hi xyq102296,
      I think those commands are queries to know about the status of hardware .
    1)If *ESR?(some status register) is the query,then output will have the error put in the bit patterns,thats why they are checking if the 3,5 and 6th bit positions are 1's are not(and operation).if any bit position is 1,then corresponding error will be there.
    2)Similarly STA HW?is the query to know the status of the hardware and the output of the visa read will give info about the error(checking the 2,4,and 6 th postions are 1's or not)
    3)STA OP ?query to knwo the status of operation and output of the visa read will give info about the error...Now all the error are concatenated and the new string is compared with empty string..if empty string ,now error,if not error will be notfied as error cluster to the user.
    Thanks and regards,
    srikrishnaNF

Maybe you are looking for