Is there some sort of buffer for status bytes in some instruments?

I am trying to obtain the state of an HP8160A Pulse Gen. The status Byte consists of the following:
bit 7 not used
bit 6 SRQ bit
bit 5 Unallowed error bit
bit 4 not used
bit 3downto0 error code
I am not interested in the SRQ bit, just the bits related to the error info. Everything works perfectly for some sequences of data entry. Other times it seems that the status byte's information is lagging behind the actual state of the instrument (which is known from the error display on the front panel of the actual instrument).
My understanding of the status byte is that it is stored in a piece of memory that contains info which is updated as soon as that info changes. When a request for
that info is made, the state the instrument is in should be delivered. Is this not correct? Maybe there is some kind of buffer? Also, my limited experience suggests status bytes are a single byte (8 bits), but the VISA ReadSTB function returns 16 bits. Is this a difference between IEEE 488.1 and 488.2 or could this discrepancy be my potential problem?
If you would like to help but need more details, please ask and I will post them ASAP. I am dried up as far as new ideas goes.
Thank you for any insight,
Chris
PS. I have included the complete llb I am using if anyone is interested. An example of the problem I am having can be exhibited with the follwing sequence:
PERIOD
111
ns
us
This should set the period to 111 ns., giving an error, then clicking the us button next should be an acceptable value and the timing error should no longer be reported.
Attachments:
hp8160a.zip ‏508 KB

There are two things I can think of off the top of my head: First, your assumptions about how the instrument should work are correct, it's possible though that the microcontroller in the instrument can't keep up with you. I had an instrument once that would occasionally fail because my computer was so fast it would send the command and check for a status change before the instrumnt had time to read the command from it's internal buffer--and that was with LV V1 running on a MacII! Second, it could be that the error has to be explicitly cleared before you go on. I have seen instruments that latch errors. Hope this helps... Mike....
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • Is there as way to set the Status Byte, other than ibrsv?

    I am trying to emulate an instrument that sets the status byte to 64, but does not assert the SRQ line. Using ibrsv asserts SRQ, which seems to cause problems with my legacy test system. I am using LabWindows/CVI under Windows NT and a PXI-GPIB.

    Hi,
    According to the IEEE 488.2 standard, bit 6 of the status byte register (value 64 or 0x40 hex) indicates that the instrument is requesting service. Usually setting this bit will automatically assert the SRQ line. The NI-488.2 does not provide a function that just set this bit without the interface asserting the service request line.
    DiegoF.

  • I have a macbook pro retina, is it possible to use the screen for my xbox, I know the hdmi is an output not an input but didn't know if there was some sort of workaround for this?

    would really like to play xbox on my macbook pro retina screen, please help?!

    Outputs yes but not input. You might be able to find some kind of video input device but that would most likely have to run inside an app and would cost much more than a small monitor for your Xbox.

  • HT1550 i want to convert all my old music which is in Wap mp3 ect keeping these but putting a fully library of these tunes into itunes. at present is only send over 17 gb of 62gb do I need to get some sort of converter for the music.  Any help would be gr

    Can anyone help, I have lots of music on my computer for my old mp3 player, I want a copy of this music in my itunes file.
    When I go to do this is only converts a very small amount of the music into itunes - 17gb of 62gb.  Do i need a peice of software to convert all the files??
    Please help me I have tried everything, I cant delete all the songs in itunes again...
    Thank you so much

    Helen,
    If they are MP3s, you can simply add them to iTunes without conversion.
    If they are in a format that iTunes cannot handle, you need convert them first, with a converter.

  • "Reason for Status" in Service Ticket

    Hi Experts,
    In IC Webclinet (SAP CRM 2007) I am in the porcess of configuring a Transaction Type for Service Ticket. There is field called "REASON FOR STATUS" which needs to be filled in every time when the status of the Service Ticket is changed. I am not able to find this in the system. Can any one suggest how do I configure this field in the system.
    Regards,
    Ronit

    Hi Ronit
    Status reasons is nothing but a Subject Profile.
    Heres how to config Subject profile:
    1. Define Catalog:
    IMG > CRM > Basic Functions > Catalogs, Codes and Profiles > Define Catalogs
    2. Define Code Groups and Codes
    IMG > CRM > Basic Functions > Catalogs, Codes and Profiles > Define Code Groups and Codes for Catalogs
    3. Define Code Group Profiles
    IMG > CRM > Basic Functions > Catalogs, Codes and Profiles > Define Code Group Profiles
    4. Define Subject Profiles
    IMG > CRM > Basic Functions > Catalogs, Codes and Profiles > Define Subject Profiles
    Now you can assign the Subject profile to the status profile.
    I hope this helps
    Rupesh

  • Is there any sort of guide?

    Hi,
    Is there any sort of documentation for using Itunes for Windows? I realize there is a help file, but I'd like to be able to print something out.
    Thanks,
    Al

    urslow, you have posted in the Mac forum, you may want ot re-post in the Windows forum.

  • My iPhone 4s has the latest OS update and this morning for no reason all my contacts have disappeared.  Is there a fix or reason for this?

    My iPhone 4s has the latest OS update and this morning for no reason all my contacts have disappeared.  Is there a fix or reason for this?

    After some troubleshooting, I decided to order a new battery.  I replaced the battery and was then able to get it to restore, however--after I restore it and it comes time to restart the phone, it gets stuck and doesn't turn on.
    Sorry, your repair ruined the iPhone.
    She does not have apple care and even though she loved this device, she isn't going to buy another iPhone because of all the problems shes had with this one (it's just over a year old).
    After you ruined the iPhone with DIY, Apple won't touch it anymore. You should have asked before all these had happened.
    I'm an android user myself and I love rooting/flashing new ROMS, so if jailbreaking her phone or doing some kind of super-restore with 3rd party programs might help, I'm all for it-
    Yeah, all Android user can think of is Jailbreaking, read this: http://support.apple.com/kb/HT3743

  • Status-byte of HP4194: How to read out?

    Hi all,
    I would like to know when my instrument (HP4194) has finished the
    actual measurement sweep, so that Labview (v5.0.1) can use the whole
    aquired data set etc. I found in the instruments handbook some notes
    about the status-byte: By default, all bits of this byte are masked,
    therefore first I have to send the RQSx command, where x is a number
    between 0 and 255, indicating the non-masked bits. One of these bits
    (bit 1) is described as "sweep complete", so it would be fine to now its
    value. But how??? Further, I found that there has do be sent a serial
    poll, but when I tried to send it (with the pre-defined GPIB-Serial-Poll
    command), I always get errors. Has anyone experience in using the status
    byte and knows the co
    rrect commands to send to my instrument?
    Thanks a lot,
    Rafael

    Hi,
    The IEEE 488.2 standard specifies a status byte model that the bus controller can use to determine the state of the instrument.
    The only mechanism instruments have to notify the controller of any condition is using Service Requests (asserting the SRQ line of the GPIB bus). There's only one SRQ line on the GPIB bus. When the line is asserted, the controller has to ask the status of each instrument to determine which one issued the service request. The process is calles serial polling. When the controller conducts a serial poll, it reads the status byte of the instrument. According to the IEEE 488.2 standard, if bit 6 (0x40) is set, the instrument is requesting service. Each bit in the Status byte represents an instrument condition. Bits 4, 5 and 6 are d
    efined by the IEEE 488.2 standard. The rest are instrument specific.
    The IEEE 488.2 status byte model defines a method to configure the conditions that makes an instrument generate a service request. The Service Request Enable (SRE) Register masks the Status byte. When a bit is set in the SRE, that condition will generate a service request.
    For example, if you're instrument manual specifies that bit 2 of the Status byte is sweep complete condition, then you can send the instrument *SRE 0x01 to unmask bit 2.
    The following tutorial has detailed information:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/cf4fcc64d7ae6918062569df00630630?OpenDocument#4
    This is not specific to NI or you're instrument. It is part of the IEEE 488.2 standard. You can probably find more info on the web.
    DiegoF

  • I have a mac book pro i got about three months ago i know that it has been compromised with some sort of key loger and there for shur using remote desktop client! ill go in delete a bunch of files thy will repute them back in there and make it so i can re

    im very new to computers but very fast learner and very mechenacal but i cant spell my way out of a wet paper bag! lol i receved this macbook pro runing lion 10.7.5 *** a gift slash i paid for it means the most to me its my babie someone has took it apon themselfs to put a keyloger on it been moving files opening accounts in my name basikly identy theft the did not expect me to catch on this fast when i first got it i dident even now ho to use the  mouse pad but been real fortinat i have to the point i know the operating systems realy good but little things still learning iv overloded this thing twice now and brout it back pluse the last time i shute it down trying to get ride of owes so ever on hear i know it sounds crazy but have figuerd out what apps there useing and can revirbalize it back to some one kinda lol remind you im an idiot on computers lol the changing source cods useing key loger of some sort and remote deskstop conection, and a app to watch and record it on there iphone!last time i had coach reboot it i beged him for the start up disk he works for dell tride to tell him in the begining but dident know unuff to verbilize it to him pluse the terminoligies but i have been consuned buy it need some help to file in dark sposts on knolige and if rebooting my mackbook pro is the way to go got a lot of apps from coach dont want to lose im a poorbaserd thats whuy iv been avioding this at all cost plose i dont know if what i got for start up cd is right i was reading you need i desk please i need a bad *** coputer haker iv done all the simpel stuff some of the hard stuff gotten so close but olmst screwd up funkshons "systems preferences plans and framwork plains trying to get rid of this probelem no im not loosing it thats why i need some one who knows what there doing and is up for a challinge sorry about the spelling its bad i know but im only kinda dump lol pretty smart actully whent from be a compleat dump *** on computers to being abel to show some of my would be computer savey friends some tricks and how to do things, really still dump when it comes to windows but its kinda like appel,got lots of quistins like how afer all i done and coach even reboot ti for me (not useing cd but hard drives to reboot so id have apps that cost lot of money on it but cought him right in the middel of moving and i ended up getting lion 10.7.5 insed of having mountin lion 10.8.5  yes it was a big deference too miss mountin lion so much pretty bumed out that this person has done this to me kinda know who it is but cant prove it plese help ill do whatever....

    Hi
    Level 2 posters and Above can report various posts.
    When they do so they have various options that they can attribute as the issue.
    I have reported your post.
    I found the one block of text very difficult to read.
    9:36 PM      Monday; January 28, 2013
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • There is  Red Icon at the top bar and it says I have a virus and things keep popping up saying I have a virus and need to do a scan and pay for some sort of software to complete the scan, someone told me that this is a virus in. How do I get rid of it?

    There is  Red Icon at the top bar and it says I have a virus and things keep popping up saying I have a virus and need to do a scan and pay for some sort of software to complete the scan, someone told me that this is a virus in. How do I get rid of it?

    This could well be the notorious Mac Defender - which is an annoying program that tricks you into thinking that your Mac is infected with a virus, when the only infection is Mac Defender itself.
    When surfing the web never EVER click on a link that says "Free anti-virus scan" or "Scan now" - they are nearly always scams which will end up infecting your computer.  Although Macs are resistant to viruses, they're not resistant to user stupidity.
    If you Google "Mac defender" then you'll find plenty of sites with instructions on how to remove this minor nuisance.  Take this as a warning that you need to be more careful in your surfing habits.
    Bob

  • Is there a way to have some sort of stereo mix audio input for mac?

    Is there a way to have some sort of stereo mix audio input for mac? also so i can have a voice over?

    polyglotinc wrote:
    Actually, after scouring the web, I see that RogueAmoeba also has a free utility called LineIn which simply sends the audio in to the audio out and doesn't interfere with other programs like iTunes!
    On the other hand, after downloading and trying it, there is a noticeable latency between what goes in and what comes out.
    The latency is in the computer, not the software. Most of the latency is in the A/D and D/A conversion.
    You need to connect the analog input to the analog output directly to get zero latency.
    Check this page:
    http://forums.macrumors.com/showthread.php?t=368834

  • It takes 8 hours to download the new upgrade for my phone. Then after 8 hours downloading it says sorry there was an interuptions of some sorts. this is rediculous. ive tried 3 times, eating my cap  and still no results.. seriously what must i do?

    It takes 8 hours to download the new upgrade for my phone. Then after 8 hours downloading it says sorry there was an interuptions of some sorts. this is rediculous. ive tried 3 times, eating my cap  and still no results.. seriously what must i do? Been an anyone help....

    Hi there,  thanx for the quick reply.
    Ok the error code after 8 hours of downloading said  error code 9006. I’m not too good withcomputers and I’m really battling with this. And tell me is it really necessary to download update 4.3.3... If I’m having so much trouble it really makes me deponent to try and try again...I have the iphone 4 16 GB  4.3 (8F190) version. Model MC603SO. Itunes10.2.2.14...
    And why does it take 6 – 8 hours?
    Hope you can help
    Kind regrds

  • I just bought an iPod touch 4th generation 8GB for $199.99 but then when the iPod touch 5th generation came out, the 4th generation was still $199.99, but for a whole 16GB. Is there a way I can get some sort of free space?

    I just bought an iPod touch 4th generation 8GB for $199.99 but then when the iPod touch 5th generation came out, the 4th generation was still $199.99, but for a whole 16GB. Is there a way I can get some sort of free space?

    If "just" is less than 14 days, you can return your iPod to Apple for a full refund.

  • Is there some sort of make file defined for visual studio?

    I see the compilation starts always from VCPlugInHeaders.cpp.
    where does Visual studio compiler comes to know that which file to compile first?
    Is there some sort of makefile defined somewhere?

    I see the compilation starts always from VCPlugInHeaders.cpp.
    where does Visual studio compiler comes to know that which file to compile first?
    Is there some sort of makefile defined somewhere?

  • TS1369 Tried to restore my ipod classic on a windows computer... there was some sort of failure and it is now stuck in "disk mode."  The ipod is no longer being recognized by itunes.

    Tried to restore my ipod classic on a windows computer... there was some sort of failure and it is now stuck in "disk mode."  The ipod is no longer being recognized by itunes.

    I am having the exact same problem.  My ipod has been stuck in disk mode for over two hours and now itunes is frozen.

Maybe you are looking for

  • Incase doesn't fit

    I bought an incase for my Macbook Pro 15in and it doesn't look like it will fit. I'm worried if I try to force it on it will break. It says it's for a Macbook Pro 15in. Is it possible Apple changed the size slightly over the past few years? Mine is l

  • Nokia browser not working since i restore my X2 02...

    yesterday, i restore my X2 02 and now browser is not working. It shows 'unable to establish secure connection.plz check phone data and security settings'.please help me. Solved! Go to Solution.

  • While creating sales order stock should not go under reserved block,

    While creating sales order stock should not go under reserved block, What is the customization? Please help me.

  • Creating Dynamic hierarchical  Data Columns

    Hi All,           I have to create a plan layout like figure below :                             Oct...............Oct...............Oct...............Oct...............Nov...............Nov...............Nov...............Nov                        

  • Detecting unassigned variables in TestStand?

    Is there a method to detect unassigned/unused variables in TestStand as exists in the Visual Studio C# environment? If not, I would request that a method be made available eventually. They can accumulate and are difficult to clean up manually.