Can anyone help me with Labview/GPIB timing problems?

I am trying to use a very simple VI (downloaded from the NI site) to control a Newport 1830C optical power meter.
I have been spending most of my time trying to use the VI issue a command to read the current displayed power. When I run the VI normally, I get no response from the meter, and the VI simply terminates without any error message. (The "remote" indicator does light on the meter, though, so it seems to be receieving the command.)
However, when I run the VI in the "highlight exectution" mode, everything seems to work just fine, and I receive a correct reading from the meter! Needles to say, this makes it really hard to debug the problem.
My guess is that I have some kind of timing problem, and t
he "highlight execution" feature fixes it by introducing delays. Is this correct? If so, how can I achieve the same thing by putting in delays by hand?
thanks, Whitney White

Whitney,
I agree that this is very likely to be a timing issue. VIs run much slower in highlight execution mode, therefore your instrument may need more time to prepare the data you have requested. Try wiring a delay inline prior to the GPIB reads and/or writes, or try using Service Requests (SRQs) to give the instrument enough time to generate the data it needs to send back to the computer.
Another possibility is that your instrument may not be IEEE 488 compliant. Some older instruments indicate that they are ready to receive data before they really are. Try changing the GPIB bus timing to the slowest setting (in the GPIB Configuration Utility). This only affects the time that the GPIB controller waits before valid data is on the bus and the DAV line i
s asserted (a step in the GPIB handshaking that occurs each time a byte of information is sent to the device) so this may not be effective.
Lastly, you may wish to try the instrument driver for your instrument. There is a contributed driver at this location: LabVIEW Traditional Instrument Driver: Newport Optical Power Meter 1830C. A 'contributed driver' means that someone outside of National Instruments wrote the driver and then submitted it for posting. This driver also contains a good example of adding a time out.
Regards,
Heather S.
Applications Engineer
National Instruments

Similar Messages

  • Can anyone help me with flash player download problems?

    Can anyone help me, I am having issues downloading the new version of Flash Player, v 11.9.900.170.  I keep getting a window saying Action List not found.  I have the older version on my Windows 7 Home Preium pc, and need the update.  I keep trying but it wont download.  Please can anyone help me, am desperate.

    Bypass the downloader/installer.
    Download the Adobe Flash Player installer directly by clicking one of the following links.
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    Save the file(s).
    Close your browser (http://forums.adobe.com/message/5266110)
    THEN run the installer.

  • Can anyone help me with a little display problem in IE7 please?....

    I have just uploaded a new site which has been created using Dreamweaver CS4 for Windows.  There is no problem viewing the site in IE 8, or in Firefox.
    The site is basically a gallery of images.  For some of the main images I've used little magnifying glass 'plus' symbols, which are simply linked rollover png images that take you to a larger version of the image.  In IE7 (and I presume in older versions too) these little symbols aren't displaying in the correct position on each of these pages, they've jumped and are incorrectly displaying over the top, left corner of the main image.
    Here's the link:
    www.sjcillustration.com
    Firstly, why is this happening in IE7 and yet all's fine in IE8 or in Firefox, and secondly, can anyone tell me how to fix it please?
    (I was going to attach the corresponding CSS file but don't see an attach file button.......)
    Cheers!

    Hi Cristian, thanks for responding so speedily!
    On the homepage, click on the 'diagrammatic' thumbnail for example, then click on the 'volcano' thumbnail, when the volcano page appears, you should see the little magnifying glass plus rollover image under the main image to the right.   As I said, on these specific pages, in IE 7 the symbol jumps to the top left of the main image.
    For your info, I have seen this problem on my older XP pc, which runs IE 7.  All is fine on my newer Vista pc, which is using IE8 & Firefox.
    Maj

  • Can anyone help me with iPod/iTunes syncing problems after recent software update?

    Hi there,
    I wonder if anyone can help me.  Last week I updated my iPod to the latest software (8.2).  Today I deleted some albums from iTunes and added a few others.  I also made some changes to a few of my playlists.  I then synched iTunes and my iPod.  However the synching has not worked. 
    When I connect my iPod, it shows up in iTunes pretty instantly.  When I click on sync, I can see in iTunes that it is syncing and also on my iPod, but the changes do not appear on my iPod afterwards.  Also, after the first syncing attempt, I lost two-thirds of my album cover art.  So, I lost covert art, but no other changes were made.  The albums I deleted from iTunes are still on my iPod and the ones I added to iTunes are not on my iPod. 
    I have looked at the music on my iPod while connected to iTunes.   I can see the songs/albums I have added are there, but they appear in grey and have a doted circle (to the left) next to them.  This shows that they have not synched (I guess). 
    I have already restarted my McBook Pro and iPod a few times.  I synched my iPod with iTunes after every restart, but it has not made any difference.  I also deleted the music I added to iTunes and added it again.  I synched iTunes and my iPod after this, but it has made no difference. 
    I would appreciate any suggestions. 
    Many thanks
    Summary: 
    Updated iPod to iOS 8.2. 
    Made changes in iTunes i.e. delete and added music
    iTunes and iPod show they are synching, but changes to not appear on iPod. 
    Also lost cover art on iPod after synching. 
    Products:
    iPod Touch, latest generation
    iTunes 12.1.0.50
    MackBok Pro OS X Mavericks (10.9)

    Thank you for your reply.  I followed your suggestion and restored my iPod to its factory settings.  I then restored it from a backup file.  All the problems have been resolved.  Quite incredible that I had to go through that process to fix it.  I hope Apple will find a solution to the iTunes problem soon. 

  • Can Anyone Help Me With My Curve 9320 problem?

    I need help with my phone, I got the Curve 9320, its registered with the wireless network, I can call and sent txt but I can't load up BBM, nor can I set my email account to the phone, which is a hotmail account which I could really use my phone being connected to, can someone suggest anything to help me get my phone fully working?

    Hello lan 
    Thanks for this information ! 
    So to resolve your issue can you try those steps ! 
    First on your Homescreen Go to Options > Device > BlackBerry ID > please check if you're already login with your BlackBerry ID .Then within that screen Press the menu key > Check for Updates ( If it prompts for update install it ) . Once it done perform a battery pull restart by removing the battery while your device is Powered On wait for a min. then re-insert it back. your device may take a long reboot.
    Then try those steps in the same sequence :
    1- Register your Handheld .
    KB00510 : How to register a BlackBerry smartphone with the wireless network
    Wait till a Registration messages comes in your message box.
    2- Resend your Service Book
    KB02830 : Send the service books for the BlackBerry Internet Service
    ( Wait till a Registration Message comes in your message box for each email that you have configured on your device )
    3-  Then perform a battery pull restart like this while the device is powered On remove your battery wait for a min. then reinsert it back
    After perform those steps , For Email Setup   :
                         Go to Setup > Email Account > try it again , it error persists then from your BlackBerry browser browse to www.blackberry.com/integrate  and add / edit your email account .
    For BBM :
                          Open BBM and see if completes the setup Or you have to reinstall it again , but before that you have to delete any existing version of BBM from Options > Device > Application Management > locate and delete BlackBerry Messenger from that list . When its done perform another battery pull reboot 
    Finally from your BlackBerry browser browse to  www.blackberry.com/bbm and download the most recent version available for your device . Reboot your device and see if it completes the BBM setup.
    Please try those steps and let us know of your progress.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Can anyone help me with my audio sync problem?

    Hi,
    I posted about this previously--
    I have dvcpro50 footage that I loaded in with a panasonic deck (rented, don't have it anymore).. And in the browser, it shows that certain clips have audio sample rates at funky frequencies (46766.5hz).. As the video plays, the audio drifts more and more and more out of sync... This is indeed happening because FCP is playing these at 46766.5hz instead of 48khz.
    Is there anyway to force final cut pro to play these at 48khz, as they should be?
    Or does anyone have a solution to this highly stressful problem?
    I tried exporting the audio as quicktime and resampling it at a difference of 48-46.766 (49.234khz), and reimporting it in FCP... I was thinking that fcp would continue to play it 1.234hz slower, and thus bringing it back to 48khz, but this did not work.
    Thank you.

    ok... I solved it.......... Weirdness!!!! i swear i tried this before and it didn't work.
    I opened it up in my favorite waveform editor (dsp quattro), and set the sample rate to 48khz saved it out, and now it's fine.. yay.
    thank you.

  • Can anyone help me with this file transfer problem?

    THE SETUP
    I have a 150 GB external HDD connected via FireWire 400. My friend has a 120 GB external HDD connected via USB 2.0. They both have external power adapters. They are both formatted in MS-DOS Fat 32 and were connected to my MacBook.
    THE PROBLEM
    I tried to transfer some video files (.AVI) from my friends HDD to my HDD. It was about 30 GB's worth of files (made up of about 150 - 200 files (each about 100 MB's - 300 MB's in size). The copy window said it should take about 30 minutes. After about 5 minutes into the transfer, my MacBook just shut off. I restarted, tried again and it shut off again after the same amount of time.
    THE QUESTION
    What is the problem?
    P.S. - If any one needs me to elaborate about anything posted above then just post what you need and I'll be glad to provide more info. (I'm very upset, tired and embarrassed. Which means that I'm not thinking straight.) ~_~
    Thank You in advance for your input and help.

    UPDATE
    Now, every time I try to watch the videos from my external HDD, my computer shuts off after about 2 minutes. I watched one whole 22 minute video while my HDD was connected via FireWire. When I tried to watch another video, my computer shutdown after 2 minutes. After several attempts to watch the video, on a whim I decided to connect my HDD via the included USB 2.0 cable. As I suspected, the entire second video played without a single problem. When I went to watch the third video, guess what, my computer shutdown again after about 2 minutes of playback.
    I was using Front Row to watch the videos. I did get the third video to play in Quick Time, but when I tried to play the fourth video (in QT) my computer shut off after about 2 minutes of playback. All of the files are .AVI video files with a resolution of about 640 X 480.

  • Can anyone help me with reset sync history problem in iTunes?

    I'm trying to reset my iTune sync history.  I used to be able to do it isn iTunes Preferances, but that is no longer an option.  I understand that you have to go to Terminal now and type in the following:
    /System/Library/Frameworks/SyncServices.framework/Versions/A/Resources/resetsync .pl full
    I tried that, but I got an response stating that there is no such folder.  What do I do now? 
    How do I reset my sync history?
    I'm using a MacBook Pro with Mavericks as the operating system. 
    Many thanks

    Hi Cristian, thanks for responding so speedily!
    On the homepage, click on the 'diagrammatic' thumbnail for example, then click on the 'volcano' thumbnail, when the volcano page appears, you should see the little magnifying glass plus rollover image under the main image to the right.   As I said, on these specific pages, in IE 7 the symbol jumps to the top left of the main image.
    For your info, I have seen this problem on my older XP pc, which runs IE 7.  All is fine on my newer Vista pc, which is using IE8 & Firefox.
    Maj

  • Can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!

    can anyone help me with Magicjack? after I purchased US number I am unable to log in on my Iphone, I keep getting an error "YOUR DEVICE IS NOT ON THIS ACCOUNT" I contacted MJ support but they are very much useless and dont know how to fix it!

    There's a whole lot to read in your post, and frankly I have not read it all.
    Having said that, this troubleshooting guide should help:
    http://support.apple.com/kb/TS1538
    In particular, pay attention to the mobile device support sections near the bottom, assuming you have already done the items above it.

  • Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how

    Can anyone help me with a problem i am having with my music on my iPhone 4S. I have put alot of Compilation CDs in my library on iTunes. I download these tracks onto my phone, everything is ok so far. Now, this is what is niggling me and I don.t know how to resolve it. This is my problem: 
    Have downloaded for example: Queen – Bohemium Rhapsody from a compilation album as well as a few complete Queen Album CDs into the iTunes library and then put them into playlists,
    When I go onto my phone and select Queen on the MUSIC app using Songs tab at the bottom of the screen it will display all Queen songs and their resective Alum pics, that is all those not in a complilation album, .
    If I know the song title I can select the songs tab and find the song that way,
    I’ve tried fiddling with the settings in the iTunes app by going to ‘get info’ tab and trying to sort the problem out that way but am not having much luck.What I want the phone to do is show, for example all Queens songs including those in compilation albums. Can this be done, would be grateful for any ideas on how it can be done, that is if ic can be done, any ideas
    Thanks for your help

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • HT1369 hey, when I connect either my ipod or ipad to itunes I get the promt ' i tunes was unable to load data class information from sync services. Reconnect or try again later'. Can anyone help me with syncing my devices?? Thanks in advance

    Hey, when I connect either my ipod or ipad to itunes I get the prompt 'itunes was unable to load data class information from sync services. Reconnect or try again later. Can anyone help me with syncing my devices?? Thanks in advance

    I am having the same issue, anyone else ?

  • "It is formatted incorrectly, or is not a format that iBooks can open". Can anyone help me with this message of a book that I purchased on iBooks, read, highlighted in the book and now I can't open it anymore. Please help!!!

    "It is formatted incorrectly, or is not a format that iBooks can open". Can anyone help me with this message of a book that I purchased on iBooks, read, highlighted in the book and now I can't open it anymore. Please help!!!

    Mine does the same thing occasionally, is your phone jailbroken? Sometimes it will work if you delete the book and reinstall it or put your phone into airplane mode then turn it back off.

  • I can't find the 2G, 3G and LTE options after updating to iOS8.1, can anyone help me with this? I'm using iPhone5s

    I can't find the 2G, 3G and LTE options after updating to iOS8.1, can anyone help me with this? I'm using iPhone5s

    I have check on my service provider about the correct APN settings, but unfortunately doesnt work still..

  • I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    I need to reinstall my operating system for 10.5 after seeing a file folder and question mark flashing on my start up screen. Can anyone help me with this?

    Hello,
    That means it can find the Hard Drive, or can't find the things needed for booting.
    See if DU even sees it.
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu at top of the screen. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair Disk, (not Repair Permissions). Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • HT1365 Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    Hi can anyone help with this issue regarding my wireless magic mouse? When im on google chrome and scrolling down the page i always have youtube running in the background but the audio cuts/spits/pops can anyone help me with this?

    The figures you mention only make sense on your intranet.  Are you still using the same wireless router.  The verizon one is somewhat limited as far as max wireless-n performace.  For one thing it only has a 2.4 radio.   I like many people who wanted wireless-n performance before they even added a wireless-n gigabit router, have my own handling my wireless-n network.

Maybe you are looking for

  • How do I stop Itunes from automatically starting on my PC

    Whenever I start my PC, all of a sudden as I'm working away in dfferent programs, Itunes will pop up automatically. I do not want this to continue to happen. I only wish Itunes to open when I ask it to open. How do I disable this function.

  • My Iphoto has crashed for the last month or so!  Please help!

    Hi all, I am a real apple amateur and newcomer.  And I have nobody to speak to about this problem, so please help!  My IPhoto has been crashing for the last month.  Every time that I open it, I get the spinning circle, that spins continuously, and I

  • Create / Alter user doesn't allow special characters in password

    When i try to change the password from say : vos1s05 to : vos1s05! i get the error message (missing or invalid option), i have used several special characters and all give the same error, is there a way to circumvent this, or will this be enabled in

  • I-Mac shuts down after sitting for a while, why and how can it be fixed?

    i Mac shuts down when left for a time in sleep mode. Am I missing something or is this supposed to happen? It has never happened while anyone is using the computer but that may just be because it often sits over night without use. Am using a logitech

  • How to put controller to a Flashmovie (swf) in Director?

    I have imported a swf-file into Director. The flashmovie works perfectly. The only thing I need is a controller to the movie. I can´t find in anywhere. I can just find it to Quciktime and Realplayer. Can I find this in Director? Or do I have to do it