Attempt to order NI Instrument Simulator to affirm SRQ

Hello

I'm contacting the v2.0 of Simulator OR instrument on a non-Windows using the API of DDK OR-488 platform.

I was not able to get the Simulator to say SRQ with the sequence of commands, as indicated in the simulator of instruments OR manual (* ESE 01; * SRE 20; * OPC)

I am able to send the ' * IDN? "query to each primary address 3 and receive a message to identify each of the simulated devices.

I try to get the DMM to assert SRQ, but devices GPIB simulated will.

AF first I tried investigating different registry settings, but then I see the SRQ light on the Simulator on and turns off and the variable ibsta would show the SRQI bit being set and deleted later when I sent a query command. So finally, I commented on these queries out of my test code after an initial check that the registers have been established as ordered.

They gave me the Simulator instruments NOR without the software Assistant, so I think that the box is in its default mode. However, there is no dip-switches on it except for a switch to toggle the value NRML.

I am able to printf() the ibsta, iberr and return values of the result in the ibcmd(), ibwrt() and ibrd() calls that I do in my test code, so all suggestions about what else in the API OR - 488 DDK in the controls of the Simulator or the simulator of lights that could provide me with more information to debug this problem would be appreciated.

Thank you
Paul

Hello

After further experimentation, I determined what the problem was. I had previously removed the prefix "0 x" registry values when you set the ESE and SRE registers, otherwise I would get a "command error' in ESR." Although I still consider these values as hex Simulator instruments them interpreted as decimal. So now, when I send the * SRE 32' the simulator of the instrument is what I wait for him.

Which again raises the (minor) issue of why I had problems with the prefix "0 x". I tried ' FORMREG HEX' to see if that command, which causes the query to be returned in hexadecimal format, results also influenced the simulator of the analysis of the registry value in the command but still no joy. However, since I have a workaround, I'm moving.

Paul

Tags: NI Hardware

Similar Questions

  • Troubleshooting OR Instrument Simulator Version 1

    Normal 0

    Hello

    I recently bought a used Instrument Simulator (I.S.) and I can't get it to function.

    When I turn on the power, three LEDS light up: power, ready and listen.

    What control input in the VISA test Panel, I get the following error.

    VISA: (Hex 0xBFFF0015) timeout expired before the operation is complete.

    After getting this error, I check the serial port settings to ensure they are the same. Windows XP, MAX and I.S. are all configured to 9600 baud, hardware flow control, parity, 1 stop bit, 8-bit per character.

    After checking that, I unplugged the cable series of the I. S. then I jumper the terminals of cable series DB9 4 to 6, 2 to 3 and 7 to 8. This allows to perform a test of closure as shown here.

    http://zone.NI.com/DevZone/CDA/tut/p/ID/3450#2

    The result of the loopback test was good. I could send and receive in Hyperterminal, VISA and the base series writing and Read.vi

    With all doing just that, I wonder if I bought a bad Instrument Simulator. Is there something I'm missing or it's Junk?


  • NEITHER Instrument Simulator model No.: 183913C-01

    Hello, I just finished the LabVIEW Core1 online training, that came with the purchase of LabVIEW 2014. I am VERY new in the world of NEITHER. I bought a Simulator Instrument OR model No. 183913C-01 Rev: 1. I am trying to establish communication with this Simulator and not having much luck. I connect the Simulator to my laptop via RS232 to USB Keyspan peripheral, because my laptop is not a serial connection port. It shows to be on Com4. I think I put the dip-switches correctly. I switch 8 G Mode value and GPIB address the value 2 (switch 2 is activated, all the others are off). I searched online for a demonstration, but nothing have mounted. I found a few messages Simulator here but they were not the model I have. I don't know if I should use GPIB or serial connection for this thing. Any help would be greatly appreciated.


  • Old Instrument NOR Simulator

    Hi all. I have an OLD NI instrument Simulator. It is so old, that I'm not still able to use the NI instrument Simulator Wizard. I called for the support and the technician was more useful however, whenever I run the wizard, it opens and alarm that reads "there was an error in location of the simulator of the Instrument OR." Make sure that the equipment is connected to this computer and in Setup mode. I have the 38-page manual that goes to this device. Simulator model number is #183913C-01. I am able to use NI MAX and use VISA Open Test Panel and run commands from there. The challenge is, I have to enter each command, whenever I want to use. I was hoping someone here knows these older model simulators. I posted a question here when I first bought the unit but was not familiar with the operation of it. Any help would be greatly appreciated.


  • Question of query OR Simulator

    Hello. I have an Instrument Simulator NOR I've tested using the test panel VISA to the MAX to test. "I'm not sure of what is happening but when I ask a simple * IDN?, read 00062\r\n. Then, when I ask it again, it reads "National\sInstruments\sGPIB\sand\sSerial\sDevice\sSimulator\sRev\sB.1\n". When I ask it again, it rereads the '00062\r\n '. He flip-flops between the two with each request. It is to me that I need to question constantly twice, in order to obtain the desired data read? I don't know how to put this in a Vi. I tried a lot of different things, but it always the same fate. Even if I delete the registry and tried an individual entry and read, then it does the same thing. Is this normal and how do I do this in Vi?

    Thank you very much for your support.

    You need to refine your Google-fu skills. I was thinking something like this - http://www.amazon.com/TekPower-TP4000ZC-RS232-Interaced-Ranging-Multimeter/dp/B000OPDFLM/ref=cm_cr_p...

  • difference of simulation between multisim 10.1 and 14.0

    I've been using Multisim 10.1 for check and create examples for students and want to spend 14 Multisim. Simulating a small ac-circuit I got different using multisim 10.1 and 14 results.

    The result of multisim 10.1 is identical with the manual solution.

    No idea, what could be the problem?

    concerning

    blanne

    Hi Blanne:

    The default setting of simulation in Multisim is letting his engine to automatically determine the TMAX, the maximum allowed timestep. In version 13, we have modified this code in such a way that it will leave the slower to simulate faster real-time frequency circuits, we did this in order to accelerate simulations as requested by users. Most of the time, this change has worked as expected, but your circuit is a clear example of a negative effect of this change. Its accuracy is affected by larger time.

    In your evaluation of Multisim 14, you can quickly change that. Click on the Interactive analysis button in the toolbar to open the properties of the analysis and in the analysis of Simulation Interactive > look tab crawl settings for the checkbox control labeled step of maximum (TMAX), place a check and let it set to 1e-005. Make your simulation again and you will now see the 1.155 a result in the multimeter.

    (Version 14 has been automatically calculate the TMAX as 1.25e - 003)

    I'll file a defect report so we review how automatically determine us TMAX so he will not state as in this example. I hope my explanation helps you advance your evaluation of the software.

    Kind regards

  • Simulator of refuses to install

    The Blackberry Alpha 10 dev C Simulator 10.1 Beta 2 won't install on my Windows 7 64 bit. Message says to get the "correct" 32 or 64-bit

    ??

    I have installed previous version ok

    Additional:

    Made two attempts to install the last Simulator on a XP 32 bit system.  This a quick 'window back' and quit.

    The file is Blackbery10Simulator-Installer-BB10_1_X-807-Win-201303050726.exe

    Won't install on my W7 64 and my XP 32.

    This problem has been fixed.  It turns out that the latest version of Chrome was to spoil the downloaded file.  We downloaded a different version that will be compatible.

    You use Chrome, or another browser?

    Please, download and try reinstalling and let me know if you have any additional problems.

  • Communication problem series

    Hello

    I want to order an instrument via a Labview serial port, but I am unable to communicate properly with him.  It works perfectly when I use Hyper Terminal, but as soon as I use the ' basic series write and Read.vi ", I have a timeout problem.  'Write' does not give me an error, but the "read" never works.  Unfortunately, no or the controls seem to work.  That seems to be a communication problem.

    Here are the parameters of communication for this instrument:

    Baud rate: 115200

    Data bits: 8

    Stop bits: 1

    Parity: None

    Flow control: no

    Charaters termination: \r\n

    By MAX, the communication port is OK and I am able to open the test Panel.  Howerver, I'm not able to access information when I ask a query, or there is no action to simple commands.

    Thanks for your help

    StarFiber wrote:

    I used the example of LV2009: Advanced Serial write and Read.vi.  Just to make sure that I don't have a mistake in coding. I just did the current value as a default value, so you can see what I actually sent to the instrument.

    I guess that you do not actually send * IDN? given that it is not even a command that is supported by the instrument.

    The Canadian standard requires that you cancel orders in writing with BOTH a \r and \n. Using the 'end writing with stop character?' only the \n is sent as it is what is on the stop character. It is unclear how the device responds, or not at all, if she did not see the \r and \n. So disable this option, the "string to write" play to display in '-' codes mode (right click and select in the context menu) and enter the command, followed by \r\n. otherwise, you could leave this option on, but you must make sure that you add \r to your order in the text box "string to write.

  • How do I trigger on a status byte?

    Hello

    As a beginner c#, I work on grabbing a ripple out of

    My oscilloscope Agilent using c# .NET and Measurement Studio.

    So far, it works fine.  Now I want to move to the stage of a project

    In addition, then take the waveform only when the scope has been

    triggered.  (For now I'm will trigger the field manually,)

    then finally I will use an external trigger pulse.)

    Up to now I understood how to attract a status byte out of the

    scope, the CSJ, which becomes positive after the scope triggers.

    I would use this status byte to indicate to my c# program when

    Take the wave form and do calculations on it.

    If someone could give me an indication as to which would be the first step

    It would be great.

    Thank you!

    Penny,

    I modified the SimpleReadWrite sample that comes with Measurement Studio to give an example of how this could be done.  Review the code for MainForm see what I did.  The new method is called TrigButton_Click.  You will need to change it before it will work with your instrument.

    This example performs several tasks on the click of the control TrigButton

    1 reads the status byte using the ReadStatusByte method

    2. checks the status byte with a value of '0' and conditionally step 3.

    3 triggers a voltage read my the Instrument Simulator and the poster in the readTextBox TextBox control

    These steps can more easily use the imported instrument of ni.com/idnet driver.  I would like to you can always check using that.

  • "SESSION3_INITIALIZATION_FAILED" error

    Hi, I use windows xp in my laptop... I can't recover my pc from the recovery partition and nor do the system restore it shows

    "SESSION3_INITIALIZATION_FAILED" ERROR.  What should I DO?

    If you mean that you get a STOP error message that says something like:

    SESSION3_INITIALIZATION_FAILED

    STOP: 0X0000006F (0XC0000034, 00000000, 00000000 00000000)

    It isn't RAM, has nothing to do with chkdsk.

    There is no Manager start Windows, no tools, no option under XP Memory Diagnostics...

    So far, these sound like the Support Engineer suggestions guess just bad.

    Should actually see and learn to fix various SESSION messages.

    The usual culprit is an anti-virus software - perhaps Avast!, AVG or Avira, which has
    files deleted or quarantined needed XP such as file manager Session of Windows:

    c:\windows\system32\smss.exe

    You may be able to start safe mode, someone told and replace the file missing from there.

    I guess that the file might have been really infected and quarantined, but that has never been my experience.

    What antivirus software do you use and do you have it used before this incident?

    If the files have been quarantined or deleted, you can simply replace them with copies that are already on your HARD drive, but to do this, you must start your system in the Windows XP Recovery Console.

    Start the Recovery Console Windows using an XP bootable installation CD or create a
    CD bootable XP Recovery Console.

    This is not the same as recovery disks that may have come to a store to purchase the system.  If
    you don't know what kind of bootable CD, you, do a CD of bootable XP Recovery Console and do not forget.

    There are at least four possibilities (that I know of) for these missing files that give rise to the
    Session3 or SESSION5 message type:

    Windows\System32\smss.exe<-------- most="" likely,="" so="" replace="" this="" one="">
    Windows\System32\ntdll.dll
    Windows\System32\ntoskrnl.exe
    Windows\System32\drivers\ftdisk.sys
    Windows\System32\winlogon.exe

    After starting in the XP Recovery Console, you should be in the folder C:\WINDOWS.  If you are not in the C:\WINDOWS folder, you have another problem you fix first.

    When copying the files, you can replace the existing files with copies, in order to answer in the affirmative if invited to replace the existing files.  If the copy is successful, you should see a message that the file has been copied successfully.

    In the Console of recovery at the C:\WINDOWS prompt, enter the following commands:

    CD system32
    c:\windows\system32\dllcache\smss.exe copy
    Answer in the affirmative to all messages "Are you sure" If 1 file (s) copied
    output (your system will restart)

    Depending on your system configuration, you may need to copy the files somewhere else, so if they are not in the folder dllcache for any reason, enter the commands like this:

    CD system32
    c:\windows\ServicePackFiles\i386\smss.exe copy
    output (your system will restart)

  • Using new plugin error: error starting module. Of verification errors.

    I use eclipse Galileo and the latest version of the plugin.

    I created a project, and I was able to debug it about 50 or so times. After that, I can't run the project on the Simulator again. He complains saying this:

    Starting MiApp
    Module 'MiApp' has verification errors.Error starting MiApp: Module 'MiApp' has verification errors.
    

    These errors do not appear before, and I have not changed anything. Attempted to restart eclipse, own Simulator, recompile, but nothing works.

    MiApp is a UiApplication who uses a library module. The library is located in the debug settings.

    I have read the famous document on how to avoid mistakes review and none of the points worked. In fact, my application is not a MIDlet.

    I spent several hours (which I would have spent on development) without success, and I'm going back to the old plugin. This new one really sucks.

    I'm sorry it's late for that. He took 20 minutes to move the project to the old plugin environment, but invested much more although the two hours I spent playing with the new plugin and the search for the light in this forum and knowledge base.

    Now it works perfect, as expected.

    The old platform (eclipse 3.4 and plugin 1.0.0.67) is much more stable and easy to use.

  • How to prevent auto sorting (alphabetically) for TreeField

    Hi guys:

    I did a string in the array, which is in the order I want, but when I add to a TreeField (for example. ( myTree.addChildNode ((,)), it shows in alphabetical order on my Simulator screen, anyone know how to prevent this automatic sorting?

    The first node that you add to your tree is displayed in the last...

  • HP Pavillion DV-7? Nr can a recovery disc in the Blu - Ray drive and reinstall original settings?

    After my sister died, I found his nearly new laptop (HP Pavilion DV7? nr), but have not been able to use it, because of password and a biometric scanner. It sounds like a nice laptop, but worthless if I can't use it. Any Suggestions for one-it-myselfer (cheap)?
    A recovery disk can be inserted into the Blu - Ray player and re - install the original settings?
    There were not any software who carried on this laptop, so I don't know if she had, originally, and if it would work as does my drive recovery for my old HP Pavilion laptop using Vista.

    After my sister died, I found his nearly new laptop (HP Pavilion DV7? nr), but have not been able to use it, because of password and a biometric scanner. It sounds like a nice laptop, but worthless if I can't use it. Any Suggestions for one-it-myselfer (cheap)?
    A recovery disk can be inserted into the Blu - Ray player and re - install the original settings?
    There were not any software who carried on this laptop, so I don't know if she had, originally, and if it would work as does my drive recovery for my old HP Pavilion laptop using Vista.

    Contact HP and see what combination of keys at startup it probably gets to the factory defects.

    Maybe this:
    http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c00809678&LC=en&cc=us&DLC=en&product=18703

    Restore the PC to its original state with the HP Recovery Manager if Windows Vista is not accessible

    If the computer does not start in Windows, it may still be possible to use the HP recovery disk to restore the computer to its original state. The Recovery Manager can be started during the boot process by following the steps below.
    1. Press on the button / stop to start the computer and press f11 when the standard BIOS guests appear on the black screen.
      NOTE: by pressing the f11 key during startup on a computer with an image factory HP will start the system recovery process, even if the message is not displayed.

      • If the HP Recovery Manager can access the recovery on the hard drive partition, you receive a to back up user files before you start the recovery prompt. Follow the instructions.
      • If the HP Recovery Manager cannot access the hard disk to resolve system errors, you need to use the recovery disk custom that you created to recover the hard disk to its original state.
      • If you have not created the custom recovery disk, or disks are damaged, you can order a replacement of HP recovery CD.

    2. When the Recovery Manager starts, follow the instructions of recovery step by step , shown above.
    Solve a common problem of recovery.
    If the original operating system is changed to a non - Vista OS, the Recovery Manager cannot be launched either office or by pressing f11 at startup. You can use the recovery disk to restore the computer to the original state of Vista. If you are using a non - Vista OS, you can use a third-party partition management program to recover hard disk space.

    Or try to order a new recovery discs...

    http://h10025.www1.HP.com/ewfrf/wc/document?DocName=bph07143&LC=en&cc=us&DLC=en&product=18703#N76

    Maybe this article:
    http://www.ZDNet.com/blog/Bott/lost-your-Windows-discs-how-to-get-replacement-media-legally/4320

    HP has a simple recovery process, and its policy to provide filtering alternatives is well integrated in its support pages.

    I went through the process of replacing for a two-year-old HP Pavilion Elite m9600t. This system was built in the summer 2009, before Windows 7 shipped. As a result, my only option was to support Windows Vista 64-bit. For first class mail, HP shipping or taxes added up to $15.80. (I might have updated 2-day or night FedEx delivery for another $6 or $12, respectively.)

    From this page: HP and Compaq Desktop PC: looking for recovery discs?

    There step by step instructions to create a recovery disc for Windows 7, Windows Vista and Windows XP. Also, it offers the possibility to order replacement disks, but warns that these discs may only be available for a limited time:

    If you are unable to create a set of recovery discs, you may be able to order a set of replacement of HP HP discs. maintains an inventory of recovery disks of replacement several years after the product was released. However, due to licensing restrictions, HP is able to provide these recovery disc for a limited time. If the computer is several years after its warranty period, HP isn't maybe able to provide replacement for your computer disks.

    I tried with a model of 2008 HP (long out of warranty) and was able to locate filtering alternatives.

    The process of media control was a little confused. The key is to start with the appropriate model number, then click on software and driver downloads, as shown here:

    On the next page, you are prompted to select an operating system. The support link to recovery in the results list is available only if you select the version of Windows that your computer initially comes with. If you do not see a section "Recovery media", HP suggest "to ensure that you are on the right model number page and select another operating system." It worked for me.

    Interestingly, the last section on the page is titled "finding of the recovery disks from other Web sites. It contains a warning at the top in bold: try all other options in the paper support before attempting to order recovery disks at outside HP.

    If HP is further providing the recovery disc for your computer model and is no longer possible to create a recovery disk, you may be able to find a solution outside of HP.

    Popular online auction sites and providers of computer parts may have a part in stock original recovery disk. However, be cautious and aware of the risks when buying from a source outside of HP recovery disks. Beware of sites that offer recovery solutions when they are not affiliated with HP.

    Even if HP could not have a recovery disc available for purchase of value, search the part HP command Web site to find recovery kit part number that corresponds to your computer. Once you find the part number of the recovery disc, use the number in your search for best results.

    It's actually good advice. If you can find a part number, you may be able to find records of replacement from a legitimate outside vendor that specializes in parts for the models of the manufacturer of your PC.

  • Membership and the benefits of converting usuage

    I keep trying to convert PDFs into word documents.  I finally decided that I shouldn't have signed up for this service; However, I found that I had signed and yet over the past year have not been able to convert a file.  It's almost time for me to repeat something that I was not yet able to use for an entire year.  I guess I need instructions on how I am to make this transformation happen.  So I leave it charges for another year when I have not yet used the first year.  I accidentally stumbled on the support Web site.  I found support when you try to convert a file. only one entry and that was all.  Can you please advise me how I can actually turn on my previous subscription so that I might be able to use it for the rest of his life.  I'm not sure I want to renew for antoher year since I've not yet used the first year.

    Hi whodunit%40indy.rr.com,

    I'm sorry that you have had difficulties to access your service. I checked your account using the same email address you use to post in the forums, and it seems that there is an attempt to order a subscription today, but there was a problem of processing payments.

    I don't see any other subscriptions associated with this email address. Is it possible that you signed using an electronic different address/Adobe ID? Or, to register via the Reader mobile app? If so, Adobe would not have be made to this subscription, that she would be treated by the app store that sold you the subscription.

    So make sure to please that you sign in using the same mail electronic address/Adobe ID that you used when you purchased the subscription. Please see Adobe ID, log in and help on the accounts help to find this information.

    If you are still having difficulties to access to your subscription, please let us know (but please do not include your e-mail address if you reply to this message, because the forums are public, and we do not want you share publicly private information).

    Best,

    Sara

  • How can I keep the attributes product floating on the description of the product on the electronic commerce site?

    When MistyAcresAlpaca.com became operational, the site worked perfectly.  Last week, I saw changes to the pages of the site menus, the feet of page and the products that were not initiated by myself.  It seems to be a software, a JS or JQuery problem.

    To clarify, catalogues were changed in menu, float attributes produces more product descriptions and footer information has been rearranged.

    Customers attempting to order products using IE as a browser are unable to do so.  With Chrome or Firefox, customers are able to order products, but the attributes (size, color) still float on the product. Most of the use of sites IE as browser clients.

    Please give advice on how this can be resolved and stabilized Web site.

    Think you could be a lack of put end to your

Maybe you are looking for

  • In FF 29,0, how to move the address bar on the top of the tab bar?

    It's OK in Firefox 28 and less than the value of browser.tabs.onTop = false to move the address bar on the top of the tab bar. But at 29 of Firefox, I can't find the browser.tabs.onTopwho can tell me how to move the address bar to the top of the tab

  • Search engine does not work.

    The google search engine thingy next to the web address does not work. I can type stuff in there, but pushing enter or the magnifying glass does not get for research. For some reason, it seems to work perfectly on privacy, but not regular navigation.

  • Disable Norton Antivirus

    Pavilion model g6-2269wm with Windows 8. I want to use Windows Defender and when I try to turn it on, it delivers a message on compatibility. Norton Security asks me to buy it and informed me that the software is up to date. I just want to stop the a

  • Shuffle accessories

    Where can I get IPod Shuffle Earphones/Headphones & a charger for a ridiculous price.

  • a visualization with only certain colors, like the shades of indigo is it possible or available on a later version?

    I have the windows media player 11.  I would like to limit the colors on the visualizations OR have a visualization with only some colors.  Is it possible or available on a later version? or is it available with limitation of color visualizations as