Communicat​ing with a GPIB connected instrument through network

HI Folks,
In our lab, we have different instruments connect to
different computers. And it is extreme inconvenient to switch computers in
order to use different instruments since not every instrument is connected to
the same computer. And I would like to design a labview program that can communicate
with any instrument via network so users can have control to all the
instruments on the same computer in the lab so they don’t have to switch computers every time they
want to use a different instrument. How do I do that?

You could use Remote NI-VISA. The machine to which the instruments are connected would be running the Remote NI-VISA Server. Check the NI-VISA documentation, as this is described in there.

Similar Messages

  • Windows has encountere​d a problem communicat​ing with a device connected to your computer

    Hello,
    I realize there are other threads with this error, but I've tried all the solutions suggested, and have a few additional notes that seem to be unique to my situation.
    I have a Toshiba Satellite L675 laptop and am running Windows 7 64bit.
    I restored to factory settings 3-4 months ago (was getting a blue error screen about twice a day).  It ran fine for a month or two, but then started freezing up if I left it idle for prolonged periods of time (10-30min).  It seemed okay as long as it was in use and it wasn't a blue error screen, it just froze on whatever was showing on-screen.  
    It recently started freezing completely (no ctrl-alt-delete or anything) within about 5 mins of turning it on even when in use.
    I tried to restore to factory settings again, but partway through I got the error mentioned in the subject title, and a
    Status: 0xc00000e9
    Info: An unexpected I/O error has occurred
    There are no removable devices connected, no discs in the DVD drive, etc. etc.  I'm very handy, but not necessarily a cpu whiz.  Is there any way to determine if this is a HD issue?  Ram?  I assume if I can narrow it down it's worth replacing a part, but I'm not sure that I want to pour money into a laptop that has little value if I'm guessing at solutions.
    Also, I upgraded to 8GB RAM about 2 years ago, but it ran fine until a few months ago so I'm not sure if that could be related or not.
    My wife has an identical laptop.  Would it harm anything to swap her HD (or RAM, or whatever you may suggest could be the problem) into my laptop to see if it works?
    Thanks.

    There are many models of L675. Do you both have the exact same model number? If so, there shouldn't be a problem doing that. It'd be a good way of seeing if the issue is the hard drive or not.
    - Peter

  • Can I use the instrument I/O assistant express vi to communicate with a USB connected instrument ?

    Can I use the instrument I/O assistant express vi to communicate with a USB connected instrument ? My PC is running Windows 2000 et Labview7 express.
    where can I get information or examples on the assistant and USB communication ?

    Yes you can - the Instrument I/O Assistant communicates with message-based instruments through VISA. VISA 3.0 supports USB instruments and VISA 3.0 is the version of VISA that installs with the Assistant.

  • Can't use voice/video functionality with external domain connected users through federation

    Hello All,
    Hope you keeping well..!!
    We are communicating with external customers lync server through federation option setup on our corporate lync server.  We have received the federation setting from the customer with SIP address which has been setup on our corporate lync servers after
    that we were able to browse the customer contact through corporate lync account.
    We were also able to chat with external customer but however voice/video functionality are not working through same session.  Whenever we try to dial out external customer lync account it ended with error message "call ended due to network issue".
    We have checked the setting from corporate lync servers and network point of view but doesn't find any issue which cause the disconnection to voice/video over lync.  Could you pl help or guide with the way to resolve the issue.
    Thanks, MK

    Thanks for your reply.<o:p></o:p>
    Audio/Video works fine within corporate when dial any lync contact.  We only have issue while trying to use the same functionality with any other
    external lync contact configured over federation option.<o:p></o:p>
    We already checked the security rules and all required ports are open, as confirmed by local resolver group.<o:p></o:p>
    We have checked with external parties and according to them their systems are hosted by Microsoft as part of office 365 suite and they already have
    federation option for 17 different customers which works fine.  Which means issue must be your local end.<o:p></o:p>
    Is there any tool available to identify the issue from client end?<o:p></o:p>
    Also I have a question here....In my corporate environment...client is sitting in India and lync servers are hosted in UK and users connect to it
    over MPLS route.  In Client lync configuration we have  internal/external servers configured .....so when i tried to make a voice call with external lync users then I see from netstat -a command that traffic hitting to multiple public IP addresses
    directly from my machine..<o:p></o:p>
    Does it mean that client required internet connectivity with specific open media ports to connect with external parties for video/voice? or in ideal
    case all request should handle by corporate internal server which should took UK internet path to connect with external lync contact?
    Thanks, MK

  • GPIB not communicat​ing with my magtrol instrument​s

    Hello,
    I've installed my PCI-GPIB on a system running windows xp, it was on a system running windows 98 and worked correctly. I am using the card to capture data from a Magtrol Dynomometer Controller. I've run the software and driver updates from NI website. Also, when I am in the MAX software and communicate with my instrument manually I can read correctly from the instrument. What is happening is that when I try to write and read from the magtrol controller the data stream is not ending(getting the cr-lf?). In the magtrol installation instructions it says:" GETTINGSTARTED
    1. From the Windows taskbar, click Start, then point to Settings and click Control Panel.
    2. Double-click System. This will bring up the System
    Properties dialog box.
    3. Click the Device Manager tab.
    4. Using the right mouse button, click (right-click) National Instruments GPIB Interfaces.
    5. Click Properties.
    6. Click the Device Templates tab. See Figure 2�4 System Properties & GPIB Interfaces
    Properties.
    7. Scroll down Device Name list until DEV9 is reached.
    8. Click DEV9.
    9. Set DEV attributes to the following:
    a. Under Termination Methods, select the Terminate Read on EOS check box.
    b. Change EOS Byte to �10�.
    c. Select the Readdress check box."
    The problem is when I right-click on National Instruments GPIB interfaces I get a dialog box with a tab that says "General" and an empty page. I think my devices are probably not setup correctly because I haven't followed the magtrol instructions (this worked on the windows 98 setup). I am not sure how to fix this, Any help would be appreciated.
    Thanks in advance,
    Jennifer

    Jennifer,
    Thanks for your question regarding configuring the GPIB termination settings. Depending upon which version of the NI 488.2 driver that you have installed, the method for changing these settings may be different. However, after installing the NI 488.2 driver you should be able to change the termination settings of your NI GPIB device in the Measurement and Automation Exploer. This utillity should be loacted in Programs>>National Instruments folder from the start button. After expanding the devices and interfaces folder in MAX you can right-click on the PCI-GPIB and a configuration window will appear where you can change the settings that you are refering to. A screenshot of this window is attached below.
    Shea C
    Applications Engineering
    Nationa
    l Instruments
    Attachments:
    GPIB_Config.bmp ‏426 KB

  • 5520 connected to network but not communicat​ing with devices

    I have a 5520 which worked fine for six months. Suddenly it's not working any more. I connect it wirelessly to our home network, it passes all the stages and prints off a test oage showing everything is fine. But when I try to print a page wirelessly from my Mac Mini the print manager just tells me that the printer is 'unconnected'.
    Other devices (eg smartphones) can't find the printer at all, whether they are connected to the home network or using 4G, and I have downloaded HP's app just in case that helped.
    I have tried returning the printer to factory settings but it doesn't make a difference.
    Yesterday I noticed that the printer was showing up as a wi-fi network in its own right so I was able to connect to it from theMac Mini (but not from other devices) and print that way, although that was not great because I had to disconnect from the internet to do it. Today it's not showing in the wi-fi network list any more. Any thoughts woiuld be hugely appreciated!

    Hi @cadleigh,
    Welcome to the HP Forums!
    I noticed that your HP Photosmart 5520, is not communicating on the wireless network to your other devices. I am happy to help you with this connection issue!
    For further assistance, I will need to know the following:
    The version of the Mac Operating System. To find the exact version, visit this link. Whatsmyos.
    If the printer is able to make copies. Copy Text or Mixed Documents.
    In the meantime, please take a look through this printer is offline guide. 'Printer is offline' Message Displays on the Computer and the Printer Does Not Print: Mac OS X.
    Hope this helps, and hope to hear from you soon!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Hp 1210 all-in-one not communicat​ing with word through my mac

    my hp 1210 works fine except when i attempt to print a recently modified word document I get an error message that says "word could not communicate with the printer"
    I aborted a print job yesterday and the "job hold" in the print queu has a red stop sign symbol...when i click on the jobs it say there are no pending jobs.
    I am at a loss for what to do. I tried rebooting and reconnecting the printer and the mac, no change.

    Hello JPV626,
    Welcome to the HP Support Forums!
    I understand that you are having issues printing with the PSC 1210 on your Mac, seems to be a queue issue on the Mac.
    What is the Operating System installed on the Mac?
    Try resetting the Print System on the Mac (Mac OS X: How to reset the printing system), Repair disk permissions, install any and all updates on the Mac and restart. Once restarted, add the printer back in System Preferences and try printing.
    I will look back for your reply.
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Communicat​ing with Keithley 2602A using python script

    Hi everyone,
    I want to enable communication between my PC and Keithley 2602A SourceMeter Instrument so that I can send commands to the SMI without using Test Script Builder (TSB) - a scripting/remote controlling program that enables communication between itself and the host computer.
    The reason why I want to do this is because I want to program in Python to carry out a series of tasks involving other hardwares and adjusting the voltage on the SMI at the same time. I can't use TSB to do this because TSB is solely for controlling the SMI and not other hardwares. I need to use Python scripts to consolidate all the hardware control. So far, communicating with other hardwares from my PC using Python scripts is not a problem because I have readily available libraries for them.
    I have found PyVisa which I thought could solve the communication problem. So I installed PyVisa and wrote the following code to test the communication.
    import visa
    keithley = visa.instrument("COM1")  #SMI connected to COM1
    keithley.write("smua.source.output = smua.OUTPUT_ON")  #send this command to SMI
     However, the communication was not successful as I got the error message as shown below:
    C:\Documents and Settings\cho\Desktop\Python Ex>keithley_test.py
    Traceback (most recent call last):
      File "C:\Documents and Settings\cho\Desktop\Python Ex\keithley_test.py", line 2, in <module>
        keithley = visa.instrument("COM1")
      File "C:\Python26\Lib\site-packages\pyvisa\visa.py", line 292, in instrument
        return SerialInstrument(resource_name, **keyw)
      File "C:\Python26\Lib\site-packages\pyvisa\visa.py", line 680, in __init__
        "delay", "send_end", "values_format")))
      File "C:\Python26\Lib\site-packages\pyvisa\visa.py", line 358, in __init__
        "lock")))
      File "C:\Python26\Lib\site-packages\pyvisa\visa.py", line 132, in __init__
        keyw.get("lock", VI_NO_LOCK))
      File "C:\Python26\Lib\site-packages\pyvisa\vpp43.py", line 753, in open
        byref(vi))
      File "C:\Python26\Lib\site-packages\pyvisa\vpp43.py", line 398,
    in check_status raise visa_exceptions.VisaIOError, status
    pyvisa.visa_exceptions.VisaIOError: VI_ERROR_RSRC_BUSY: The resource is valid, but VISA cannot currently access it.
    Can anyone tell me what went wrong? How can I control the Keithley 2602A using a Python script run from my PC?

    Hi DavItron, this is a very old thread but it's one of the top google results when I looked up info on how to implement some Python code with PyVISA to drive the Keithley 2602A so I will post this response so that other searchers can find the info.
    You can store data in named variables in the Keithely 2602A and then "print" them to the remote interface using something like the following:
    import visa
    ps = visa.Instrument("GPIB::Address of your instrument")
    ps.write("smua.source.levelv=10")
    ps.write("smua.source.output=smua.OUTPUT_ON")
    ps.write("currenta, voltagea = smua.measure.iv()")
    ps.write("smua.source.output=smua.OUTPUT_OFF")
    current = ps.ask("print(currenta)")
    voltage = ps.ask("print(voltagea)")
    For what I do which is mostly setting and measuring a bias point, then holding that while I trigger a measurement on another instrument, this is fine for me.  If you want to do  sweeps with a lot of data points it's probably more efficient to use the buffers directly, but I haven't needed that yet.
    Hope that helps somebody!

  • Communicat​ing with modem-plea​se give some suggestion​s

    Hi Every one....
    We r having a real time system now and we r looking for a better idea for the same.
    The real time system is developed using VB and now thinking of changing to labview.
    The current system is ......Data from RTU is sent to serial device(modem) and VB application checks the modem
    every 10 second and any new data found it inserts into relevant tables in the database and after insertion to the
    database the data is fetched from the database for real time display.So in the real time dipay is getting delayed.
    ie, a record that is newly obtained is displayed in the real time display after several minutes only. 
    Think the display is delayed because of the fact that its getting displayed after inserting the data into the database
    and then reading the data from the database.
    What is the better idea to reduce the delay in display?I thought if v check the modem every 10 second and if new data got,fetch the data ,decode it ,display the information and then insert into the database,the system will be better.But if a single check of modem can give any number of messages which contain data.If v get 10 messages v have to decode 10 messages display 10 records and then insert 10 records into the database.Is there any better way for this?
    I havent worked with serial communication applications.I havent thought abt the coding side now.Just thinking of theoverall idea only.
    Thanks in advance for the suggestions.

    Hi,
    Thank you so much for your reply sir.
    Actually my question is related to modem communication .But sorry, in the first post i asked to know
    whether my idea is correct or not.
    In Our real time system,RTU send message to modem at any time.
    So as in the previous post ,after decoding the data  v can display the data ad then can insert into proper table.
    And nw i have to also add a module to store the data in a txt file also, sfter fetching the data frm the modem.
    ie,as suggested by u i want to check the modem when data arrives at the modem(instead of checking 10second or something)
    and i want just to append it to a string until i get one complete message.ie,i have to check for the end delimiter(which is carriage return in our system)and when i get the end delimiter from the modem,i have to write the entire string into the text file.As RTU send the data to modem it may be sending a part of a message or more than one message ....
    I want my entire code to be executed only when data arrives at the modem.ie,rather than putting all the code in a while loop i want some other method the code will be executed only when there is data in the serial port.Just like event structure in which certain code is executed only when an event happens(for example code inside a time out event will be executed only when the time out occurs.it is free from loop also).Is it possible to code like that?
    I just coded using bytes at serial port and putting the code inside a loop.Now my PC is not connected to modem.so i havent checked my idea is working or not.
    I want to code using VISA events.I tried to code.But i think  it is not correct..The out put of VISA wait for event's status i am not sure.
    I thought if the status is true it indicates the event occured.Can u help me regarding this?
    I am herewith attaching my idea.I have put both methods in the same VI.Sorry for the inconvenience because of the bugs in the code.
    Thanks once again....
    Attachments:
    modemread.vi ‏41 KB

  • 6025E DAQ card is not communicat​ing with driver I have written

    I recently wrote a driver that used the 6025E DAQ card. I then packaged up this product, and am in the process of creating a second identical product. The problem is that the software I wrote does not work with the new hardware card. Nothing has changed, except for the new card. Basically, the first product works great, the second one does not... They both seem to be using the same version of NI-DAQ (6.9.1), and I can't think of anything else that would cause these problems...
    Could it be the computer speed? The actual system is a 866 MHz, but the test system (until the new computer arrives) is only 250 MHz...
    In addition, the NI-DAQ test software works fine, i.e. I can send Digital inputs and th
    e NI-DAQ test software will process the signals, but my software will not.

    First, I want to make sure I understand your terminology. You have written a driver for your 6025E? We consider NI-DAQ(6.9.1) the driver for the DAQ boards. If you are making NI-DAQ function calls, then I'd say you are using the driver. (You're not making register-level programming calls are you?)
    It's hard to say what the problem is right away, but I guess I do have some suggestions. In case you were wondering, computer speed usually isn't a problem when using standard DIO.
    What does your program do? Find a similar example program in your ...\NI-DAQ\Examples folder and see if it works.
    What is the other board you are trying to use? Is it also a 6025E?
    Also, you said the program is not working, but what is the result? Are you getting any kind of e
    rror message?
    Russell
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Communicat​ing with PC Based CArd on Register Level

    I have an unsupported, simple, ISA Bus based PC card. I wish to communicate to this device within Labview, on a register basis (analogous to DOS inport(), outport() statements) without developing a driver. Does anyone have an idea of how this might be done? Thanks

    And the NI site has a library called accesshw.llb which can be used to do
    the same things under NT-type os's (don't know about labVIEW under Win XP
    though).
    all the best
    Andy
    "Scott Seidman" wrote in message
    news:[email protected]​.4...
    > Larry the K wrote in news:506500000008000000E1350000-
    > [email protected]:
    >
    > > I have an unsupported, simple, ISA Bus based PC card. I wish to
    > > communicate to this device within Labview, on a register basis
    > > (analogous to DOS inport(), outport() statements) without developing a
    > > driver. Does anyone have an idea of how this might be done? Thanks
    >
    > There are InPort and OutPort commands in the Advanced section of the
    > fun
    ctions palette. They will work with win95/98, but no other OS
    >
    > Scott

  • Temperatur​e controller gives wrong powerup configurat​ion after communicat​ing with RS-232

    Hello,
    I was working with a Lakeshore 330 Programmable temperature controller using the LabVIEW drivers downloaded from NI driver site. My aim was to implement a continous RS232 data acquisition. I initially thought of using the similar code to the one used in another transducer (a pressure transducer which acquires data from RS232 continously). Unfortunately, I kept this vi in the same vi as the I am developing. While executing the vi, I got error from the pressure transducer, possible because both transducers are trying to communicate using same serial port. After that, my Lakeshore 330 temperature controller always power up in wrong configuration. I cannot switch input channels. Also, in the temperature it measures, the two digits after the decimal is missing. For instance, instead of 21.43 it is just showing 21.
    Anyone know what went wrong here? I restarted the Lakeshore several times, still no change. Is it possible the wrong write command to the lakeshore somehow messed the setting? Is it possible to get back to the original factory setting. I am getting desperate.
    I deeply appreciate any help and suggestions.
    Thank you in advance
    Zch
    Solved!
    Go to Solution.

    It really doesn't sound like a LabVIEW problem but a user error.
    All I can suggest is that you read the manual for the Lakeshore controller.  They are either going to have some steps that you can use to reconfigure it using front panel controls, or perhaps their own software to help configure it.  Also look at whatever protocol they are using for serial communication.  Comparing that to whatever you were trying to do with the pressure device might tell you how you might have accidentally changed the Lakeshore controllers configuration when you got their code and serial ports all mixed up.

  • Computer is not communicat​ing with the printer

    We recently bought our first wireless printer about 2 months ago, HP Envy 7640 e all in one printer.  It was connected and working fine. We have since moved and the computer is recognizing the printer, but it is not communicating.  I have tried everything.  Any suggestions??

    Hey @JessandMarie, 
    Welcome to the HP Support Forum.  
    I understand you're encountering a connectivity issue with your HP ENVY 7640 e-All-in-One Printer.  I would like to assist you with this.  
    Since you have moved, it is more than likely that you're now connected to a different wireless network.  Or at the very least, if you're using the same hardware, your IP address will be different from whatever it was when you first installed your printer on your computer.  To put it another way, the printer software on your computer is looking to connect with your printer at an IP address that is most likely not active, hence the communication issue.  
    What operating system are you working with?  I have common steps for both Windows and Mac users that may help. However, if my recommended troubleshooting flow falls short of a resolution, please respond to this post with your operating system version.  
    Firstly, from your printer's front panel, touch the icon.  If it's indicating wireless connectivity and is displaying an IP address you are connected.  If you're not connected, run the Wireless Setup Wizard, select your network name (SSID) and input your wireless password.  If you do not know your network name and password, click here for instructions on how to locate it using both Windows and Mac setups.  
    Once you have established wireless connectivity, uninstall your printer driver (if you're not sure how click here), and then click here to reinstall (you will need to select the version that's corresponding to your operating system).  
    Let me know how this works out for you.  If you need any further assistance I'm always happy to help.  
    Have a great weekend!  
    E-roq
    I work on behalf of HP.
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Computer isn't communicat​ing with my HP Wireless Printer and Wireless light is flashing

    My computer isn't communicating with my HPDeskjet3054A.  I turned it off and now the wireless light is flashing. HELP

    What operating system?  What router?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Several emails per day - from blackberry communicat​ing with server?? Need to remove emails.

    Afternoon, 
    Each day my outlook email recieves about 6 - 9 emails; of the below information, with an attached 'DAT File' that needs to be opened by selecting a program.
    Information in the main body of the email
    'this message is used to carry data between Blackberry handheld and an associated server. Please do not delete, move or respond to this message - it will be processed by the server.'
    These emails are becoming annoying as I have lots of important work emails to deal with.
    Does anyone know how to stop these emails without effecting how the blackberry works with the pc?
    Assistance would be appreciated.
    Thanks

    Reason : You have installed Desktop Manager using the 'Desktop Redirector' option.
    Step 1: If you're not using Redirector, you should uninstall Desktop Manager and then reinstall it using the BlackBerry Internet Service option.
    Step 2: On your device, go to: Options > Advanced > Service Book, and delete all service books for [Desktop]
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for

  • Unable to connect to Oracle database running on Windows machine from linux.

    Hi, I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?

  • Printing to a Windows PC

    I'm using MAC OS X 10.4.7, Macbook. I'm trying to connect to my windows PC that is connected to a printer, wirelessly. I've enabled sharing on the windows PC side. Problem is when i'm trying to add printer as an IPP (Internet protocol printing), it d

  • Stuttering or jittery playback on DVD, not in FCP

    Hi, I wasn't sure exactly where to post this since I don't know if it's a DVD Studio Pro problem, a Compressor problem, or a FCP problem. In a nutshell, the problem is this: our short film looks like it plays fine in our (color-calibrated) progressiv

  • Button not working since it's been placed inside another MC

    Hi, I have a button directly on the main timeline with the instancename kings_cross. I then have some methods in the main timeline, which work as they are supposed to when the button is pressed. However, I have now placed the button inside a MC which

  • Trouble with java security manager

    I have set up a security manager for my webapp running on Tomcat. The application enables the user to write his own scripts using Javascript, that's why I need to set up a security manager. Using Rhino as script interpreter, it is possible to use the