Connecting two gpib-boards

hi,
i have 2 gpib-boards on two different machines. i am trying to communicate
between the cards. unfortunately i have timing problems. the boards will
lock up after a very short time.
does anybody have programmed something like this in an ms c++ environment?
basically i just want to use the cards to send data fast between the two
pcs.
any ideas are highly appreciated.
h

Is there a way to do this in a clean way? e.g. that the status-bits are used
to detect the beginning and finalization of a transfer (by use of ibwait
prior to reading or writing). I found that the LACS and TASC bits are not
reset after completion of a transfer...
Mike Tranchemontagne wrote:
>This is a multi-part message in MIME format.>--------------CC52921529A8C94F0C665CB6>Content-Type:
text/plain; charset=us-ascii>Content-Transfer-Encoding: 7bit>>I did this
some years ago in QuickBASIC and later in Visual BASIC. It's not>hard and
NI even has an App Note that describes this...>>One GPIB is programmed in
the normal way.>>The other is NOT a system controller, and board level (vs.
device level) IBWRT>and IBRD calls are used. Just put the IBRD and IBWRT
in a loop, and use a>short timeout, like 100 milliseconds. Most of the time,
they will timeout,>just ignore it and keep looping. When you DONT get a
timeout, then you know>the GPIB controller (in the other machine) sent or
received something. I used>some global variable for send and receive buffers.
When IBRD eventually>didn't timeout, then I knew my RD$ buffer had a new
message from the>controller. When I wanted to send something, I used SND$
and when IBWRT>eventually didn't timeout, then I knew the controller had
received my message.>>Good luck!>>henning hummert wrote>> hi,>> i have
2 gpib-boards on two different machines. i am trying to communicate>> between
the cards. unfortunately i have timing problems. the boards will>> lock up
after a very short time.>> does anybody have programmed something like this
in an ms c++ environment?>> basically i just want to use the cards to send
data fast between the two>> pcs.>>>> any ideas are highly appreciated.>>>>
h>>-->Best Regards,>Mike T>>Mike Tranchemontagne>Consulting Applications
Engineer>TeraComm, Inc.>148 Main Street>Building A, 3rd Floor>North Andover,
MA 01845>877-900-TERA (8372)>978-557-9490 (FAX)>603-598-4773 (Direct Line
and Cell)>>>--------------CC52921529A8C94F0C665CB6>Content-Type: text/x-vcard;
charset=us-ascii;> name="miket.vcf">Content-Transfer-Encoding: 7bit>Content-Description:
Card for Mike Tranchemontagne>Content-Disposition: attachment;> filename="miket.vcf">>begin:vcard
>n:Tranchemontagne;Mike>tel;fax:978-557-9490>tel;work:877-900-TERA or 603
598-4773>x-mozilla-html:TRUE>url:http://www.teracomminc.com/>orgales;TeraComm,
Inc.>version:2.1>email;internet:[email protected]>title:AE>adr;quoted-printable:;;148
Main Street=0D=0ABuilding A, 3rd Floor;North Andover;MA;01845;>note;quoted-printable:877-900-TERA
is toll free to TeraComm sales office =0D=0A=0D=0A603
>598-4773 is home office and forwards to cell phone>fn:Mike T>end:vcard>>--------------CC52921529A8C94F0C665CB6-->

Similar Messages

  • I have found a person who has a driver software to connect Labview with PCI card. But he says that i need to download a freeware software to configure the PCI card. But you have mentioned that freeware is for GPIB boards. Is it correct ??

    I have found a person who has a driver software to connect Labview with a general PCI card. But he says that i need to download a freeware software from NI website to configure the PCI card. But you have mentioned that freeware is for GPIB boards. Is it correct ?? Is there any other way out ??

    I would ask the person who told you about the freeware software to help you find exactly where it is. I am not aware of any freeware software for configuring motion PCI cards but maybe the person you know might be able to help you locate it.

  • How do I synchronize data collection on two DT3001 boards?

    I am very new to Labview, and I am trying to find an easy way to synchronize my data collection on two DT3001 boards.  I have tried modifying the AI Continuous Scan example.  This works because I am using all 16 channels on each of my boards.  Unfortunately, I cannot find a way to make both boards collect data beginning at the same time.  Is there an easy way to synchronize both boards to collect data at the same time?  Thank you for your help!

    Hello Kacie,
    I'm not sure how your DT 3001 device and it's drivers LabVIEW functions work, but for synchronizing acquisition on two National Instruments DAQ cards, you need to share a start trigger and sample clock between the two cards by connecting the Real-Time System Integration (RTSI) buses of the cards using a RTSI cable.  This provides dedicated lines for sharing the same sample clock and start trigger, and provides highly accurate hardware-timed synchronization.  Any synchronized starting you program in software in LabVIEW will be software timed.  You can use the sequence structure within LabVIEW to group together different portions of code so that all the configuration is performed for both cards first, and then they are started at the same time.  I know this probably isn't too much help, but I would need to know more about how your DT 3001 device and the AI Continuous Scan example works.  You might be able to find better help on this at Data Translation's website.
    Travis G.
    Applications Engineering
    National Instruments
    www.ni.com/support

  • Can I connect two computers to one device?

    Can I connect two computers to one device? I am trying to have them control different aspects of the experiment that I'm running.

    That depends upon the device. If it's GPIB, you could
    use the E-NET card to convert it to LAN. That would
    allow control by many computers. The only problem with
    that might be sychronization. That is, Computer 1 does
    its setup. Then Computer 2 does a reset. Compuer 1's
    setup is now gone.
    As another poster suggested, you could always network
    between the two computers.
    [email protected]

  • Triggering and HP3458A connected through GPIB.

    I have two HP3458A connected through GPIB. As them to start simultaneously during one moment of time (for synchronous work)? Whether it is possible to make it with the help TRIGGER?

    Hi,
    There are two standard commands you can use with IEE 488.2 compliant devices. The GET (group execute trigger) multiline message, which is defined in IEEE 488.1. And the *TRG command defined in the IEEE 488.2, which specifies the same behavior as the GET command.
    In both cases you set both instruments as listeners and send the command. Both devices are triggered. There will be delay between the devices caused by the delay in the GPIB bus.
    Notice that the GET command is sent in controller mode (ATN line asserted). For this command you would send byte 0x08 using ibcmd. *TRG, on the other hand, is sent as data. You would send the string "*TRG" using ibwrt.
    DiegoF
    National Instruments.

  • Monitor IEEE1588 network two 6682 boards

    Hello,
    I have a distributed application synchronized by means of IEEE 1588 over a switched network. In order to monitor the health of the network, I use two PXI-6682 boards, one acting as a master clock and the second as slave connected through an Ethernet switch and monitor the time jitter between a 1PPS signal generated on both boards. This would ideally be a feature of my master clock node itself for which I would ideally fit the two 6682 boards in the same chassis, configure one as master clock, the other as slave clock and connect both to my Ethernet switch.
    The PXI controller gets confused if I insert the two boards on the same chassis. I have not found any information on how to manage this configuration or whether this is altogether possible.
    B.

    Hello,
    Thanks for your input. I appreciate your help. I needed to do something a bit different but it eventually solved the issue:
    On the XP Device Manager ,
    - Uninstall the two PXI-6682 devices under Data Acquisition Devices
    - Uninstall the two AMD devices under Network adapter
    - Scan for new Hardware 
    - Disable the two PXI-6682 devices under Data Acquisition Devices
    On MAX,
    - Delete the broken PXI-6682 under NI-DAQmx Devices
    On the XP Device Manager,
    - Enable the two PXI-6682 devices under Data Acquisition Devices
    On the good side, the issue is solved and the configuration survives the controller reboot. On the other side, I am very worried about having to apply such tricks to get this system working. 
    Cheers,
    B. 

  • Connecting two AR5000 receivers on same sound card and stream over net

    Hi guys,
    I am able to connect one AR 5000 receiver to a sound card , remote control it over the network, stream audio and play from it.
    Now I want to connect two receivers on a single sound card and do the rest as mentioned above
    Help!!

    Thanks Linc Davis. I thought I'd have to pay for the consultation at the Genius Bar, but you're quite right, it is free and you can decide not to go ahead if the quote they give is too much. Just thought I'd write what happened in case anyone else has the same problem. The cause was basically a small cable that needed to be repaired, which cost about 76 euros. I took it to an Apple Store in Paris and they fixed it within 24 hours, even though they estimated 3-5 days. He said another reason this problem might be occurring is because the Logic Board needs to be replaced which would have cost around 360 euros (probably not worth the money for a 3.5 year old laptop), but thankfully it was just the cable.

  • Is there a way to connect two analog mics recording in stereo to the iPad for recording?

    I currently use an M-Audio Mobile Pre to connect two microphones to my MacBook Pro via USB. If I wanted to use my iPad (or even iPhone) instead, is there a way to get the stereo input into the iPad? Would the Line 6 Sonic Port sold via Apple work? Would it take 2 separate inputs and deliver stereo to Garage Band or another recording app? Or is there another way?

    Exactly that -- the procedure is described in the online Help: InDesign Help | Text variables
    Now every time you insert the variable named "# of potatoes", you'll see the text "50" appear (with a minimal rectangular marker to indicate it's a variable), and when you want another number of potatoes, all you have to do is adjust the text in the Variables dialog.

  • Connect two external monitors to mini DP(using a mini DP to VGA adapter) and the VGA out at once

    I am trying to  connect two external monitors to mini DP(using a mini DP to VGA adapter) and the VGA out at once. Windows recognize both monitors as well. But it dowsn't let me use all three monitors at once(see the below image). In the dropdown, it lists all three monitors. Problem is there are two active displays I can select.

    Mavec wrote:
    I would like to add a third monitor.  
    The GPU(s) in your T400 (and most other laptop brands) will support two different displays concurrently.  If you want to support more than two different displays concurrently, you will need another GPU external to the T400.
    Generally, if you want to use two external displays on a T400 you will nee dto use a docking station.
    I have read messages on various fora on this topic and know that there are a number of ways of doing this, but as I have never had a need to do this myself I can't tell you how to go about it.
    Cheers,
    Bill
    I don't work for Lenovo

  • How do you connect two Apple ID's?

    How do you connect two Apple ID's to one another?

    Yes. You can sync multipl iDevices on the same computer using the same Apple ID. You can each have different configurations of apps, books, music, etc. or have identical configurations. In this way, however, your common data - contacts, mail, calendar will be the same on both iDevices.
    The Apple ID doesn't distinguish one phone from another, only how the phone will sync to a computer. The Apple ID is how iTunes knows to which computer a phone syncs. And, the Apple ID determines who is the registered owner of downloaded and purchased items via iTunes.

  • Can I connect two apple tv on same network and same apple ID at a time ?

    Can I connect two apple tv on same network and same apple ID at a time ?

    Welcome to the  Discussion Forums.
    Yes you can do all that without needing to keep plugging things in and out. You will still need to manually turn on the receiver and turn down the volume from the tv though.

  • Can I connect two monitors to a Mac Mini?

    Can I connect two Monitors to a mac mini

    Yes, but how depends on what model of Mini and what kind of monitors.  Early models only had one monitor port.  Later models had a Mini-DVI port and a Mini-Displayport.  Current models have a Mini-Displayport and a HDMI port.  The Mini-DVI and Mini-Displayport can attach VGA or DVI monitors, whereas the HDMI port can't use VGA monitors.
    Beyond that, you can get Matrox's DualHead2Go or a USB->VGA or USB->DVI adapter.  The Matrox product is a bit expensive and the USB adapters are a bit to slow for games and such.  So, again, the answer is "yes", but with limitations

  • How to connect two external monitors to a Mac Book Pro?

    How to connect two external monitors to a Mac Book Pro?

    Not as is, but  Matrox makes a peripheral that enables connecting more than one external monitor - matrox.com.

  • How do I connect two monitors to my macbook pro?

    How do I connect two monitors to my macbook pro?  This question applies to both DVI and VGA, as I might have to work with multiple sets of monitors.

    The MacBookPro only has enough horsepower in the video card for one external monitor.
    If you want two or more, you need a MacPro.
    Or a MacBook Pro and a Remote Desktop controlled MacMini.
    http://www.apple.com/remotedesktop/

  • How doi unistall itunes from an iphone? By accident we connected two phones to the same itunes account. So now whenever one downloads something, both phones receive the download.

    How do I uninstall an itunes account from an iphone? By accident we connected two phones to the same itunes account and now whenever we download both  phones receive the download.

    Settings > iTunes & App Store > Automatic Downloads > switch off what you don't want here

Maybe you are looking for

  • Unable to install Windows 7 on MacBook Pro with Retina

    Hi, After trying to install via Bootcamp, I get this problem: Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure that the disk's controller is enabled in the computer's BIOS menu. Any ideas

  • HT1918 Purchase Details?

    How do I find the details of purchases?  I keep clicking on "purchases" in the account area but it always says it is unavailable.  Any suggestions?

  • Ms word95 to pdf - "security level too high"?

    I'm a brand new user of Acrobat 9.0 (on XP system) - all kinds of problems (including major file crash and loss during 9.0  installation - more on that later). for now, I need to get started immediately on converting some MS Word doc files to pdfs -

  • Error on application called: College Football Logos

    I bought this app yesterday which was supposed to let me download up to 4 wallpaper of my desire from this app. However, when I checked, it said I had 0 credits to download instead of 4. Can someone tell me what's wrong with my itouch? Or did Apple j

  • Received an error message "unable to continue activation" on I-Pod Touch.  Can anyone help?

    I am receiving an error "unable to continue with activation" for my IPod Touch. Any suggestions?  We have an account with ITunes but it is for another IPod.  ITunes won't recognize this new one.