Serial port: from 6i without visa to 7express with visa ?????

upgrading from NT4 6i max 2.5 to 2000 7exp max3.1 my pzt on PC serial port do not move anymore. The DA converter do not understand the instructions.
Running max on the coms: done OK
Looping back the visa instructions: done instructions OK
Trying hyperterminal: done OK (the DAC move)
the coms are in function but the DAC do not move while driving with visa...any suggestion??

I also upgraded from LV6.1 to LV7 and use serial communication. I now use VISA (and prefer it). However, for the older functions.. they should work..
Have you looked into the VISA Advanced controls under Interface Specific and under "Serial". You may find the functions you need to "upgrade" your serial comm vi's.
-JLV-

Similar Messages

  • Can i get my serial number from itunes without connecting my ipod?

    cani i get my serial number from itunes without connecting my ipod?

    Yes, but first you have to make a hat out of aluminum foil, sacrifice 2 pounds of red jelly beans to the serial number god, run around the block three times on one leg while chanting OH Wa Ta Goo Siam.   When you get back home the serial number will be written on a piece of paper inside a mayonaise jar that is buried exactly 49.475 feet NNW of the southeast corner of your house...  But don't tell anyone I told you this....
    Now where's my hat....

  • How send data to serial port from forms 6i

    How send data to serial port to activate hardware connect.
    The hardware is a drawer for cash the point of sales.

    Andres,
    I do the exact thing you are looking for,
    I spool out a text file using text_io
    the file will either contain a double ^G or an epson escape sequence, depending on the drawer type connected.
    I then copy this file to the port using a copy function id d2kwutil
    Works perfectly, but god knows how I'll do it if we want to run the point of sale over the web :)
    John

  • HT1349 My Ipad was stolen, How can I get the serial Number from Apple. It was registered with them

    I had  2 Ipads, a mac book pro and a Mac Air stolen 2 weeks ago
    I am trying to locate one of the serial numbers, but cant find the last box.  Can I get the serial number from Apple. It was registered and now it is not showing up as one of my products.
    Thanks

    The easiest way to find your serial number is this Open Itunes...click help... run diagnostics.....(tick or untick as necessary) so that you just have ticked the last two,  device connectivity and device sync.  run these tests. it will say no ipod/ipad found but will give results of test....scroll down to bottom of results... here you will find the serial number of your last attached devices.

  • Access I/O Ports from RT without an FPGA VI

    I am having only one VI in RT but no VI for FPGA. So, How could I access the input Output Ports without using the FPGA VI. I am using the FPGA Interface Mode. 
    Thank you.

    Guessing you are using a cRIO or something similar.
    You just need to use the scan engine to use it directly.
    Try these links
    http://digital.ni.com/public.nsf/allkb/0DB7FEF37C26AF85862575C400531690
    http://www.ni.com/white-paper/7338/en/
    If the above doesn't make sense, post details of your hardware and software (version etc)
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Writing to serial port 1 from a PDA

    ok this program is driving me NUTS! i have this microchip which uses a certain protocol... now this protocol requires that you send it some characters in hexadecimal so it'll reset... afterwhich it'll send you a data packet containing the version of the microchip etc etc (it's an aduc812... which you can find on www.analog.com)... anyway, that's not important... i am having trouble actually WRITING to serial port 1... i noticed that doing it through an actual PC requires some sort of "open serial port.vi" which is not available in the pda version... all i have is init.vi which is apparently not enough from what i am told... i thas to be opened first... initialized next... then written to then read from... does anyone know how i can acc
    omplish this open procedure with the pda module? is that some sort of software i'm missing? why isn't it included with the pda module add on... etc etc... thank you in advance... i really need help with this so as much information as possible would be appreciated... let me know if you need further info...
    christina

    Hey Christina,
    Here is a link to a knowledge base one simply writing to the serial port from a PDA.
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=E011F478861443EFE034080020E74861&p_node=%20DZ52363&p_source=External
    Hope this helps.
    Brett

  • Serial Port Hangs

    Hi, i have two computers (Solaris 10 - client and server) running two different java applications communicating via serial port.
    One of them sends a telegram (about 40 chars) to the other every 50 milliseconds and waits for the acknowledge telegram to send the next available telegram. After a couple of hours, the serial port of the server side becomes unable to send or receive any data.
    If I restart the applications (close the ports and reopen again), after sending another telegram, it hangs again. I tried opening the port using "tip hardwire", serial port sends one character, client gets one character then the same result. (Setting inputbuffersize to 0 and 1024 again is no help)
    If I reboot the computer, everything's fine again. Opening the port using "tip hardwire works fine. I'm using javaxcomm library.
    Is there any way to make the serial port functional again without rebooting, or any tips to understand what's the problem?
    Thanks.
    Edited by: senole on Aug 9, 2010 1:57 AM

    HEllo;
    Couldn't find anything on our Databases regarding that combination. My suggestion is to upgrade the VISA driver to the latest version available, and to contact the manufacturer of the third party device to see if they have something reported related to a compatibility problem is between their product and NI DAQ board.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • CRIO serial port activation

    I was working & connected a gyro through serial port of cRIO 9022. I could see "visa//192.168.20.1::instr" in the drop down of VISA resource name. From this moring, I am not able to see that drop down! I tried restarting, reconnecting. It did not help. How can I make it visible(detect) again. What may be the problem?
    -Amith Vasista.

    Hello Rajeev,
    This is an old post, and I almost missed the reply, but I'll see if I can help.
    As you have experience with Hyperterminal, have you plugged the serial port of the cRIO into hyperterminal, and see if anything is actually be transmitted?
    Does the LCD have a microcontroller that interprets the serial commands?
    If so, do these commands have to have an explicity baud rate or termination character?
    Consider looking at this example as a guide for troubleshooting:
    Serial Data Transfer Between cRIO and Host
    In the future, consider making a new post, and just linking an old post.  Hopefully, someone can reply to you much sooner.
    Regards,
    George T.
    Applications Engineering Specialist
    National Instruments UK and Ireland

  • Problem writing to serial port

    Hi All,
    I am very new to LabVIEW (just a couple of months). I need to communicate with a serial port of an Advanced Energy RF generator (Ovation) serial port (AE Bus)
    The manual talks about little endian conversion, CSR and checksum that I just can't make it work. does anybody know how to write and read to this serial port?
    I have used the write and read to serial port from examples with no luck and no response from the generator. I have attached the generator's manual here, the serial commands section starts at page 65 (4-25)
    Has anybody written a program to talk to Ovation RF generator? can anybody help me out and get me started? I am stuck!!!. ... appreciate your help. thanks.
    ~Johnny
    ~ Johnny
    Attachments:
    Ovation - AE RF generator.pdf ‏1444 KB

    Thanks... so I started with the basic serial write and read, enetered hex text strings into the serial write, including the checksum and what I read back is not always correct because for example I need to calculate the XOR in the program and not just eneter it as a hex value. I should also put the write and read into a loop because I will be writing and reading to serial port 2 dozen times.
    I am working with two devices, one is the generator, the other is a controller board that has a very similar serial bus structure as the generator's AE serial bus. the controller board has stepper motor drivers that move two variable capacitors. for the generator, I need to turn the power on and off and set to different power levels. for the control/stepper motor driver board: I need to read the values from a text file(attached). the text file has 3 table, table1, column1 is the number of steps that the stepper motor will move and column2 is the nominal capacitor values for C1. same thing table2; values are number of steps versus nominal cap values for C2. I need to creat a matrix such that to move the C1 to steps listed in the table, and for every step increment in C1, I need to move the C2 motor to 20 different position (listed in the table3 that has the desired percent value of total capacitance ) position and make a measurement of the impedance of the capacitors with agilant E5061 network analyzer and write the data back into the same text file at the end where it says "IMPEDANCE_REAL     in Ohm    one line per C1 position"  and into a excel sheet too while taking a measurement... and do the same thing all over again for C2 versus C1. I think  I need to use the producer consumer design pattern eventually when I get the details worked out first.
    any suggestion? .... much thanks.
    ~ Johnny
    ~ Johnny
    Attachments:
    Basic Serial Write and Read1.vi ‏24 KB
    cap-table.txt ‏7 KB

  • J2ME in Pocket PC - sockets - serial port

    Hi Guys,
    I am writing a J2ME application for a Pocket PC using Windows Mobile 2003
    I have chosen the J9 VM to run my J2ME applications on the PPC.
    My application will use tcp/ip sockets communication to connect to a server. Do you know if there are any issues of using this part of J2ME on a Pocket PC?? ( I have tested the same application on Java enabled mobile phone and it is fine)
    I also want to access the serial port from my J2ME application (read/write data). Do you know if it is possible to do it on a Pocket PC through the normal way?? (using the javax.microedition.io package??)

    evelknievel you said that implemmented bluetooth
    connection like a serial link, where can i find some
    documentation to do that?i am sorry, that i cannot offer you a link to a tutorial, because i just tried it out by myself using an iPAQ h5550 with windows CE 4.2 (i think this is equivlent to PocketPC 2003, or 2003 SE) which is able to create such connections. the bluetooth-driver of each side of your "serial bluetooth link" has to implement the so called "serial port profile". maybe you should google for it...
    i found some information on this:
    "To open the connection using the:
    * PocketPC
    o Most Bluetooth drivers for PocketPC provide the mapping between Bluetooth serial ports and virtual COM (inbound/outbound) ports. For example WIDCOMM Bluetooth driver (BTW-CE 1.4) that comes with hp iPAQ h5550 by default assigns COM port 5 as the inbound Bluetooth serial port and COM port 8 as the outbound Bluetooth serial port. These COM ports are configurable from the driver's Bluetooth manager."
    i found it here:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/15987c8cb752ead786256dc20070b433?OpenDocument
    hopefully this information is useful to you or anybody else :)
    best regards
    evelknievel

  • Does it exist a way to create a COM port based on a VXI serial port instrument

    The goal is to be able to access a serial port located in a VXI instrument either through VISA ASRL device or through Windows API (createfile, writefile, readfile)functions

    It's just not feasible. Windows requires a kernel driver for Serial ports, and you couldn't implement your VXI accesses in the kernel because we don't provide kernel-level APIs to you. NI-VXI and NI-VISA are user-level APIs only.
    If you absolutely must do this, note that I said it is not feasible - but it is possible. You'd have to have your kernel driver call out to another user-level process that in turn made VISA calls. This has been done before, both at NI and elsewhere, and I highly discourage it because it's extremely error-prone and you're too likely to get blue screens. A kernel driver just is not meant to make calls back out to the user level.
    Dan Mondrik

  • Finding iPad Serial Number in iTunes Without Being Connected

    I recently lost my iPad.  I'm trying to provide the authorities and airlines any means by which to identify it, serial number being the best way.  Is there a way that I can retrieve the serial number from iTunes without having the iPad connected to my computer?

    Nevermind!  I figured it out... logged into my support profile at https://supportprofile.apple.com/
    And all of the devices that I have registered are there.

  • Additional Keyboard on serial port

    Can I extend the KeyEvent class to handle more than those 114 keys?
    I have an additional keyboard hooked up to the serial port.
    I generate special custom KeyEvents with special KeyCodes after receiving certain bytews from the com port. I create new KeyStrokes using this KeyCode to be able to address this KeyStroke in a JMenuItem.
    The problem is, that the standard KeyEvent spits out: "Unknown KeyCode:..." if I want to set the according KeyStroke as accelerator for a JMenuItem. This seems to stem from the method:
    public static String getKeyText(int keyCode)
    in the standard KeyEvent thatonly gets the text for KeyCodes between a lower and upper limit and my KeyCodes exceed this limit of course, since there is no space left.
    Regards
    Joerg Hoebelmann

    And how about changing your scenario a little bit?
    Since you have a special program to catch signals on COM port, you can enhance it with a logic to run the appropriate action from the menu directly.
    If you want to stick to your solution you can try to take a look on the KeyEvent.java (source of KeyEvent.class) - maybe there's a possibility to break the limitation of 114 keys (but personally, I think it will not be possible)

  • Any way to communicate with Serial PORT using JavaScript

    is there any way to communicate with Serial PORT using JavaScript ??
    Dont tell me to do it in java because I need to this on client side not on server side.
    such as when client pressed the button, a javascript function will be called and in that function I need to communicate with the serial port of that client... That action will not go to server side.

    Is there any way to send a string of bytes to the serial port from the client side ?
    Just a button on the web page that sends out stuff to the comport.
    I was hoping to do this using java script also ..

  • Java Serial Port Question !

    Hello,
    I am writing characters such as "open\r", "close\r" to the serial port of a PC from the Java program. This PC is connected to robot controller through the serial port.
    Suppose, I am writing open\r to the serial port. After writing open\r, the controller immediately echos "open" back to the serial port, which my Java program can read & print. Then, approximately after 1 second, when the robot actually executes the open (Open Gripper) command, the controller sends "Done.>" this response. I want to monitor & read this response "Done.>" because I want to check controller's response ("Done.>") before sending next command.
    1. Is it MUST to listen & read data at port at the time the data comes? Does the data gets lost if we don't read the data at the time it comes? For example, if data comes at 10000 millisecs, then is it MUST to start reading at 10000 or 10001? Would that data get lost if we start reading after say 3 seconds i.e. at 13000?
    2. If some data ("Done") comes at the serial port from controller and the Java program does not read that and if suppose more data (".>")comes at the serial port after 1/2 second, then does the previous data("Done") gets erased?
    3. My problem is --> the java program that I have written, can sometimes read & print controller's response --> "Done.>" and other times it does not find "Done.>"....That means the data --> "Done.>" is getting lost somewhere or Java program is not able to read it..The controller always sends "Done.>" when it excecutes "open" command.
    Thank You !
    Mayur
    Below is the code I am using...
    import java.io.*;
    import java.util.*;
    import javax.comm.*;
    public class WriteReadEdit implements SerialPortEventListener {
    CommPortIdentifier portId;
    Enumeration portList;
    OutputStream outputStream;
    InputStream inputStream;
    SerialPort serialPort;
    public static void main(String[] args) {
              String command1 = "open\r";
              String command2 = "close\r";                    
              boolean EndCharacterQMark = false;
              WriteReadEdit readObject = new WriteReadEdit();
                   readObject.Write(command1);
                   try {
                        EndCharacterQMark = readObject.waitUntilDataComes();
                        System.out.println("EndCharacterQMark is: " + EndCharacterQMark);
                   }     catch (IOException e) {}
                        if(EndCharacterQMark) {
                             EndCharacterQMark = false;
                             readObject.Write(command2);
                             try {
                                  EndCharacterQMark = readObject.waitUntilDataComes();
                                  System.out.println("EndCharacterQMark is: " + EndCharacterQMark);
                             }     catch (IOException e) {}
                        readObject.closePort();
    synchronized boolean waitUntilDataComes() throws IOException {
         String total="";
         boolean EndCharQMark = false;
         StringBuffer inputBuffer = new StringBuffer();
         int newData = 0;
         while(true) {
                        if(!dataAvailable()) {
                             try {                              
                                  wait();                              
                             }catch (InterruptedException e) {}
                   try {
                        while (newData != -1) {                         
                             newData = inputStream.read();
                             inputBuffer.append((char)newData);
                   }          catch (IOException ex) {
                             System.err.println(ex);
                        String dataAtPort = inputBuffer.toString();
                        for(int i = 0; i < dataAtPort.length(); i++) {                         
                                  if(dataAtPort.indexOf("?")>1 || dataAtPort.indexOf(">")>1 ) {
                                  EndCharQMark = true;
                                  return EndCharQMark;
    boolean dataAvailable() throws IOException {          
         return inputStream.available() > 0;
              void Write(String commandToSend) {
              String command = commandToSend;
              try {
                        outputStream.write(command.getBytes());                              
                        System.out.println("\nSuccessfully Written: " + command);
              } catch (IOException e) {System.out.println("IO Exception Occured: " + e);
    void closePort() {
         serialPort.close();
         System.out.println("Port closed successfully.");
    // Constructor()
    public WriteReadEdit() {
              portList = CommPortIdentifier.getPortIdentifiers();
              while (portList.hasMoreElements()) {
              portId = (CommPortIdentifier) portList.nextElement();
                        if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
              if (portId.getName().equals("COM1")) {
              try {
              serialPort = (SerialPort) portId.open("writereadobjectApp", 2000);
                   System.out.println("Opened the port for writing: " + portId.getName());
              } catch (PortInUseException e) {
              try {
                   serialPort.setSerialPortParams(9600,
              SerialPort.DATABITS_8,
              SerialPort.STOPBITS_1,
              SerialPort.PARITY_NONE);
              } catch (UnsupportedCommOperationException e) {
                                            System.out.println("UnsupportedCommOperationException, Could not set the port: " + e);
                                       try {                                        
                                            outputStream = serialPort.getOutputStream();
                                            inputStream = serialPort.getInputStream();
                                       } catch (IOException e) {
                                       try {
                                            serialPort.addEventListener(this);
                                       } catch (TooManyListenersException e) {}
                                       serialPort.notifyOnDataAvailable(true);
    synchronized public void serialEvent(SerialPortEvent event) {
         switch(event.getEventType()) {
         case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
         case SerialPortEvent.DATA_AVAILABLE:
         notifyAll();          
         break;

    1. Usually there are buffers in the serial port controller. Apart from that, as long as the port is open, any data recieved will be added at the end of the InputStream of the comport so nothing will be lost.
    2. Nope, see above. But there might just be some kind of limit there.
    3. Download portmon http://www.sysinternals.com/ntw2k/freeware/portmon.shtml or any other prog that is able to monitor what's happening on you're serial port. This allows you to see if the response is really send by the robot.
    You're code seem to me to be more complex then it needs to be. Check out javax.comm.CommPort.enableRecieveTimeout(int). Setting a timeout will cause the the read function to return when the timeout is passed or data is recieved. A timeout of of say 4sec whould make sure that when a reply is send, it is recieved and it's stops reading when it gets no reply.
    In that case you could do with a sendMsg function wich dus not return until the correct response is recieved, or the timeout passed.
    You migth consider putting all the communicatoin with the com port in a different Thread so the rest of the program runs on when that thread is listening to the port...
    Hope this helps you a bit...

Maybe you are looking for

  • HT3371 how to replace internal battery in Macbook Pro 17"

    My 17" went dead while sitting in a warehouse waiting for a residence. Grrr.

  • Adding more RAM to Macbook Pro mid-2012

    Hi! I have a question about adding more RAM to my mid-2012 MacBook Pro (without Retina). I've been doing some video editing with Final Cut, and I'm using quite many apps on the daily basis. I have the standard configuration with 4GB of RAM (2x 2GB) b

  • New Bios for K7T266 Pro2-RU

    Hi All, Are there any new bios' for the K7T266 PRO2-RU (i.e., above 3.7), that will support the AMD 2200+, 2400+ Processors once the Modification is done? Thanks. Craig

  • Transfer of Bal from BA to Segment or PCA

    Hi All I would like to know whether it is possible to transfer the balance of the BUSINESS area to New Segment or PCA,once i activate the New G/L . Procedure that i have to follow for Year end closing in the Migration Period. Revert Regards Praveen

  • H:outputLink problem

    Hi, I am trying to use the h:outputLink component to provide links to an external app. My page contains a text field. The user enters a url and clicks on save. The url is then displayed as an anchor which the user can click and open the desired appli