Communicat​ion via RS232 with a Kollmorgen Servostar 300 using LabView.

Hello,

Sorry I am new posting a message here and I post it before I was able to describe my problem.
I have a Kollmorgen Servostar 300 to control an AKM24F motor and I would like to send the instructions to the controller via RS232 using LabView. I think I had achieved communication from a PC to a Servostar 300 using LabView via the serial port.
So far I have setup in LabView the configuration of the RS232 (8 bit, no parity, baud rate 38 400), the address of the servostar (ADDR 0), the way the servostar should respond to the host (PROMPT 1) and the error flag (MSG 1), and no error had been detected when I run the program. I should mentioned that after I sent an instruction such as ADDR 0 terminated with a carriage return, I set a delay time of 150 ms, then I read the amount of bytes that are in the buffer, and then I read the buffer, as I mentioned no error message has appear and the ADDR 0 instruction is read from the buffer. Following the same procedure I sent an instruction to move the motor but nothing happens.
So far I am not sure if the way I am trying to communicate with the servostar is the correct or if I am missing something, any guidance that anyone my give would be greatly appreciated.

Similar Messages

  • How to communicate with third party bluetooth device using LAbVIEW

    Hi
          I am trying to communicate with a third party bluetooth device using LabVIEW, I am using a bluetooth dongle. I am able to discover the device and able to open the connection by specifying the service as serial port. But after that when I am trying to read and write data between LabVIEW and the bluetooth device (using Bluetooth Read & Bluetooth Write functions) its not happening.
    Dose anybody faced same kind of issue if so kindly guide me, this is first time I am using Blutooth protocol.
    Regards
    Visuman 

    Hi,
    I am able to talk with bluetooth / serial devices by using Labview protocol (not Wii dll). These are steps:
          Discover the bluetooth device in range (Bluetooth dicover.vi)
          Get the address of the device
          Pass device address to Bluetooth RFCOMM Service Discovery.vi to get service list
          Pass channel and uuid to Bluetooth open connection
          After that do write and read (Bluetooth Write / Bluetooth read).
      I hope it works for you.
    Take care
    tp
     

  • Where can i find vis to communicate (via RS232) with a controller ?

    Hi,
    i use Labview 6.0 with windowsXP. I have a PCI/RS232 car to connect to my controller.
    I'd like to command my controller (no vis available).
    i am beginner and my problem is: how to communicate (send commands, know the syntax, formation and transfer of commands and recognition of the responses) with my controller via Labview and serial communications?

    Hello Sebsanaur,
    You can found, in the link below, document that can help you to understand the Serial Communication:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/c553228fd78a7add862568f9006e9129?OpenDocument#2
    Now about the Instrument driver jetDrive III controller from MicroFab Technologies, you can found in the link below, a NI tool to "Search Instrument Driver" from manufacturers:
    http://sine.ni.com/apps/we/niid_web_display.drv_search
    The driver you search is not available in our web site however you can contact MicroFab Technologies to see if they develop it for LV.
    Hope this help.
    Best Regards,
    Sanaa TAZI
    National Instruments France
    Sanaa T.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> http://www.nidays.fr/images/081110_ban_nidays09_468X60.gif

  • Why the acquisition with DAQmx is different by using Labview 8.2 from Labview signal express?

    Hello,
    I am using a PCi-6281 to acquire a voltage. When I am using Labview signal express with only the step to acquire I read the good signal with the exact voltage. But when I am using my VI, the y axis and the values recorded are wrong. Why this difference appears?
    I insert a picture with both signal: at the top is the signal from my vi (wrong measurement) and at the bottom is the signal from labview signal express (correct).
    The vi I am using is the example Cont Acqu&Graph Voltage-To file (binary).vi.
    Thank you for your answer!
    Sophie
    Sophie

    I am using the binary file because it requires the minimum change in another VI. I have tried to change in scaled data but now my second VI has not enough memory to display all data.... What's wrong? Here is my second VI. Totest with data you need to insert a number in the "scaling factor" if not the dat are multiplied by zero...
    thanks for your help!
    Message Edité par stage84 le 07-24-2009 10:11 AM
    Attachments:
    Display 3.vi ‏1867 KB

  • TCP communicat​ions via C program with VI on a PC (SGI - Windows)

    I have a pair of simple (more at prototype) client/server C programs on an
    SGI host. On the SGI, they compile and run fine (using separate windows).
    I know what the server is supposed to be sending (C floats) and the client
    is reading the correct values.
    I now want to start my C program server on the SGI host, and use the Simple
    Data Client.vi (in LabVIEW 6.1's examples) to display (in its graph) the
    floating point values that the SGI host is sending.
    So far, I have not had complete success. If I start my SGI server, and
    "point" the example Simple Data Client VI at my server, the LabVIEW client
    gets immediate errors (overflows).
    As an experiment, I tried going the other way. That it, I started up
    the
    Simple Data Server VI on the Windows PC. I then "pointed" my SGI client at
    the server on the PC. It works, ... sort of. I am getting an
    appropriately sized list of numbers displayed on the SGI host, but while
    most look like floating point values, some look like VERY large integers.
    I believe I have a data representation problem. That is, I don't know if I
    should expect to send (server-side) or see (client-side) C programming
    variables of type 4-byte floats, 8 byte doubles, or something else. Also, I
    am not certain how many values I should expect to send/see in each message.
    I think the default for the Simple Data Client/Server programs is 200
    points, but I am not sure what that really means, either.
    Any suggestions would be very much appreciated.
    Mike McCormick
    Michael J. McCormick
    Phone: 520-545-7972
    Fax: 520-794-9400
    Email: [email protected]

    > As an experiment, I tried going the other way. That it, I started up the
    > Simple Data Server VI on the Windows PC. I then "pointed" my SGI client at
    > the server on the PC. It works, ... sort of. I am getting an
    > appropriately sized list of numbers displayed on the SGI host, but while
    > most look like floating point values, some look like VERY large integers.
    >
    > I believe I have a data representation problem. That is, I don't know if I
    > should expect to send (server-side) or see (client-side) C programming
    > variables of type 4-byte floats, 8 byte doubles, or something else. Also, I
    > am not certain how many values I should expect to send/see in each message.
    > I think the default for the Simple Data Client/Server programs is 200
    > points
    , but I am not sure what that really means, either.
    >
    By default, LV converts all of the datatypes to be in big endian form.
    I'm not sure about your SGI, but if it is a little endian machine, then
    that will cause problems. If that is the case, you will want to swap
    the words and bytes of the four byte values.
    To debug this more easily, you might just make sure you send over very
    predictable data such as 0, 1, 2, 3, etc. Lots of times these are
    tested with random data, but that makes it pretty hard to see a pattern
    when the data is wrong.
    Greg McKaskle

  • CANopen TPDO Read.vi takes 8 to 9 seconds (NI-Indust​rial Communicat​ions for CANopen with NI 9881)

    I am using NI-Industrial Communications for CANopen with a NI 9881 CANopen module on a cRIO in LabVIEW 2011.
    I am trying to read a PDO from a slave device. At the moment the slave device is not fully functional. That is, the PDOs are not being transmitted. My problem is that the CANopen TPDO Read.vi is taking 8 to 9 seconds to execute even though the timeout is set to zero. It seems that even though my slave device is not transmitting the PDO, the CANopen TPDO Read.vi shoudl timeout immediately and return. Has anyone else experienced this problem? Are there any workarounds? 

    Hi wireman,
    I'd like to point you at the NI-CANopen.lvproj in the NI Example Finder (available by searching CANopen).  Inside that project is a TPDO_Read.vi that should work and eliminates programming variables from the troubleshooting process.  I'm also curious, is the slave device actively on the network and is it sending heartbeat messages?  Does the TPDO Read.vi return an error after the 8 to 9 seconds?  If so, what is the code associated with it?
    Let us know if using the shipping example project works or displays the same behavior.
    Regards,
    -Dave C
    Applications Engineer
    National Instruments

  • Send eMail via Thunderbird with filled "Email information" when using multiple profiles

    Hello.
    I hope you can help me.
    We are using two Thunderbird profiles:
    "Sales" and "Purchases".
    We have thunderbird links for both of them on the desktop:
    This is how we call start the firefox profiles:
    Purchases: "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -no-remote -p Purchases
    Sales: "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -no-remote -p Sales
    (-no-remote is needed to start Thunderbird with two instances at once, -p <Profile> is to choose the profile)
    Everything works so far.
    Now we have an application which calls the "write"-dialog of thunderbird. (the dialog where you can send eMails)
    When calling the "write"-dialog, the fields of this dialog (from, to, subject, and the text body) should be filled by parameters.
    The application uses following call:
    thunderbird.exe -compose to=[email protected],subject="example subject line",body="this is the example body" -no-remote -p Sales
    That means that the send dialog of the Sales-Profile-Thunderbird should be opened with the "sales" profile.
    (email receiver is filled with "[email protected]", subject is "example subject line", and the text is "this is the example body")
    The Problem:
    This works only if thunderbird with the "Sales" profile is not already running. If Thunderbird with the "Sales" profile is already running, Thunderbird is telling that the process is already running and should be closed first.
    Before adding the second profile "Purchases", we only used "Sales" profile, and we started thunderbird without "-no-remote -p Sales".
    With only one profile and without "-no-remote -p Sales", every worked well.
    But with 2 profiles, the user always have to close thunderbird first before calling the "write"-dialog from our application.
    Is there something I can do? Maybe changing the call used by our application to show the write-dialog?
    If you need more information, or something is not clear enough, let me know.
    Best regards
    M. Jaeger

    command line arguments here https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options
    Perhaps the issue here is your desire for a separate profile for sales and purchases. That looks to me to be where the rot starts. Now your trying to start a third instance.
    So how about you explain what it is your trying to achieve, as you can not be the only person in the world wanting to use email in a business.
    I see a reference to a write dialog from your application. Is it your writing an application and trying to make Thunderbird work the way you have designed your application and it simply does not do that?

  • RS232 programmin​g for Sartorius scales using LabView

    Has anyone written a any code to control and read in data for a Sartorius scale with RS232

    Hi,
    Unfortunately, I was unable to locate a driver for your instrument at www.ni.com/idnet or at the Sartorius website. I would like you to submit a request for this driver at: http://zone.ni.com/idnet97.nsf/instrumentdriverreq​uest/ and with the instrument manufacturer. We develop drivers based on demand and popularity so the more requests we have for it, the greater the possibility that we will develop one.
    If you would like to try developing your own instrument driver (or modify the existing one), we have documentation, model instrument drivers, and driver templates to help at :
    http://www.ni.com/devzone/idnet/development.htm
    We also have a syndicate of third party vendors that specialize in National Instruments' products and services. Some of the vendors specialize in driver development. I would suggest contacting one of the Alliance members at:
    http://www.ni.com/alliance
    An instrument driver is a collection of functions that implement the commands necessary to perform the instrument�s operations. In short, someone read the instrument user manual and implemented some of the functionality in a program for the end user. Instrument drivers are not necessary to use your instrument. They are merely time savers to help you develop your project so you do not need to study the manual before writing a program.
    There are example VI's in LV on Instrument Connectivity. If you go to the Help menu >> Examples.. >> I/O, you will see a couple and Examples.. >> Fundamentals for File and String manipulation. I would suggest tweaking them to suit your application. Also the specific command that your instrument responds to can be found from it's manual.
    Some useful resources for your application are
    ni.com > NI Developer Zone > Development Library > Instrument Connectivity
    http://search.ni.com/?col=alldocs&layout=TechResou​rces&ql=a , to search examples and knowledge bases
    Hope this helps!
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • Comment envoyé une donnée via rs232 avec labview

    Salut, comment envoyé une donnée via rs232 avec labview ?
    Hello, how given sent via rs232 with labview?
    Solved!
    Go to Solution.

    You can use the LabVIEW example for "Basic Serial Write and Read." In the English LabVIEW it is found here:
    Vous pouvez utiliser l'exemple LabVIEW pour "SerialBasic écrire et lire." Dans le LabVIEW anglais, il se trouve ici:
    Zach P.
    Product Support Engineer | LabVIEW R&D | National Instruments

  • HP34970A configuration via RS232

    How do you get LabVIEW to talk to and configure and HP 34970A datalogger via RS232 connection?
    We are new to LabVIEW and need basic help with getting it to work with our equipment.

    First of all, do you have the LabVIEW driver? If not, go to http://zone.ni.com/idnet97.nsf/9b2b33e1993d877786256436006ec498/e4c553c139f78062862568ab005fba3c?OpenDocument and get the driver that matches your version of LabVIEW. Next, make sure you have the right serial cable. Next, configure either the instrument or HP34970A Initialize.vi so that the communication parameters are the same (i.e. parity, baud rate, etc.). Next, pick a VI under the Getting Started pallette of the instrument driver. Pick one that similar to what you need to do and what kind of hardware is inside the box. Next, change the instrument descriptor to be ASRL1::INSTR (if connected to comm 1). Next, run the VI and see what happens. I use a lot of these things but they're all GPIB because
    I'm not masochistic enough to enjoy serial communications. I do seem to recall seeing a post that the instrument driver has the wrong termination character for serial. If you can't get the LabVIEW driver to work, try talking to the instrument using hperterminal. Good Luck.

  • Has anyone tried to sync photos with the cable to itunes rather than how it should work via Wifi with iCloud?  The info on the Apple support page says that you should backup to both iTunes & iCloud, but 2x the Genius Bar told me not to.  Help please!

    Has anyone tried syncing their photos to iTunes with the cable in addition to how it should work via wi-fi on iCloud?  On the Apple support info page, it says you should do both types oof backup. The Genius Bar told me 2x not to do both.  What experiences has the community had?  I'm also having syncing issues with photos most recently as well as contact updates.  (I have an iPhone 4S with the iOS7.1)  Thanks much!

    It sounds like you are mixing up several different things (or not using the terminology that Apple uses).
    One thing is backup. You can backup via icloud or via iTunes and there is no reason you cannot do both -- I do and the second link below from Apple gives instructions. Doing a backup will include photos from the Camera Roll in the backup but you will not be able to see the results -- all of the backup data will be stored on iCloud or on your computer in files that are not designed to be accessed by you for any purpose other than restoring to your phone in the event of a problem. More information on backup:
    http://support.apple.com/kb/HT1766
    http://support.apple.com/kb/HT5262
    If you simply want to transfer photos from an iPhone to a computer, the terminology Apple uses for that is "import" and it is done without iTunes. New photos (taken after you change the setting) can be done via PhotoStream which is a cloud based option. The other option is via cable. Instructions for both: http://support.apple.com/kb/ht4083
    Syncing via iTunes (with regard to photos) is used to transfer photos the other direction -- from the computer to the phone. Instructions for that http://support.apple.com/kb/HT4236

  • Which RTD Temperature Meter would you recommend to talk to Labview? via RS232 or

    Hello there:
    I am looking for a High accuracy RTD Temperature Meter that I can read
    using the RS232 or USB.
    I am using Labview 8.2 with XP PC.
    thank you for your help...
    \\carlos

    Hi Carlos,
    I would recommend checking out some of the compact DAQ solutions for RTD measurements.  Check out the products at the following link.
    Ted
    Ted H
    Applications Engineering
    National Instruments

  • How to communicate via RS232?

    I am trying to program an sbRIO-9606 to communicate with a Matrix Orbital LCD display via RS232.  I have NI-VISA 5.4.1 and NI-VISA Server 5.4.1 software installed on the sbRIO.  But I am not seeing any COM ports to use to communicate.  Is there other software I need?  Or is there a resource where I can find some instructions about this?
    Solved!
    Go to Solution.

    Found it!  
    I also needed the NI-Serial RT 4.0.0 installed on the sbRIO.  

  • Agilent 34401A multimeter to PC with Labview driver via RS232

    Hello!
    I am trying to measure a voltage with Agilent 34401A multimeter connected to PC via RS232 cable. I installed the driver. When I am starting Read Single Measurement.vi. It gives me an error:
    Error-1073807346 occured at Visa Open in Agilent 34401.lvlib: Initialize.vi->Agilent 34401 Read Single Measurement.vi
    Possible reason(s):
    Visa: (Hex 0xbFFF000E) The given session or object reference is invalid. 
    I would like to ask, how can I adjust my system to use RS23 with Agilent 34401A, if it is possible? If not, should I get GPIB card and cable?
    Thank you!
    Yulia.

    LabVIEW already comes with a driver for the 34401 pre-installed, so I'm not sure I understand what you installed. The pre-installed driver is in the Instrument I/O >> Instrument Drivers >> Agilent 34401 functions palette.
    As for the control that Dennis is referring to, it's the VISA control.
    As for the VISA version, you should have received a set of driver CDs along with LabVIEW. That will have the minimum VISA version required. Don't remember off the top of my head which version it is. Probably something like 4.1.
    Attachments:
    visa.png ‏42 KB

  • Help with HID communicat​ion

    Hi can anyone help with this. Iam new to labview. I have recently purchased a transmitter for an oxygen sensor. this transmitter appears to connect to my PC as a HID device. Iam having difficulty gaining any information from the manufacturer up to now apart from that in the instruction manual it says that real time data is streamed via the USB. can you give me any advice on how to initially connect to the device and read what ever data is being streamed ?

    Hi
    I finally recieved some communication information from the manufacturer of the transmitter (previous version though) i am trying to communicate with. just a little bit limited in my opinion. And confusing to me. Could you point me in the right direction if that is at all possible. I have attached the information.
    Thankyou.
    Attachments:
    USB Port Communications.doc ‏51 KB

Maybe you are looking for

  • Canon Scanner 9950f

    Hi, Just moved to macbook pro 2011 10.6 version (from pc world) and unable to use canon scanner 9950f--i can see the toolbox but when i hit scan i get no driver message---checked canon and no driver available--has anyone been able to use this scanner

  • Blackberry Signed for Third Party Software

    Hi, I am involved in developing software for Blackberry, and want to know what sort of certification is required for the software i am developing. SOmething similar to Symbian Certified (ref: https://www.symbiansigned.com/app/page) plus, is there a t

  • Use the last number in a column

    Don't use spread sheets much and wondered if anybody could help with this problem. I am monitoring my weight and each day put the new weight value in the next cell. ie 201 198 197 I have another cell in the sheet which contains my target weight from

  • Replace exact string only

    I'm outputting text content to my page by querying our database using a simple method, which works fine. quote: <cfoutput query="getPageContent" startrow="#vPageContent#" maxrows="1">#vContent#</cfoutput> I need to replace certain words to make them

  • Mail adding 0 to Excel extension

    I've been trying to send an Excel 2004 file for a week now. Whenever I send it, Mail adds a 0 to the .xls extension, which makes the file unreadable by window boxes. I can send the e-mail and everything looks fine, but when I open my Sent folder, I c