Keithley 6517 helped serial interface

Hello

I use an instrument, the electrometer Keithley 6517 A, to control using Labview and am very new to this software (1 week). All I have is a RS232 cable. I downloaded the driver, but it is for cable IEEE 488.2 (GPIB), which does not work with RS232. I did some research and discovered that you can use the SCIP language to control the instrument using RS232.

Can someone please help me to write a simple program that uses the RS232 cable to control the instrument?

The program I want to implement is essentially to measure the change in voltage between the two wires, while incrementing the voltage source integrated instrument by all about 0, 1V.

For ex, the source voltage will increase by 0.1V, wait for about 3 seconds to stabilize the blood reading, read and record the voltage in a file, repeat after increment of 0.1.

Information that may help

Instruments: Keithley 6517 has

Cable interface: RS-232

Software: Labview 8.5

News of the computer: Vista X 64 bit

Any help would be appreciated.

Thank you very much


Tags: NI Hardware

Similar Questions

  • Communication with the niVisa (GPIB) do not work next to a serial interface

    Hello

    I programmed an application in C++ (Visual C++ with MFC, running on XP). On the one hand, I control devices of different measure (also from different suppliers). All communication is done with niVisa (Version 4.6). On the other side, I send remote commands to a generator via the serial interface. To do this, I use CSerialPort, it's a Wrapper MFC of the Windows API. Thus, niVisa is not used for the serial connection.

    It works without any problem until I connect the measurement equipment (any type of) via Ethernet.

    When I now connect the scope via GPIB (I use a NI PCI-GPIB), communication works without any problem as long as I wouldn't send anything on RS232. After I send something to my generator (and close the com-port), the next Commander of VISA will give me an error (VI_ERROR_ABORT). Now, I can log in again and everything works normally again (until I have again send something on the com-port).

    For me, it's a really strange question. Any ideas? Any help?

    Best regards

    Michael

    OK, I finally found the problem.

    When you use the serial port, you can write data with normal writing (WriteFile()) function or with the tip (WriteFileEx()). Do not now ask me for more details on the difference, it's something with the mode "" overlap...

    After I send all the data with WriteFileEx, VISA-connection via GPIB produces an error. So I went to the basis of WriteFile() and everything works. Don't ask my consistency betwenn VISA (with GPIB and just GBIB) and the connection series. I'm just happy right now...

    Michael

  • Satellite L870: Problem with USB to serial interface with FTDI chipset

    Hi all

    bought a L870 year last to run software amateur radio via USB to the serial interface.
    Interface uses the FTDI chipset.

    The problem I have is that the switch on the led on the interface flashes green to red several times to indicate that it works, but then must remain on green but task on every minute she goes through the same process again.

    All the controls on the drivers and the Manager of devices indicates that everything is ok. No problem with interface on computers laptops happens or advent.

    Is there anything on the Toshiba laurys usb ports every minute.

    Thanking you in advance for any ideas

    First of all, I must say that there are different models of L870 Satellite on the market supporting different hardware and software. Some are preinstalled with 8 and some Win with Win 7.

    In addition the L870 supports USB 2.0 and USB 3.0 standard.
    If you recommend to check the different USB ports and check if your software works correctly with the USB 3.0 standard.

  • Error 74 to unflatten string in a device helping custom interface hardware Inline

    Hello

    I am creating a custom device Interface material Inline to communicate on a bus series to Veristand. I want only to communicate via RS232 veristand channel values, I use flatten/unflatten to chain to transfer my data. I choose what it because VISA Write/Read uses strings, and he would always use the same size of string (channels Veristand = 64-bit double-online 8 character string).

    But when it comes to try it with veristand, I have error 74: corrupt memory or data structure. I noticed this error came from the "string unflatten".

    So I plugged in a "clear error" vi just after "unflatten to channel" works, for my custom device runs but gives me wrong results. Then I used the tool NI OF Trace to see what I was writing to the RS232 bus. You can find the result of this. When we take a glance on the viWriteasync functions, we can see that the data written on the bus will already '?... " W.... M' which translates as 0,000232195, although the value that I have passed to the bus was greater than 1.

    I plugged the constant 'false' by 'add array or string of size' 'flatten in string' and 'unflattend to the string' functions.

    Does anyone have an idea what's wrong?

    Kind regards

    Maxim

    Is your session series Visa implemented to put an end to strings with the null character? It's been a while since I worked with serial number, but I remember this could be the case. So then you'd have trouble sending binary data flattened since it would have a lot of characters in it null. Another solution would be to format doubles as text with a specified number of digits of precision, although this will be less accurate and can take more bytes to transfer.

  • serial interface T1 routers back-to-back 1841

    Hello everyone, I'm trying to set up my CCNA lab environment and I everything works fine, including crossover between my three 1841 routers connections (all interfaces are on the rise, and line protocols are all)

    With regard to connections, through cards to Interface WAN WIC-1DSU-T1-V2 series, I'm not able to ping any of these specific interfaces of the router IP addresses, they are on, I am able to ping from one node on the network 1 (ROUTER1) across Network2 (ROUTER2).

    Did I miss something like OSPF or another protocol to get this last step to work?

    Any help would be appreciated!

    Kind regards

    Jon

    Jon

    Good luck in your studies for CCNA. You should not have a protocol such as OSPF for a router to ping a neighbor connected. If you want to ping something that is not directly connected, you may need a routing protocol (or static routes). If all interfaces show that upward and with the Protocol appear as that would seem like things should work and ping should work. But if it does not, then, he need a little more information from you to determine what the problem is. First post you the output of show ip interface brief each of the routers. It would also help if you would be after the release of the cdp neighbor see command and see the cdp interface.

    HTH

    Rick

  • Old version of Adobe Creative Suite premium 2.3 Win, unacknowledged help serial number?

    I have Adobe Creative suite 2 Premium for Windows. I have already registered the product in 2007. My laptop crashed and lost everything. I have since then got a new laptop and needed to download on the new, but when I try to install the program, it does not recognize the serial number. What can I do other than buying new software? I had registered with an email address different and that has been hacked and I can no longer access. How can I update my information as well?

    Hello

    Please see error: "serial number is not valid for this product". Adobe Creative Suite and serial number incorrect error

    Hope that helps!

    Kind regards

    Sheena

  • Help send interface multiline commands

    Hello

    I have an instrument which is controlled by its own software on a PC to which it is connected with GPIB and RS232. I want to write a labview program that emulates what made the software. I ran the GPIB analyzer during the initialization of the machine and it captured:

    I want to send these 6 commands in LabView, so I kinda vi which initializes the machine. I looked at this thread and tried to follow the advice given here. I need send the string @? followed #yI of a line break. I'm very new to LabView, so I downloaded the example GPIB read/write and tried to make the suggested changes. Here's a screenshot of my attempt:

    I'm sure that has a lot of mistakes, can someone point out them to me? When I run it a) does nothing or b) get an error indicating that "the interface associated with this session is not supported.

    Also, how can I send the character "line feed"? The manual for the instrument (enclosed cheque, page 63) said of the statements must be followed by a PRINT statement, which is the line break function the power Analyzer GPIB ("a" in the sixth line).

    Thank you!!!

    After testing the communication with the utility, you can use the lower level GPIB functions in LabVIEW instead of VISA. For such an old instrument and one that is not in accordance with IEEE - 488.2, which could be an appropriate way to go.

  • Wayne Kerr 7720 Impulse Tester (serial interface) driver needed

    Anyone know where I can find a driver of Wayne Kerr 7720 Impulse Tester LabVIEW. The tester has a RS232 interface. Also useful would be a good source to learn how to write such a series driver where I can't find one.

    Thank you.

    I don't know what you mean. The I tried is a self-extracting zip with a couple of files llb and those are certainly valid extensions.

  • Arduino restarts my PC when it is used for the serial interface

    Hello

    I use the example of continuous series read/write and other simple programs to read data from the Arduino board, but I am facing a problem that my PC restarts wih blue screen when you read data from Arduino for 5 minutes.

    I don't know the reason and tried various solutions, including adding the number of bytes to Serial Port to connect with the VI series of reading.

    Kindly guide me what could be the possible reason for this problem.

    Concerning

    I had this problem too - my PC would crash on average about once a day when connecting an Arduino data.

    Someone on these forums proposed defining the synchronous and not asynchronous read VISA. Right-click in the VISA reading and select ' E/s synchronous Mode' > 'synchronous '.

    I tried this and it seems to have worked - I have not had a crash for about a month now. I have no idea why it would make a difference, but it seems.

  • serial interface port with xilinx Board with LabVIEW

    Helllo everyone,

    I'm working on a project where I need to send and receive data to labview for FPGAS (office digilent virtex-2 pro).

    When I run the example of basic series write and read I get an error that error-1073807246 occurred at the property node (arg 1) visa set up a Serial Port (Instr) .vi-> basic series writing and Read.vi
    Possible reasons:

    VISA: (Hex 0xBFFF0072) the resource is valid, but the VISA cannot currently access.

    Anyone has an idea as how I should fix this error.

    Thanks in advance.

    REDA

    Close any other program using the COM port.

  • Need help with interface/spawning of labels. AS3

    I need to breed two labels for a timer and score in my game.

    At the present time, I have a code spawn a label, but just, he sits there and flashes, is btw white label, so this white rectangle flashing on my screen, then there, I need to change the text of this label, whenever my score is updated, here is my right codes now involving the label:

    Game.As:

    package 
    {
    
        import flash.events.MouseEvent;
        import flash.display.MovieClip;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        import flashx.textLayout.formats.BackgroundColor;
        import fl.controls.Label
        import fl.controls.TextInput
        import flash.display.DisplayObjectContainer
        public class Game extends MovieClip
        {
            public var myTimer:Timer = new Timer(5);
            
            public var square:Square = new Square();
            
            public var background:Background = new Background();
            
            public var label:Label = new Label();
            
            public function Game()
            {
                
                addChild ( background )
                addChild ( square )
                addChild ( square )
                addChild ( label )
                
                square.addEventListener(MouseEvent.CLICK, fl_click);
                
                myTimer.addEventListener(TimerEvent.TIMER, timerListener);
                myTimer.start();
                
                
            }
    
            private function timerListener(e:TimerEvent):void
            {
                square.edgeCorrect();
                
            }
    
            private function fl_click(event:MouseEvent):void
            {
                square.changeParameters()
                
    
                
            }
        }
    }
    

    And here is my label, Label.as class:

    package  {
        
        import flash.display.MovieClip;
        import flash.display.DisplayObjectContainer
        
        public class Label extends MovieClip {
            
            
            public function Label() {
                
                width = 100
                height = 25
                text = "mytext"
                trace("Label spawned")
            }
        }
        
    }
    

    The two problems with my label, are that she blinks, and when I try to change the text, it says that the text is a property not defined. I also tried "label.text =", but it gives me an error of the label being undefined. Also, I was wondering what would be the best way to spawning an interface all at once?

    A clip is not a text property, a TextField is.  Then take a TextField, and assigning the string to the text property of the TextField

  • need help serial number

    Re: photoshop cs6 teachers edition

    before installing this software, buyer must obtain a serial number by submitting proof of eligibility to Adobe. Product may not be used without such proof. My copy was bought in a shop. I was told do not to open the installation box until I get the serial number.

    Question: Anyone know where I can find info to start the process?

    Adobe - student edition order fulfillment

    Mylenium

  • Help user interface

    In an application that I create, Inc. (which are the sprites) must be moved around, connected and disconnected by the user. Right now I use Mouse_Down, Mouse_Move and Mouse_Up for movement, and I implemented a double click for working with the connection. I need another gesture / to the user to disconnect. I don't want to add a button to switch between the connection / disconnection, because I wish they were able to do both on the fly.

    Suggestions for the type of event that I should plug disconnection up to?

    Now be sure you could do something like this to avoid any gesture API stuff probably:

    On a mouse down the value of a state variable and save the mouse coordinates down.  On a mouse to get the coordinates of the mouse upwards and calculate the segment of the line of the mouse to the bottom of the location of the mouse to the high place.  Calculate if this segment of the line crosses a line segment, which represents a connection between your two connected sprites.

    Just thinking "aloud.

  • Determine the type of serial, 485 interface or 232

    Hello

    How can I determine the mode of a serial interface wiring? Another way, if it's a 232 or 485.

    The approach to try to connect with different threads is not the problem, 232 COM caught if we try to use a 485 mode. Solution, reset the onboard computer.

    Kind regards.

    Antonio


  • I bought CS6 design and web edition of teaching in Singapore. the serial number of box has only 19 number. I can't install my product. Help, please.

    I bought CS6 design and web edition of teaching in Singapore. the serial number of box has only 19 number. It's too short.

    I can't install my product. Help, please.

    Hi Justin,

    This link might help: serial numbers , redemption codes and product codes. Schoolgirl and her teacher editions

    Kind regards

    Sheena

Maybe you are looking for

  • Apple Watch reboot

    My iphon more 6 s and my Apple Watch are both on the last update. Whenever I get a notification of text on my watch, it resets.

  • Cannot start in recovery. The recovery is available.

    I need to disable SIP using offline recovery. However, whenever I boot into recovery, it starts in the online version. I know I shouldn't disable SIP but I want, temporarily. So, how did I lose my recovery? I had OS X and Windows 10. Then, I partitio

  • By clicking on a link box window minimizes instead of going on the link

    50% of the time when I click on a link box, the window minimizes instead of going to the link. I tried to adjust the click of the mouse, etc..Nothing helps.Makes me crazy! Y at - it a setting or is it a problem inherent in this system?

  • Is PCI6513 supports the replay?

    Is PCI6513 supports playback of channels values? How will I know if the collating of channel is available for some module?

  • officejet5740e

    I sent two faxes and both were illegible, the letters are scrambled.