GPIB read freezing when running vi without debug light ... (it works with the light)

I have a gpib read that spits out two values at a offset. This is in a loop thats defined by the initial , final and step size parameters. My question is, why does the gpib read freezes (or doesn't exectue; whenever I turn the debug light on(after it's been run), it 'lights' up only till the gpib read and nothing further). I replaced the gpib read with visa read , it doesn't freeze anymore but it only records zeros (when I can clearly see my system outputting some values). Any help would be appreciated.
*there was a similar topic about debug light and the reasoning was made to be a race condition. but I dont see how my situation is a race condition.
Thanks,
kb.
Solved!
Go to Solution.
Attachments:
racecond.PNG ‏37 KB

kb003 wrote:
Cleaning up...for me thats the cleaned up version. I'm still figuring out labview. 
Stacked sequence made the perfect sense in a 1-2-3 logical reasoning. 
<snip>
I wrote my code from an ancient driver set. I figured why to mess with something that's already working. So, I built it all on gpib. 
This brings up an ancient scrap I have with National Instruments.  Namely, they advertize LabVIEW as something so easy to use, you can dive right in.  Well the truth is, you can dive right in, but it's guaranteed you will be writing horrible code, and much more easily than with any other programming language.
In reality, you really have to have training, formal (classes) or informal (books on LabVIEW), just like with any other programming language.  Because NI keeps promoting the LabVIEW Falsehood, you get managers that assign newbies to write complex code, and then you have issues like the one the poster has above.
I'll get off my soapbox now and return you to your local programming, already in progress...
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

Similar Messages

  • Iam from Yemen we have CDMA carrier called Yemen mobile I bought an iPad from the US CDMA works with Verizon when I got to Yemen doesn't work with the carrier Yemen mobile and  both carriers verizon and Yemen mobile work by the CDMA system don't know whey

    Iam from Yemen we have CDMA carrier called Yemen mobile I bought an iPad from the US CDMA works with Verizon when I got to Yemen doesn't work with the carrier Yemen mobile and  both carriers verizon and Yemen mobile work by the CDMA system don't know whey can anyone help me please..

    A Verizon-model iPad can only work on CDMA with Verizon. You cannot use it with any other carrier. Apple, to my knowledge, has not released the iPad in Yemen, so there is no iPad you can use with any carrier there that works only on CDMA. You would need to find a GSM carrier and then get an unlocked GSM iPad.
    Regards.

  • HT4623 My iPad 1 keeps freezing when I try to set up an account with the apple store .Insert all details including payment details. The screen turns grey colour and then freezes. Help,,,,,,

    My iPad 1keeps freezing every time I try to access apple store. I complete all the information including payment account details lithe screen turns grey colour and then freezes . Help please.

    App store or Apple store

  • How do I get my iMac running Lion 10.7.4 to work with the PreSonus firestudio firecontrol Lion driver?!

    Firestudio unit worked fine with other computer and older OS X driver.
    Unless the PreSonus firecontrol driver is JUST BAD, the problem must be that my operating system isn't allowing the firecontrol driver to run properly.
    How do I fix this? This is very frustrating but I refuse to give up on the problem. I have A LOT OF MONEY INVESTED IN THIS STUFF!!!
    HELP!
    Marco

    Allan,
    Which version of what do I have?
    Firestudio 2626 is the firewire MIDI audio interface
    iMac OS X Lion version 10.7.4
    Logic Pro 9 just downloaded 5 days ago (newest version)
    The firestudio driver I'm trying to run is called "firecontrol" and is for Lion. It says the firmware version is 31.7.0.0 and the FPGA version is 0 and the software version is FS Universal 1.0 and the driver version is 3.5.6.11118
    Not sure what you were asking about but I'd be happy to give you more information if it would help!
    Thanks,
    Marco

  • I've a brookstone projector for iPhone 4. But this isn't working on my iPhone 4s running ios 7. It's working with the videos but the projected image shows a lot of white and black pixels. The image projected is soo noisy. What should I do ?

    What should I do ? The image projected is full of black n white grains/pixels

    To delete, tap "Edit" (tap to enlarge image)

  • IMac (2008) OS10.6.8 - Main menu freezes when running more than one application at a time.  Apple and 3rd party applications - all freeze the main menu.  Safe mode seems to work OK. Tried repairing permissions - didn't work.

    For the past 60 days I've experienced Main Menu freeze when running more than one application at a time.  iPhoto, Preview, Text Edit, Epson Scan, Firefox and Thunderbird are the apps I use almost daily.  No matter what I do, when more than one is running they will freeze the Main Menu (top of the screen).  I've tried booting is Safe Mode and I don't seem to have a problem.  I've tried several suggestions from repairing permission (DiskUtility) to eliminating specifis login items.  Nothing works. I've posted this issue on the Apple forum several times and no one else has experienced this problem.  I hesitate to take my iMac to the Apple Store or a private Apple repair service until I've exhausted all of my options.  Do I have any more options?    

    Question:  Everytime an app crashes I have the option to report it to Apple - which I usually do.  But I've NEVER reported a Main Menu freeze because it never asks me to
    There's really no need to submit to Apple, it's just a round file cabinet on the other end, especially with 10.6 or earlier.
    This sure sounds like a resource problem...
    See if the Disk is issuing any S.M.A.R.T errors in Disk Utility...
    http://support.apple.com/kb/PH7029
    Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
    How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.
    In the Memory tab, are there a lot of Pageouts?

  • I have an iPad 1.  I filled out a PDF questionaire in adobe reader. When I send it to Dropbox, iBooks,mercury browser the form shows up without the answers .  My objective is to email the completed form. Please advise as to how to do thisThanks. Big Jake

    I have an iPad 1.  I filled out a PDF questionaire in adobe reader. When I send it to Dropbox, iBooks,mercury browser the form shows up without the answers .  My objective is to email the completed form. Please advise as to how to do thisThanks.
    Big Jake

    If the PDF is a form fillable PDF, which I assume that it is, email it to yourself or send it to DropBox and open it on your computer. You should see the fields filled in there. It works for me if I do it that way.
    Adobe Reader supports it, but the other apps don't. I assume that if you email the PDF to a computer user it would be readable in Adode Reader.

  • Reader stops when after loading document.  Says stops working!  It will load without any document!

    Reader stops when after loading document.  Says stops working!  It will load without any document!  Help!??  This has been going on for several months.  Help!

    What is your operating system?  Reader version?

  • HT4587 I downloaded Airport Express Utility 5.6 to get my Airport Express to work with the latest Mac OSX 10.7.4, but when I install and run it, it still says my Airport Express is out-of-date and needs the 5.6 utility.

    I downloaded and installed Airport Express Utility 5.6 to get my old Airport Express to work with the latest Mac OSX 10.7.4, but when I install and run it, it still says my Airport Express is out-of-date and needs the 5.6 utility. What's up?

    It is likely that you downloaded AirPort Utility 5.6.1.  If you checked the requirements, this only runs on Leopard or Snow Leopard Macs.
    You have Lion, so you need AirPort Utility 5.6 for Mac OS X Lion

  • I have an ipod touch 8gb that is disabled. on the screen it reads ipod disabled connect to itunes. But when i connect it to itunes, it says that it cant work with the ipod because it is locked with a passcode. what now?

    I have an ipod touch 8gb that is disabled. on the screen it reads ipod disabled connect to itunes. But when i connect it to itunes, it says that it cant work with the ipod because it is locked with a passcode. what now?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    The previous responses did not say how to place in recovery mode or DFU mode

  • My MBP with RD's Facetime camera freezes when changing portrait to landscape during facetime calls on the display of the person who i'm calling to, but it shows alright on my side, what's going on?

    My MBP with RD's Facetime camera freezes when changing portrait to landscape during facetime calls on the display of the person who i'm calling to, but it shows alright on my side, what's going on?
    Another thing is that on Skype, whenever i clicked to sharescreen it only show a complete black out window. nothing else.
    Tried restore OSX mountain lion, doesn't work. what should i do?

    kaeandcolesmon,
    If you open the recovery drive (partition) it should only have a single folder (Recovery).
    To make sure that your not saving restore points to that drive.
    See:
    Start, Control Panel, System, System Protection tab. Make sure the D drive partition is set to OFF so that it does not save there.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

  • Ora-3113 when running sql in sqlplus mts. dedicated works fine

    when i try to execute a simple query (return 1 row), from sqlplus (in the server database) by shared connection, i recive ora-3113. by dedicated conection it works fine. environment datas : server side (windows 2003 server; 10.2.0.1).
    part of my trace file :
    nsprecv: normal exit
    nsrdr: got NSPTDA packet
    nsrdr: NSPTDA flags: 0x40
    nsrdr: normal exit
    nsdo: entry
    nsdo: cid=0, opcode=85, bl=2001, what=0, uflgs=0x0, cflgs=0x1
    nsdo: nsctx: state=6, flg=0x620d, mvd=0
    nsdo: gtn=127, gtc=127, ptn=10, ptc=2011
    nserror: entry
    nsdo: error exit
    nsdo: nsctxrnk=0
    nsdo: error exit
    nioqer: entry
    nioqer: incoming err = 12151
    nioqce: entry
    nioqce: exit
    nioqer: returning err = 3113
    nioqer: exit
    nioqrc: exit
    nioqbr: entry
    nioqbr: state = normal (0)
    nioqsm: entry
    nioqsm: Sending break packet (1)...
    nsdo: entry
    nsdo: cid=0, opcode=67, bl=1, what=17, uflgs=0x100, cflgs=0x3
    nsdo: rank=64, nsctxrnk=0
    nsdo: nsctx: state=3, flg=0x420d, mvd=0
    nsdo: nsctxrnk=0
    nsdo: error exit
    nioqsm: send-break: failed to send break...
    nioqper: error from send-marker
    nioqper: nr err code: 0
    nioqper: ns main err code: 12583
    nioqper: ns (2) err code: 0
    nioqper: nt main err code: 0
    nioqper: nt (2) err code: 0
    nioqper: nt OS err code: 0
    nioqsm: exit
    nioqer: entry
    nioqer: incoming err = 12152
    nioqce: entry
    nioqce: exit
    nioqer: returning err = 3113
    nioqer: exit
    nioqbr: returning 3113
    nioqbr: exit
    nioqds: entry
    nioqds: disconnecting...
    thanks

    Thread continued at -->
    ora-3113 when running sql in sqlplus mts. dedicated works fine

  • I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?

    I get an error message when running a back-up from my Macbook Pro: The backup disk image Macbook.sparsebundle could not be accessed (error-1) and the backup did not complete? What is the issue?

    Try Here  >  http://pondini.org/TM/C12.html
    More Info here  >  http://pondini.org/TM/Time_Capsule.html

  • When will SAP Java AS for EE 7 see the light? And NWDS on Eclipse 4.2?

    Hi,
    since thread 2028916 When will SAP Java AS for EE 6 see the light? became too long and old - scrolling on mobile devices is a pain -  I decided to start a new thread to discuss the future of the SAP Java AS on premise platform in combination with the development tool NWDS.
    Java EE 7 is general available for a year next week. It is difficult to get courses on Java EE 5 and books at the antiquarian bookshop. Eclipse 3.5 underneath NWDS is completely outdated already and out of support on Eclipse side. BPM, SAP's still emerging software, is only availble in this old tooling.
    SAP's CTO Sikka left the company giving us the chance to discuss this topic beyond the time of HANA hype.
    Hopefully this thread will begin with good news.
    Best regards
    Rolf

    Hello Steffen,
    thank you for your input. Because of holiday a late answer.
    You are absolutely right, and I am sure it is not only your personal opinion, but the simple truth.
    NetWeaver Java's right to exist is only as platform for CE tools like PI and BPM engine.
    And because SAP cut themselves off Java 7 and EE >=6 standard, even these tools will become outdated quickly. E.g. you run into trouble running current oData libraries on this platform. I cannot recommend anybody to use BPM in new projects - a tool that is running on Java 6 / EE 5 in 2014 and needs a strange and unneccessary concept of "Development Components" at design time.
    If we knew what we know today in 2010, we would have abandoned the NW Java platform already and found a nice web frontend. But SAP kept stalling us, so now we have dozens of WD Java that want to be replaced.
    What really is striking me at this topic is the hype of the al the important SAP people (mentors etc.) around "kiss of death of WD Java" that kept the social networks busy in 2010 as constrasted with the ignorance regarding the way more substantial decay of the complete SAP NetWeaver Java platform. Our customers and we as software developers could live for the next 10 years with a rock solid and "mature" UI framework like WD Java even without any enhancements, but we cannot bear complete stagnation in our business layer and the platform and development infrastrucure on the whole.
    SAP NetWeaver Java is dead, "deader" than WD Java will ever be, but the important people do not even read the death notice. Probably they are out of town in the HANA cloud.
    SAP neglected the house for a too long time, the house is decayed, it is too late for cosmetic repairs by SAP, we have to move out.
    Best regards
    Rolf

  • When I delete a podcast, it immediately reappears with the icloud next to it.  How do I delete it from the list?

    What's deal?  When I delete a podcast, it immediately reappears with the icloud next to it.  How do I delete it from the list so that it stays gone?  I only want unplayed episodes.  I have tried all aspects of preferences but this does nothing to help.  I couldn't even delete an episode until I downloaded it, so I thought.  After the downloads, I deleted it only to have it reappear with the iCloud icon next to it.....Thanks for any help! 

    What is reappearing is just the list entry with the indication that it is available for download - it's not taking up any space on your computer. You can remove it by control- or right-clicking it and choosing 'delete'.
    The recent changes in iTunes have confused a lot of people. Here is a summary of the situation:
    Only the most recent episode shows when you first subscribe. In the default  'My Podcasts' view click 'Old episodes' to show earlier episodes, click 'Done' to hide them or 'Add all' to keep them there and also add them to List view.
    Alternatively, in 'List' view control- or right-click on the name of the podcast or the episode and choose 'Show old episodes' to reveal all the previous episodes.
    In both views you can now delete both downloaded or un-downloaded episodes from both views by control- or right-clicking on the name of the episode.
    In both views each episode now has a blue circle to the left showing it as unplayed. Each episode can be double-clicked to be played as a stream without downloading it first (so you don't have to wait for it to download fully). Click the cloud icon at right to download it (as you will have to to sync it to an iPod). Note that if you click the cloud icon to the right of the title of the podcast itself, rather than an episode, you will initiate a download of all episodes.

Maybe you are looking for