Using board level commands how would I connect(se​nd/receive messages) to an instrument​?

I Have included the commands I typed at the prompt below. I used the "GPIB Messges Tutorial Development Libary" web page to guide me, however I don't get the results I expect out of "*IDN?" when I type "ibrd 100" I get an buffer is empty(see below). Do you know what I am doing wrong?
gpib0 ibic
ESP-488 in C for GPIB-ENET Interactive Test Program.
find gpib0 board
IBSTA: 0
IBERR: 0
IBCNT: 0
BOARD-> sic
IBSTA: 0
IBERR: 0
IBCNT: 0
BOARD-> cmd "@?\x22"
IBSTA: 0
IBERR: 0
IBCNT: 0
BOARD-> wrt "*IDN?"
IBSTA: 130
IBERR: 1
IBCNT: 0
BOARD-> wrt "*IDN?"
IBSTA: 0
IBERR: 0
IBCNT: 0
BOARD-> cmd "?SPB"
IBSTA: 0
IBE
RR: 0
IBCNT: 0
BOARD-> rd 100
Buffer =
IBSTA: 8130
IBERR: 3
IBCNT: 0
BOARD->

>> cmd "@?\x22"
-- This command sends MTA0, UNL(isten), MLA2.
This is correct if you wish to set the device at primary address 0 as a talker (likely your host computer) and the device at primary address 2 as a listener (likely your device)
>> cmd "?SPB"
-- This command sends UNL, MTA19, MTA16, MTA2
This is not correct. From the code, it appears that you want to set the device to be a talker and the host computer to be a listener. In this case, you would send
cmd "?\x42\x20" (anything with \x4 is a talk address, anything with \x2 is a listen addrress, so we have said UNL(isten), MTA2, MLA0)
In addition, you should only need to send the wrt "*IDN?" once.

Similar Messages

  • Is it possible to install windows 7 on my macbook from a removable hard drive using boot camp? How would I do this?

    Is it possible to install windows 7 on my macbook from a removable hard drive using boot camp?
    How would I do this?

    If you have Lion installed, and run Boot Camp, it will create the boot flash for you, just followe the tutorial on screen. As far as I remember, this was not possible prior to Lion.

  • I recently Brooke the screen on my iPhone 5. I need to cases my data and would like to remotely set up iCloud on my broken 5 using my iPad. How would I go about this?

    I recently Brooke the screen on my iPhone 5. I need to cases my data and would like to remotely set up iCloud on my broken 5 using my iPad. How would I go about this?

    Took my phone to the Apple store this week and they told me it was a hardware/screen malfunction. They replaced the screen for free since it was under warranty. Now it works fine again!

  • I have set up my Yahoo! account to be used as default mail account on iMac. I am receiving messages, but cannot send them.  All settings appear to be right.  What can I do?

    I have set up my Yahoo! account to be used as default mail account on iMac. I am receiving messages, but cannot send them.  All settings appear to be right.  What can I do?

    The problems I am having are when I use Yahoo! with the iMac mail application.  Yahoo works fine on the browser. 
    The outgoing settings I am using are:
    Outgoing Mail Server (SMTP): yahoo.co.uk (Offline)
    Description: yahoo.co.uk
    Server name: smtp.mail.yahoo.com
    Use default ports (25, 465, 587)
    Use SSL
    Authentication: Password
    User Name:  ********@yahoo.co.uk
    Password: *************
    Of note:
    I cannot stop it from saying Offline after the outgoing mail server.
    I have used the same settings on my ipad and iphone and that works fine.
    Really grateful if you can help.
    Thanks

  • My iPod is disabled and says connect to iTunes we are on vacation and I do not have access to my computer it is synced with can I use another computer and how would I do that?

    How do you restore a disabled itouch if you do not have access to. Your home computer .

    You have to place the iPod in recovery mode and then restore via iTunes. For recovery mode:
    iPhone and iPod touch: Unable to update or restore
    Since the other computer will not have a your iPod backup, you will have to restore to factory defaults/new iPod.  You iPod will be empty of contacts, calender, apps, music and other item you added to the iPOd.

  • How would I connect my Macbook to a new Plasma tv?

    I have an Intel Macbook which has a mini-DVI output, and I can connect it via a mini-DVI to DVI cable into the plasma telly I already own. This gives me a 1024x640 resolution on my plasma.
    However, I have been looking to upgrade my plasma to a new HD one, and have been looking at the Pioneer pdp-4280xd. This has all the usual connections (3xhdmi, component, s-video etc) as well as a PC input, which is SXGA. According to one website, SXGA can throw out a resolution of 1280x1024. However this telly only has a pixel res of 1024x768. Regardless, according to the Apple website, it states my Macbook mini-DVI connection only supports DVI, VGA, S-Video, and Composite (blahh!!). So I am assuming then, that my Macbook won't be able to send a signal through the SXGA port, correct?
    If that is the case, how else is best for me to connect my Macbook to a new telly like this one? Can I connect via a HDMI port? I have read S-video is not as good as using a DVI input, but there doesn't seem to be much choice if there isn't a DVI or VGA input available. And if I do connect via S-video, in this telly's case, I am assuming I can only get a max res of 1024x768 (the tv has rectangular pixels to give it a widescreen aspect).
    Is it best for me to wait for a 42" plasma which has full HD resolution so I can have better res with my Macbook connected? And how is best for me to connect it with all these new tv ports?
    Thanks for any advise.

    Hi,
    Maybe the Apple TV would be the most elegant solution. However you have posted your question in the wrong forum so not likely to get any answers here.
    best of luck,
    Niall

  • Can I (and if so, how would I) connect two encoders (one linear and one angular) to the same chassis (NI 9401) and get their respective NI MAX tasks to run as simultaneously as possible?

    Sorry, but I am still rather new to LabVIEW and NI MAX. I connected both devices (a linear probe and an angular encoder) to my NI 9401 chassis. I figured out how to create tasks for each and get continous samples readings from each. When trying to run both in LabVIEW, I get the error saying that I cannot run multiple tasks at once. It suggests the Control Task VI, but I did not see any help in that. Any advice?
    Here is some general information, whatever it is worth: Both encoders are operating off of the same clock source, PFI4, which to my knowledge corresponds to CTR 1 A, where the angular encoder's A signal is wired in. The linear's physical channel is ctr0 and the angular's is ctr1.
    Thank you very much for taking the time to look at this and help me out!
    Solved!
    Go to Solution.

    So if I go the Edge Counter route, is there any way for the task to figure out direction of the encoders? It looks like my options are always counting up or always counting down whenever the encoder is read... For my application, I need it to read when the linear encoder goes in and when it goes out... Am I doing something incorrectly with it?
    I am using a probe to measure the contour of a part, and using a motor to spin the part, with one encoder measuring the angle of the motor and the other measuring the displacement of the probe.
    Also I am still not seeing a way to simultaneously read both devices in NI MAX... I cannot use two counter inputs from the same device at once in the same task it seems.

  • HT5219 How would I connect dual monitors and also a firewire cable?  Macbook Pro (Retina)

    Currently I am using two thunderbolt to DVI connectors for the dual monitors, but I am left without any firewire cable connection for my audio interface. THe only adaptor I found was another thunderbolt to firewire, but since I already used these two ports, I am left with no options. I haven't been able to find any usb to firewire cable connections.
    Are there any other adapators/ports I can use that I am not aware of?

    Something like this at US$300:
    http://store.apple.com/us/product/HB865ZM/A/belkin-thunderbolt-express-dock?fnod e=58
    Highlights
    One cable output provides instant access to eight ports
    Ability to daisy-chain up to five additional Thunderbolt devices
    Includes Cable-management channel
    One Gigabit Ethernet port
    One FireWire 800 port
    One Thunderbolt port
    One 3.5 mm headphone output Jack
    One 3.5 mm audio Input Jack
    Three USB 3.0 ports*
    [Click on this pictures to see it larger]

  • My phone doesn't have bluetooth capability, otherwise, how would you connect to an apple watch?

    My phone lost its bluetooth capability. Are there any other ways for an apple watch to connect to your phone?

    Since you do not indicate, what model iPhone do you have, and why does it not have Bluetooth? If the Bluetooth is simply not functioning, you would need to take it in to have it repaired. Bluetooth is required for the Apple Watch.

  • How would I connect to DB2 thru sqldeveloper version 3.1?

    Hello:
    has anyone successfully connected to DB2 thru sqldeveloper version 3.1?....I have downloaded the IBM DB2client: the db2jcc.jar and db2jcc_license_cu.jar files and am able to successfully connect to DB2 via an ODBC connection (thru the windows-control-panel)....however when I try to connect thru sqldeveloper, I get the following error:
    "Status : Failure -Test failed: The version of the IBM Universal JDBC driver in use is not licensed for connectivity to z/OS databases. To connect to this DB2 server, please obtain a licensed copy of the IBM DB2 Universal Driver for JDBC and SQLJ. An appropriate license file db2jcc_license_*.jar for this target platform must be installed to the application classpath. Connectivity to z/OS databases is enabled by any of the following license files: { db2jcc_license_cisuz.jar }"
    what is puzzling is that ODBC connection thru the contro-panel, admin tools-data sources(ODBC),file-dsn works fine and no licensing issue with the DB2client downloaded and installed (i.e. db2jcc.jar).....any solutions will be appreciated....

    From what you posted, I'm guessing you don't have the correct licence file (db2jcc_license_cu.jar v db2jcc_license_cisuz.jar ).
    I don't think DB2 on z/Os is fully supported by SQL Developer.

  • Hello, How would I connect to a Mac Snow Leopard

    from a Windows7 via Remote Desktop, please? I am a home user with my own ISP, while the Snow Leopard user is on a university network and presumably behind the university firewall.
    Thanks

    Have you turned on File Sharing in Sytem Prefs in all computers?
    http://support.apple.com/kb/ht2446
    There is AirDrop which comes with Lion. The Snow Leopard machines would need a hack but it can be made to work on any Mac with an Airport card.
    Also there is a 3rd party app called DropCopy in the App Store. It is free and I use it with no problems.

  • My iPad is "frozen" with a message saying I need to use Icloud backup. How can I get rid of the message and open other apps?

    My iPad is "frozen" with a message stating I need to backup to icloud. How do I "unfreeze" it?
    buddyclark1

    Hold Sleep and Home buttons for 10 seconds until the device restarts, so you will be able to use it again

  • How can one tell if a received message in iMessage is SMS? (and threfore cost $$)

    I have a per-message text plan (I'm not a big texter) on my iPhone 4S.
    If a non-iOS 5 device sends me an SMS (like an Android device, or pre-iOS 5 iPhone), I'm going to pay for that incoming SMS.  Does iMessage show me that? 
    I see from other discussions that iMessage conveniently colors (among other cues) the outgoing messages blue for iMessage (read: free), and green for SMS (pay). But incoming messages are all gray colored (as far as I can tell).
    I'd like to know if I'm paying to receive these messages, and I don't know how iMessage might be telling me that.
    Anybody know?

    Hmmm... maybe that does answer the question.  Is it always correct to say that if your outgoing message will be (or is) SMS (colored green, indicated as 'Text Message' in the input box) because of your texting partner's non iOS 5 device, then any incoming messages from that partner must also be SMS?
    Said differently, there are no cases where outgoing messages are blue (iMessage, free), while incoming messages could be via SMS. (?)
    And said one more time, iMessage doesn't have 'mixed mode' conversations... the traffic is always either iMessage both ways, or SMS both ways.  Is that right?

  • How would I put a document on 30 ipad devices using a PowerSync Cart?

    Using a PowerSync Cart how would you put a pdf, word or excel document on to 30 ipad's??
    Any advice from any one would be very helpful...
    Thank you in advance to all that may have a soultion.

    if you want to save you can press the power button and the home button at the same time and this is going to do a screen shot of your ipad screen.

  • OS level command to split the file

    Hi
    I am processing large file.. I am using OS level command to split the file file i have given the following command to split the file
    my file is /update/inbound/test/file.txt
    i have given the following command in OS level command option
    split -l 2000 /update/inbound/test/file.txt...
    but i didnt see any splited files under this directory
    How to write a command to split the file
    Regards
    Sowmya

    Hi,
    Have you tried with split /update/inbound/test/file.txt
    Split can take a second filename on the command line.
    Refer the exact syntax
    http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/split.htm
    Before applying it check , that if it works with your FTP, as this is Linux based command.
    Thanks
    Swarup

Maybe you are looking for

  • "Unable to load workflow actions from server. Please contact your server."

    I get the following error message when I want to create or open a workflow in SharePoint Designer 2007 "unable to load workflow actions from server. Please contact your server administrator." I don't receive this error as a site collection administra

  • Can we define a namespace in the B2B for the XML which generates for EDI

    Hi All, I have defined an EDI 856 document which is a inbound. When I give a input EDI message the translation happens and it generates an XML message. So, in the XML message that is generated it gives me a junk namespace. <Transaction-856 xmlns="NS_

  • PM Order Error

    Hi Expert, End user has got a PM03 type of order from sheduled. Now yesterday he done some changes and after that Today when he is opening that order in IW32 system is showing log "Order ******* is already being processed by His user ID. Message No.

  • What's best?

    I'm not sure if I should ask this question on forum but I'm sure someone will gently point it out if it's not allowed. I am about to buy Snow Leopard and will need an external HD or something to back up (clone) my system. With limited finance, what i

  • RSDRI_INFOPROV_READ

    Hello, we r trying to read data from infocufe using FM 'RSDRI_INFOPROV_READ'. Infocube Name : DPCC04DFD Structure : Country                   DPCNTY    CHAR 02 DPCNTY CPG/Retail Indicator DPCPG     CHAR 01 DPCPG Customer Group      DPCUSGP CHAR 20 DP