How to resolve the hang-up of TNT4882 after write-transfer

Hi,
    My GPIB device based on TNT4882  can correctly receive the data sent from my VISA app using viPrintf, and my GPIB device can also write data to my VISA app using viRead through GPIB, like "Acery,XXXXX,xxxxxxxxx,2.5-5.20-23". But Everytime my VISA app always poped up an TIMEOUT error on the function of viRead and I showed the maybe receiving data, my VISA app can show the correct data "Acery,XXXXX,xxxxxxxxx,2.5-5.20-23". Not only the VISA app pops up the TIMEOUT error, but also that my gpib program running on my device could not detect the termination condition like END,EOS,ERR,B_done,B_tlcint after it sent out the data .  I have no idea on how to solve this problem so far.
    The GPIB program for sending out data  in Programed I/O mode is coded following the example of ESP-488 (http://joule.ni.com/nidu/cds/view/p/id/223/lang/en) in the dir of ESP-488\NOTNT\NGPIB_IO.c and EX5.c)  as an example. I cannot find any defect about the register programming.
Now I would show the write-data code sequence:
         When I detect the TNT4882 is in Talker mode from ADSR, I will call the initializing writing code for writing-data-transfer:
TNT_Out(R_cmdr,F_resetfifo);
  TNT_Out(R_cnt0, (char)(twos_cnt));      /* Load twos compliment count     */
  TNT_Out(R_cnt1, (char)(twos_cnt>>8));   /*  into TNT count registers      */
  TNT_Out(R_cnt2, (char)(twos_cnt>>16));
  TNT_Out(R_cnt3, (char)(twos_cnt>>24));
  TNT_Out(R_imr0,B_glint);              /* Set write to imr0 to be sure   */
  TNT_Out(R_auxmr,HR_auxrj|0);          /*   B_to is cleared              */
  TNT_Out(R_imr1, B_err);         /* End transfer on err            */
  TNT_Out(R_eosr, 0);        /* Set EOS byte                   */
  TNT_Out(R_auxmr,HR_auxra|F_hlda)
  TNT_Out(R_cfg , (B_tlchlte | CCEN ));  // I don`t set time-out attribute.
  TNT_Out(R_auxmr,F_hldi);               /* Hold off immediately           */
  TNT_Out(R_cmdr, F_go);
During the writing-data-transfer, I use the status of END|EOS|ERR|B_done|B_tlcint to
control the data transfer. All the data is written to FIFOB for sending out.
       After aborting transfer of writing:
 TNT_Out(R_cmdr,F_stop);
 TNT_Out(R_cmdr,F_resetfifo);
 if(TNT_In(R_isr1)&B_end)                /* If we received an END          */
    TNT_Out(R_auxmr,F_clrEND);            /*   Clear status bit             */
 if(TNT_In(R_isr1)&B_err) {
    TNT_Out(R_auxmr,F_clrERR);            /* Clear error bit                */
 if(io_type==OUTPUT) {
      TNT_Out(R_hssel,F_onechip|B_go2sids); /* if error set to idle state.    */
Now I showed up some registers of TNT4882 during different phase.
registers after initialization of write-transfer and before write-transfer:
isr0 0x21
isr1 0x0
isr3 0x48
adsr ox4a
sasr 0x70
sts1 0x10
sts2 0x9a
bsr  0x21
registers after write-transfer:
isr0 0x21
isr1 0x2
isr3 0x48
adsr ox4a
sasr 0x70
sts1 0x10
sts2 0x9a
bsr  0x21
registers after a few seconds(TNT was still Talker):
isr0 0x21
isr1 0x0
isr3 0x48
adsr ox4a
sasr 0x70
sts1 0x10
sts2 0x9a
bsr  0x31
       After write-transfer, my device program cannot detect any condition of ERR,END,EOS,DONE,TLCINT in
isr0,isr1,isr2, isr3 to do the post-termination action.
       As you can see, some registers above almost donn`t change. I really donn`t know how to solve the
TIMEOUT problem and how to notify my VISA app that the transfer is completed.
       At last could you give me an example of how to initialize the write-transfer?

Can you try below, maybe it is helpful for you:
This error may occurs when the interrupt line (IRQ) of the AT-GPIB/TNT interface is not configured properly. This incorrect configuration makes it so that the interrupts generated by the GPIB hardware are not detected by the GPIB driver. The GPIB hardware cannot notify the software that any operation is complete. Make sure the appropriate IRQ value was used when installing the module:
If you are using a non plug and play AT-GPIB/TNT, make sure that the jumper settings match the value used when configuring the driver module.
If you are using a plug and play AT-GPIB/TNT, make sure the value in the file generated by the isadump utility matches the one used when configuring the driver module.
In both cases, if the appropriate IRQ value was used when configuring the driver module, try changing the IRQ value used. Remove the module and re-install with the new resource settings. For more information on configuring the resources for plug and play AT-GPIB/TNT interfaces, refer to the README and README.PNP text files included with the nigpib package.
Li Yi

Similar Messages

  • TS1702 Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.

    Does anyone know how to resolve the problem of apps not being able to download in the App Store? After the IOS 6 update I haven't been able to download any apps.

    Maybe here:
    IOS 6 App store crash: Apple Support Communities

  • I have started to get this error message: 5.1.3 bad address syntax in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice?

    I have started to get this error message: "5.1.3 bad address syntax" in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice?  My email account is through Optimum online and I am using Airpost Express.
    P.S. The error sound "bong" is driving us nuts!

    Please post on the Office for Mac product forums that Microsoft hosts. It's their product and they can best troubleshoot the issue.

  • How to resolve the problem in jdeveloper903 oc4j starting:JspTagLib listener error

    I just download a jdeveloper903,i hava a problem:
    when i start the oc4j alone,it prompt "JspTagLib listener error:null". Then,After depoly the jsp application with JspTag to oc4j,I found the jsp page can not run,but,the jsp application can run in the
    develope environment.
    how can resolve the problem,help!!Thanks.

    I think you might have better luck asking your question in the JDeveloper forum at:
    http://forums.oracle.com/forums/forum.jsp?id=315684
    later -- Jeff

  • How to Resolve the Broken Dc's on CBS.

    Hello all,
    I am facing few broken Dc's in CBS. I tried to resolve the broken DC's by the following procedures, but was not able to completely resolve the broken DC's on CBS. few procedures are
    1. No built and Deploy errors in NWDI
    2.Had released all the activities from transport, no more activity's are in pending state in TSK.
    But I am facing broken DC's in compile state, Metadata and Used Dc's. Can any of you suggest me how to resolve the broken DC's on CBS.
    Thanks you all,
    Anil

    Hi Anil,
    first of all please notice that I've moved this thread to the NWDI forum.
    See the guide:
    Understanding Broken DCs and Dirty DCs
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30b7c94e-fc6b-2910-30b8-d34a7b51309e
    You find some other useful documents in the top-most thread of this page in NWDI forum (SAP NetWeaver Development Infrastructure (NWDI))
    Direct link to the thread:
    Most important NWDI related guides and documents
    The specified item was not found.
    Best Regards,
    Ervin

  • How to resolve the loop in universe level

    how to resolve the loop in universe level

    Hi, Kashim
              In univese level loops resolved by Chasm Trap and Fan Trap methods.
    Chasm Trap:  A chasm trap is a type of join path between three tables when two many-to-one joins converge on single table, and there is no context in place that separate the converging join paths.
    There is "many-to-one-to-many"relationship beween the three tables in the universe structure.you can define a context for each table at the many end of the joins.
    A chasm trap is not dependent on the object types, the query could be made up of only dimensions,only details,or only measures,or any combination of the three types with the "many " tables for chasm to occure.
    you can also detect the chasm trap Automatically, tool---->Detect context
    To resolve the chasm trap, you need to make two separate Queries and than combine the results Depending on type of objects defined for the fact tables and the type of end user environment,
    Fan trap: it is occured when there is a "one-to-many" join to the table that "fans out " into another "one-to-many" join to another table.
    Avoid fan trap: The first place by relating all measure objects in the universe to the same table in the universe structure,Avoid placing a measure on anything other than the last table in a in a table path, which is the table with the "many" cardinality attached to it.
    This methods is not recomended as it only works for measure objects and may result in inefficienies in processing the query. This resolution works the same for chasm and fan traps.
    you can create more alias tables based on your requirement in single universe. and it is true conext, when two or more paths.
    Theese methods also apply for resolving loops:
    Short cut join also one method for resolving loops
    Aggregate aware function used another waty for resolving loops
    if you are not resolving the loop result is  redusing the number of records.

  • My ipad 3 keeps on rebooting after updated to ios 7.1.2. what shd i do?? how to resolve the issue??

    my ipad 3 keeps on rebooting after updated to ios 7.1.2. what shd i do?? how to resolve the issue??

    The first thing that I would try is a reset.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    IF that doesn't stop the rebooting, you should restore the iOS Software. Read this carefully and read to all the way through before proceeding.
    Use iTunes to restore your iOS device to factory settings
    At the very end of the article under "additional information" there is a link to recovery mode. You might need to use that if you cannot restore in the conventional manner.

  • How to kill the hanged JFrame in swing?

    How to kill the hanged frame in swing?
    I am opening multiple JFrame and working on them.These frames are plcaed in JDesktopPane.
    If one frame is hanged up then i could not work on others .
    I need to kill the hanged frame.
    Assist me.

    am opening multiple JFrame and working on them.These frames are plcaed in JDesktopPaneWell, a JFrame, can't be added to a JDesktopPane, so your question doesn't even make sense.
    As was suggested earlier, if your GUI is unresponsive, then that means you are blocking the GUI EDT and the GUI can't respond to events. Don't do this.
    Read the Swing tutorial on Concurrency to understand why this happens and to learn the proper way to write GUI code so it won't happen.

  • After the IOS 7.1 update I have issue with Game Center, I'm not been able to  load the  games. The apps don't seems to be able to connect to game centre. How to resolve the issue?

    After the IOS 7.1 update I have issue with Game Center, I'm not been able to  load the  games. The apps don't seems to be able to connect to game centre. How to resolve the issue?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • I have recently purchased the highest storage but was unable to backup my phone via icloud, the button on my mphone to backup on icloud is grey out, anyone knows how to resolve the problem?  What's the point of purchasing the biggest storage?

    i have recently purchased the highest storage but was unable to backup my phone via icloud, the button on my iphone to backup on icloud is grey out, anyone knows how to resolve the problem?  What's the point of purchasing the biggest storage?

    First check that your device is correctly connected to the wifi/internet (settings > wifi)
    If your back up continually fails, you might try turning off back up on your mobile device (settings > iCloud > storage & backup) and then deleting the backup file from iCloud by swiping the backup file on the mobile device (settings > iCloud > storage & backup > manage…) and then turning back up on again.
    If this doesn't help, try turning off some items for back up in a pattern to try to establish if your problem is being caused by specific data on your device.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.
    More about iCloud v iTunes Back Up

  • How to resolve the ip address of all computer conntected to host.

    How to resolve the ip address of all computer conntected to host.

    Define it in terms which you can program, I mean ...
    My point is that none of these terms is well-defined: 'connected' for a start. The network is a packet-switch, not a circuit switch, so strictly speaking there are no connections at all.
    What's the purpose behind this?

  • How to stop the gray wheel from spinning after logging out

    how to stop the gray wheel from spinning after logging out?

    Frank ...
    Make sure to quit all open applications before logging out.
    Your proflie indicates your Mac has v10.7.1 installed.
    If that is the case, updating your system software will help as far as functionaly as well as security.
    Install the OS X Lion Update 10.7.5 (Client Combo)
    Then restart your Mac.
    message edited by:  cs

  • How to configure the database monitoring (DBA Cockpit) after Support pack

    Hi,
    I did the Support Pack Upgrade for BW system and i ran SGEN as well, now i need to configure the database , could you please suggest how to configure the database monitoring (DBA Cockpit) after Support Pack Upgrade.
    Server is MSSQL , Component is SAP NetWeaver 2004s and OS is Windows NT.
    Plesae suggest.
    Chandu.

    Hi,
    You are right. SAP delivers this functionality from SP-12. So when you have applied the SP-12, you must have done these config steps to enable the DBA Cockpit.
    If you have done these steps earlier, So you must have DBA Cockpit enable right now and putting extra SPs like 13, 14 and so on, should not be a matter.
    Now if you have not performed those config steps before, Please do them now and you will be able to use DBA cockpit.
    Please understand that SP12 is the base to run DBA Cockpit.
    With Regards,
    Saurabh

  • How to Fix the iPhone 4S Wifi Problems After  8.2

    How to Fix the iPhone 4S Wifi Problems After  8 2 its grayed out

    I suggest you describe the problem in more detail, tell us what steps you have tried so far to correct the problem, what happened, and what error messages you received. Telling us you've tried ""all the methods mentioned in the forums" does not help.

  • How to resolve the error -1073807339 when using Agilent LAN/GPIB Gateway (E5810A)?

    Dear Sir/Madam,
    Appreciate that you could advise me on the following error occur when connect power meter E4419B to computer via E5810A LAN/GPIB Gateway(remote interface) & run with Labview: 
    -1073807339
    VISA Write in E4419_read_power.vi
    I have added 5s timeout to Labview program but the result as previous.
    There no error occurs when the power meter to computer via USB/GPIB interface(82357B).
    Is it related to E5810A driver or the program I wrote?
    How to resolve it?
    Attachments:
    E4419_read_power.vi ‏16 KB

    Hi.
    I'm experiencing the same problem when connecting a laser controller (New Focus Vortex TLB-6000) via the Agilent E5810A to a PC.  
    There are no problems when connected through a regular serial port, but timeouts arise every few seconds through the E5810A.  I have another controller (SRS LDC501) which works very well with a second Agilent console.
    Have you managed to find a solution to this problem?
    Thanks,
    Orel.

Maybe you are looking for

  • Service Request - Transaction type not appearing in IC Webclient Pop-Up

    Hi, The service request transaction types SMRQ and YMRQ do not appear in the webclient pop up when i click on Create Service Request. All the other transaction types are working fine. I have checked the entries in --> SPRO--> Solution Manager --> Cap

  • How to Combine Forms with .PDF files?

    Hello. Several employees at my company frequently generate reports which are then edited in Acrobat 7. Life was good in the days of Acrobat 5. Then something changed between Acrobat 5 and 6, making this virtually impossible. Then along came Acrobat 7

  • Thoughts on new(est) clarity (Lr4.0)?

    My .02 ===== Review of old clarity (PV2010): Mostly increased midtone contrast, but also would darken dark edges (and produce a faint glow in adjacent light areas - "halos"). Would not clarify shadows. Because highlight recovery in Lr3 was weak, one

  • Mapping MIDI sounds in GB3

    I record drum tracks via my Roland V-Drums and Cakewalk/Sonar. I save them as .mid files then drag them on to my GB3 app for playback. Does anyone know how to change the instrument assignments in GB3? Not all the sounds from my drum kit are audible a

  • What is the longest lasting battery for my Pavilion dv6-6c35dx

    I need to buy a new battery but I don't want to buy one with a short cycle life. Which is best?