Attempt to communicate to Newport MM4006 controllers via serial in new labview

I am attempting to communicate to a Newport MM4006 motion controller via labview, however the drivers built are for version LABVIEW 6i, and was worried about backward compatibility with the current version of Labview. Is there any support to show the best way of upgrading the VI systems to communicate and hence move three stages in parrallel. 
Any help would be greatly appreciated,
Kind regards,
Asiri 

Dear Asiri,
Thank you for your post to the forums.
I wanted to ask you a few questions in regards to the issue you are having:
- You mention the drivers were built for LabVIEW 6. What version do you now have? What have you tried so far in regards to your application in the new version? 
- Are you looking for the equivalent functionality in the newer version, is that correct?
If you could provide me with more information on what exactly it is you are after that would be great!
In the meanwhile, from what I understood so far, I managed to find some relevant links for you to look at.
- Upgrading from LabVIEW 8.6 or earlier
- Converting VIs
- Upgrading from LabVIEW 6
- How to upgrade or revert a VI in a different version of LabVIEW
In case you haven't already got this downloaded, I have found the driver download for the MM4000 series motion controllers. This was on our 3rd party driver network.
- Newport MM4000
I hope this helps.
Kind Regards,
Dom C

Similar Messages

  • How to transfer file from PC to PC via serial port using labview

    I need to transfer files(.txt, .doc, .xls) from PC to PC via serial port using LabVIEW. Is it possible to transfer files, if so how to transfer?
    Solved!
    Go to Solution.

    Yes, it is possible to transfer files with the serial port using LabVIEW.  Files are just collections of bytes and the serial port is pretty good at shipping bytes from one PC to another.  You need to connect the serial ports together with a null modem cable.
    First, take a look at the example for serial communication.   In LabVIEW, go to the Help menu and select "Find Examples...".  From there you can search for "serial" or navigate to Hardware Input and Output >> Serial.  Select the "Basic Serial Write and Read.vi".  Experiment with that example to gain confidence on the serial communication methods.
    Next, it's time to learn about how to read and write files.  For that, the examples could be somewhat confusing since they all deal with files that are presumed to have data of a specific type in them.  I would recommend just getting familiar with the functions on the File I/O palette.  Specifically, get to know the following functions.
    Open/Create/Replace File - On your destination side, you'll need to create the copy of the file that you are trying to transfer
    Close File - When you are finished reading from or writing to a file, you should close it.  It cleans up the memory being used and finalizes any write operations that are still floating in the write buffer.
    Read From Binary File - The best way to read from a file when you do not really care what type of file it is.  In your case, you just want to get those bytes read and sent out so they can be written down at the destination.
    Write to Binary File - At the destination side, this is what will store those bytes to the file you created with number 1.
    Get File Size (under the Advanced File Functions sub-palette) - You need to know how big the file is so you know when you are finished.
    OK, so once you are able to create files, write bytes to them, and read bytes from existing files you can move on to transferring.
    The basic method I would suggest is to have the user specify a source file on the source PC and a destination folder on the destination PC.  Then, find out the size of the source file using number 5.  Divide that size number by the number of bytes you feel like transferring at once.  The serial buffers are usually around 32k (if I remember correctly) so do not exceed that.  Now begin sending data by reading some number of bytes and wiring that string output to the VISA Write function.  On the destination side, you'll want to be monitoring the serial port for bytes and reading them when they arrive.  Wire that string to the Write to Binary File function to add them to your destination file.
    That is the basic outline of how to do it.  You have to be careful not to overload the write and read buffers on the serial ports.  Initially you can use delays on the sending side to make sure the reading side has enough time to digest.  To get things moving faster, you can bring in some flow control.
    If all that sounds a bit intimidating, there are Alliance Member companies out there (such as PrimeTest Automation) who can write such code for you and even provide a turnkey solution for you.
    Happy wiring,
    Dan Press
    Certified LabVIEW Architect
    PrimeTest Automation

  • VISA: Communicate​ion with "imar sensor " via serial port[

    Hello
    I have problem in communication. I have one sensor imar sensor that can be easily communicate in Hyperlink but if I send same command for example "show conf" it doesn't responses It is connected with rs232 in com port 1.  it will be nice if you give me some suggestion thanking you
    regards
    Solved!
    Go to Solution.

    Yeah I can't open that (needs to be 2010 or earlier - see my first post)
    Is 57600 baud rate the one specified in the manual for your device? This needs to be absolutely correct for the serial communications to work properly.
    "If anyone needs me, I'll be in the Angry Dome!"

  • Are there any simple LabVIEW motion program for Newport MM4006 controller

    My system consists of a PC with a IEEE488.2 from NI that connects to 2 Newport MM4006 controllers, which, in turn control a high-precision stage.
    I would like to know if you can provide me with any simple motion programs in LabVIEW. Since I am starting to learn motion programming, I would like to know if there are any existing LabVIEW VIs that allow easy inputting of the motion commands.
    I am having some trouble in ordering each motion segment's commands in LabVIEW environment, so I guess some examples might help me to clarify the correct syntax and logic in LabVIEW. Right now, I am using mostly the SendCommand sub VI in the MM4006 package downloaded from National Instruments to issue the seque
    nce of the commands that are supposed to be executed one after the other in order to perform a specific path. Do you know if there exists any other bette way of issuing a long sequence of the motion
    commands?
    Alos, can FlexMotion be used for my system? What are the requirement for usign FlexMotion in LabVIEW. Is it the best way to program a motion VI for my system?

    The FlexMotion VIs can only be used with our FlexMotion controllers, not GPIB devices. For your Newport controllers, the best thing to use is the instrument driver that you downloaded off of our website. This code was contributed to our website so we don't have any example programs to go with it. I looked on Newport's website and they mentioned that they had sample code for this controller. You might want to contact them and see what they have.
    Jack Arnold
    Application Engineer
    National Instruments

  • Communicat​e with LIN device via RS232

    Hi,
    We have a project to communicate with a card containing the LIN bus. I seek a solution to communicate directly with the card via the RS232 port. I think use an rs232 adapter and a rs232-LIN transceiver directly to the card. The links below containinformation of material:
    http://www.mikroe.com/eng/downloads/get/1276/max23​2_manual_v100.pdf
    http://www.mikroe.com/eng/downloads/get/1507/lin_m​anual_v100.pdf
    I want to know if anyone has used this solution before. Do you think this is feasible.Thus, the problem is that Labwindows allows easy implementation of code ofcommunication with the card (functions, examples ...).
    Thank you for your opinion about this solution.

    Hello,
    Sorry for the delay. Can you describe me your solution. I thought of another alternative. Can I communicate directly using the rs232 port, a LIN  transceiver and a power adapter (rs232 to TTL). Can you tell me what library I should use because I do not know really what is the principle.
    Many thanks

  • An error occurred while attempting to communicate with the AirPort Express

    I have an Airport Base Station (ABS) and 2 Airport Express (AES) units spread through my apartment connected in a WDS network. The ABS was using version 5.5.1 and the Express units were using 6.1.1 because I had read these versions had less problems disconnecting. But yesterday, while changing the access list in the different stations, both of my AES came back with an error that read 'An error occurred while attempting to communicate with the AirPort Express'. No resets or firmware updates would restore them to a working state from a MacBook Pro 2.4 GHz where I had the latest Airport Utility. There was always a communication error.
    I was able to update the units using an old PowerBook G4 running at 500MHz with the old Airport Setup Assistant. Both AES units were updated to version 6.3 and were put back in the WDS. Airport Setup Assistant has trouble communicating with the Airport Card in the MacBook Pro 2.4. I hope this helps others get their AES working again.
    Message was edited by: Merbil Gonzalez

    Thank you! That was helpful. I guess I'm lucky that I have an old ibook to use.
    Does Apple know about this issue???

  • IPhone contacts: file transfer to Windows 7 via USB-cable  My iPhone can communicate with the computer only via USB-cable (no mobile data, no bluetooth, no internet, no outlook). As I want to get the phone to the "doctor" I want to save specifically

    iPhone contacts: file transfer to Windows 7 via USB-cable
    My iPhone can communicate with the computer only via USB-cable (no mobile data, no bluetooth, no internet, no outlook). As I want to get the phone to the "doctor" I want to save specifically my contact data and calendar details on the computer (OS: Windows 7). How can I solve this task? I will appreciate your valuable information, thanks.

    Using the iPhone, the USB cable, iTunes and Windows Contacts, sync the iPhone contacts to Windows Contacts. That will save them there. They are also included in the iPhone backup made in iTunes, and if you use iCloud.
    I'm sorry, I missed the calendar part the first time I looked. For calendar, you need a supported application on the computer (Outlook) or if you use iCloud, you can use the iCloud contacts and calendar app to sync.

  • I want to send 10 bit ADC from PIC via serial communicaton. i send it separetly 8 bit first then the other 2 bit. how to program in labview to capture those two packet then combine it togother

    i want to send 10 bit ADC from PIC mCu via serial communicaton.
     i send it separetly 8 bit first then the other 2 bit (2 bit --> with zero at 6 bit from LSB).
    how to program in labview to capture those two packet and then combine it together
    so i have 10 bit in lab view
    thank you

    Close, but now quite. You need to specify to the VISA Read how many bytes to read, not how many bits. Thus, the input would be 2, not 16. It's also not clear why you're trying to use the "String to Byte Array". The Type Cast will give you a number based on what data type you wired. You're basically telling it how to interpret the string. In this case we're telling it to interpret the string a 16-bit value, so we'll get a 16-bit integer. I know you said you wanted a 10-bit, but you can't have that. You'll get a 16-bit with 6 bits set to zero. Note: I did not completely understand what you said so we may need to change this slightly, but we want to get the communication and reading collection working first.
    Also, since you seem to be setting this in a loop you probably want to monitor this or to collect the data. For that you need a shift register. See attached for a modified version of your attempt. You need to set the datatype to I16 or U16 based on whether the value you get from the PIC is signed or unsigned.
    Message Edited by smercurio_fc on 05-01-2007 02:28 PM
    Attachments:
    Read PIC.vi ‏21 KB
    Read PIC.png ‏7 KB

  • How i can connect the pci nican card with stoeber posidyn sds 4021 via serial cable

    i'm trying to communicate the stoeber posisyn sds 4021 servo inverter and the pci ni-can card via serial cable. the problem is that 1 RxD and 2 TxD pins dont have any connection available on the can card.
    it is important to connect these pins somewhere or can_l and can_h do all the job?
    what about the v- terminal, it is possible to connect it in grnd and leave v+ with 8v?

    In this situation it may be necessary to contact the manufacturer of this device. It is strongly recommended to use both CAN_H and CAN_L for CAN communication. The V- pin is used as reference ground. The V+ is simply for bus power.
    Randy Solomonson
    Application Engineer
    National Instruments

  • Since upgrading to Lion my address book no longer communicates with iTunes? This means that no new information is getting to my iPhone etc? Any ideas? Thanks

    Since upgrading to Lion my address book no longer communicates with iTunes? This means that no new information is getting to my iPhone etc? Any ideas? Thanks

    Nathan Miah wrote:
    Is there absolutely anything else I could do to sort this such as phone Apple Support
    If you want.
    or maybe install Snow Leopard using the disc it came on with my Mac and just set it up from a Time Machine Backup on my external hard drive (since it works under SL)?
    Did you install Lion on an empty partition, or did you upgrade Snow Leopard?  If you upgraded, I'd not recommend erasing it, since your backups are apparently gone.  It's doubtful Snow Leopard will recognize them. 
    It's not just backups on the drive either, there are other important things on there, so why won't they show?
    Mixing Time Machine backups and other data is not a good idea.  See #3 in Time Machine - Frequently Asked Questions.  It sounds like the whole disk is corrupted.
    I just really don't understand how this happened. Could it not be an issue with WD because they haven't issued firmware to support Lion yet?
    If this is a simple external HD, connected by USB or FireWire, no, unless you installed some of WD's software on it.  That shouldn't prevent it from being seen at all, but anything's possible.

  • Tabs in Firefox 7 won't work...I can't open a new tab by clicking on the +.....only way to open a new tab is via the FILE/new tab option

    Tabs in Firefox 7 won't work...I can't open a new tab by clicking on the +.....only way to open a new tab is via the FILE/new tab option...it seems like a lot of the options/buttons are non-pressable??

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    Your system details show that toolbar in the user agent as AskTbYLC/3.11.3.15590
    See:
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Problem: Instrument via serial connection

    Hello Forum,
    I am trying to connect my instrument to my laptop via USB through Serial port. I used NIVISAIC and found the Resource name as ASRL3::INSTR. When I was working with Laview I found the following error
    Error 1073807246 occured at property node (arg1) in VISA configure serial port (Instr.). Reason: The resource is valid, but VISA cannot currently access it.
    Using the interactive control one of the attribut is in red (Is Port connected: VI_ATTR_ASRL_CONNECTED: Invalid property value
    Also when I send Identification query using NIVISAIC, it returns the same command.
    I did not understand much of it. However there is a software for the instrument, using which I could connect to the instrument the first time I switch on the system. When I disconnect it and tried once again, it was not connecting.
    I had earlier connected Keithley 2400 via GPIB KUSB 488. Is there any problem in connecting two devices. Or is the driver of the software and NIVISA are conflicting with each other.
    Please find the screen shots.
    Please help.
    Thank you.
    Attachments:
    2.JPG ‏57 KB
    3.JPG ‏80 KB
    4.JPG ‏93 KB

    Hello Dennis,
    It did not help much.
    7: Write Operation (*IDN?)
    Return Count: 5 bytes
    8: Read Operation
    Return Count: 5 bytes
    *IDN?
    I tried to query with \n and \r\n; but did no good. There is only one instrument connected to the PC via Serial port.
    I would like to know if the identification command is same for all instrument or does it change with manufacturers.
    Why does it return the same command that was given to the instrument.
    If I am to ignore this, please find the block diagram and manual of the instrument in the attachment. It was said that the commands should be sent as single characters and not as string.
    In the block diagram I have used VISA Configure Serial Port, VISA Write, VISA Read and VISA Close vi's. Please tell me whether this is correct. The Commands where given in separate lines or should I use separate VISA Write vi for each characters.
    Thank you.
    Attachments:
    interface.JPG ‏130 KB
    block diagram.JPG ‏14 KB
    PR-655 - 670 Manual.pdf ‏4053 KB

  • How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)?

    I am a new user for  labview.I develope my program with FP 2000 but I have some problem
      1 How can i browse FP 2000 via serial port same use Ethernet port(RJ 45)? if it can Tell me please.
      2 If  I use GSM/GPRS modem via FP 2000 rs 232 port (I under stand how to send AT command) and leave it stand alone
         Can I dial modem and browse file in FP 2000 same as use Ethernetport?
    Someone please help me.Thank you very much.

    Hi!
        First, I can say that your project involves many things, I cannot describe all features in the forum, and I'm not used with GPRS modems (my modems are base band serial modems...).
        Anyway, I would say that in your project you should proceed like this:
          1) Configure your FP 2000 module via MAX and ethernet connection;
          2) Download an embedded application to your module (build in LabView Real-Time)
          3) In your application, you should build a kind of serial port manager, and by the means of serial port you send/receive commands from PC.
        The commands from PC can include "Tell me the about the FP 2000 file system ", or "switch on line X", or anything you need.
       I think it would be difficult to use Internet exp, because you use IE with TCP/IP, and TCP/IP is over ethernet.
       I know that for Windows you can find some wrappers that make you "see" the serial port as an ethernet, but these wrapper do not exist under filed Point, and you shoul build one yourself!!!(and that's not easy).
        For example, to browse your files, you should build a VI that searches through your file system, and reports, via serial, the files present in a directory (it's an example....).
        About communication between GPRS modems and FP2000, I know nothing.  I suppose that these modems accept serial inputs, so you'll have to configure your serial port on FP 2000 with the correct baud rate, parity, and so on..... and you send your data to the modem.  The modem will transfer data in its way, no matter on how it does.
        To send data to your modem you shoud take a look to some Serial communication examples.  What I suggest you, first, is to connect the serial port of FP2000 to a PC, and test communication between PC and FP2000, without modems. Just direct cable connection!  If you're able to do this, insertion of modems is the next step, and should be quite easy.  If you're not able to make the PC receive strings of data from FP2000, over  RS232, adding modems is a further complication, and you won't come out of this mess!
       So, what I say, is just build, for now, a simple embedded application for FP2000, that, using RS232, sends data to a PC (you should see data sent with use of Hyper terminal).
        To build this application, use Instrument I/O --> VISA commands (VISA open, VISA write, and Property node should be enough, for now).
       Please, let me know if this helps......
        Have a nice (programming) day!
    graziano

  • I have developed one application software using Labview 8.5 in which i am collecting data from 5 temprature controllers on serial line.

    I have developed one application software using Labview 8.5 in which i am collecting data from 5 temprature controllers on serial line.
    This software is done and successfully installed on customer side.
    Now the customer want this software to be run on server and some fixed number of clients should access this with some login security.
    Is this fascility available with National Instruments in which i can installed this standalone application in server and allow some clients to access this with
    proper login?
    Regards,
    Vaibhav

    Yes, that is possible. Multiple clients can access the VI using Web Publishing tool and control the VI operation. However, only one client has the control of the VI at one instance. The client needs to right click on the web page displaying the front panel of the running VI and ask for control and then release control after the execution to let other clients to ask for the control subsequently. The LabVIEW VI needs to be running upon the server computer since closing LabVIEW also closes the Web Publishing server and disconnects the currently connected clients. 
    Please check this link http://zone.ni.com/devzone/cda/epd/p/id/3797
    You might want to create a stand alone executable for the same and then publish it over the internet for access by your desired clients. In that case, check this link http://digital.ni.com/public.nsf/allkb/3A0087DBE9D31F9286256B19000A2DAE?OpenDocument

  • Is it possible to track a stolen ipods usage via serial number

    Is it possible to track a stolen ipods usage via serial number

    No. The SN will only help identify the iPod as yours if it is recovered
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
      - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

Maybe you are looking for

  • Is it possible to create invoice for Free of Charge order

    Dear All, Is it required to create a Billing document for an Free of charge order as far as Indian scenario is concerned. We are not charging any value to the customer for Free of Charge. Free of Charge order value will be Zero only. In this case, is

  • Image Processor gives a slightly reddish hue to jpgs

    For some reason, my Photoshop's (CS4) Image  Processor gives jpgs a slightly reddish hue when compared to the hue in  for example Microsoft RAW Image Viewer (or the LCD display of the  camera). How come is this possible? Shouldn't the Image Processor

  • How to integrate an page created in Dreamweaver

    I've created a site in iWeb. For my audio page I want to use a specific flash player that I could not get to work by merging it in my audio iWeb page (some conflict with one of the .js file). So my solution was to hack it. By that I mean I recreated

  • Question about waveform chart time scale

    Hello, I have question regarding to time scale on my chart, I want  it to show the actual measured time, for example  from 0-30 seconds, but instead my minimum value is 302654789854 . Please help me to fix it. Regards , Stella Deheryan

  • Drag and Drop to Batch Convert Videos Using FFMPEG

    I've created this simple Applescript that will run an FFMPEG command in the Terminal (which I want to show so that I can see the progress) on files dropped on the MTS to Cropped MPG.app icon: on open filelist           repeat with i in filelist