Instrument I/O Assistant refuses to save serial port settings

(I'm using Labview 7.1 on
Windows XP)
I have a problem communicating with a device over a serial port using my lab
computer. The serial port is the only port on the device.
I have successfully communicated with the device on this computer using
windows HyperTerminal.
I have successfully communicated with the device through Labview on another
computer.
I am using the Instrument I/O assistant to get things up and running, this
worked fine on the other computer, but on this computer there are problems.
When I click on COM1port "properties"  in the "select
device" pane I get the "Edit vesa resource" dialog, but it comes
up with a "port settings conflict", it says:
"The Vesa port settings are different from the Windows port settings. Select the
settings you want to keep."
Whichever settings I choose, when I hit save I get a dialog box with the
message "could not write specified port settings to the operating
system." So it won't save the settings and so it won't work when I run the
vi. (I know the right settings and they work in HyperTerminal, Labview just
won't accept them.
Can anyone help?
thanks,
Luke
Luke_A_P

I have solved the problem!
It seems that admin rights are needed to save the settings, this seemed odd to me since HyperTerminal did not need them and I could change settings in device manager (which didn't help in itself). But, trying Labview with an admin logged in allowed the settings to be saved.
Luke
Luke_A_P

Similar Messages

  • Serial port settings

    I can not communicate with a serial device using the Labview 6 example program. I suspect that the baud rate or stop bit setting is wrong. How do I change it?
    We have Labview version 6.
    Attachments:
    SerialComm1.vi ‏45 KB

    Hi RayPh,
    Are you able to communicate with the instrument using other application software such as HyperTerminal?
    If so, check the settings under properties.
    In Labview: At the Block Diagram, select Instrument IO from the Functions Palette. Select Serial and choose "VISA Configure Serial Port". Wire the configuration settings from the application software to this vi.
    The Context Help will show a description of each terminal and their default settings.
    You can also check the following link for more details:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=5065000000050000008E490100&HTHREAD=000084366&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

  • What bluetooth serial ports settings for?

    While configuring my A2dp stereo headset/handsfree with Lion, i notices that there is an option for editing serial ports for each device. It gives some option to add a profile. Can someone tell me what exactly it is for and how can I use it for my advantage, if any?
    Neerav

    Well, it seems like I've figured it out. I deleted the pairings (and thus the related serial ports), re-paired (probably not necessary; I probably could've just deleted the serial ports and re-added them), and I haven't had problems since.
    It seems that the problems were related to the fact that I renamed the ports to considerably shorter names (i.e. bt-gps instead of PharosiGPS-BT-GPSRFcom-1). I've left both ports with their original names and have had no problems since.
    - Mike

  • I want to communicate a RS485/2-wire device through COM1. I tried Instrument I/O Assistance to write to COM1(hex string with or without end bye:0D0A), something happened on the bus, but is not defirrential signal, and device didn't recognised them.

    I am new to LabView, so please bear with me...
    I tried to communicate with an RS485/2-wire device through COM1.  I used Instrument I/O Assistant (and Advanced/Basic Serial Write and Read examples) to write command (HEX string) to COM1,  
    tried writing HEX strings with and withour end bye (is 0D0A the correct end signal for HEX string?).  Both didn't get device's responce.  Looks like the device didn't recognize the command.
    I monitored the transmitted signals on the bus, they were not differential as supposed to be.....
    What is the possible reason to cause this? Please help...
    The hardware connection is OK, because I am able to communicate with the device through COM1 (with the same command) using different software application.

    How are you sending the hex? Is your string control set for hex display or normal? If it's set for normal, then if you send something like 'AD', then you aer sending the ASCII characters 'A' and 'D' and that's not the same thing. I don't believe the I/O assistant can send hex but you can modify the basic serial write and read to do so. Just right click on the string control and select 'Hex Display'. You can also enter the data in a numeric control (set for dex display) and use a type cast or an array of U8's and use the Byte Array to String function. Hex data usually doesn't use any kind of termination characters such as CR/LF.
    If communication is working with another app, then as you said, the hardware is okay and it's not a problem with differential signaling.

  • Reading/writing to serial port w/ VISA in Labview

    I'm writing a Labview program to control and to read data from a Varian vacuum pump controller. It is connected to the serial port in my computer, and I have been trying to open a VISA session to communicate with the instrument. So far, however, the computer cannot see the instrument--I get the same error messages reading and writing to the instrument as I do to an empty serial port. Does anyone have any suggestions on what the problem might be? Thank you.

    There are a lot of possiblities. Is the cable correct? You probably need a crossover cable (TX and RX) swapped. You also need to check and make sure the serial ports on both ends are set the same (i.e. baud rate, handshaking, stop bits, etc.). Make sure that the port is enabled. I've seen people try to use a comm port only to find that a modem card installation caused the port to be disabled. You could also try using hyperterminal to talk to the instrument. If you can communicate there, you can eliminate any hardware problem.

  • Serial port reads unconventional characters

    Hi,
         I'm using the serial port to read 32 8bit numbers and have been getting some strange characters read back.
        I've tested the hardware with Matlab which works fine but with Labview I get the following string
        À Ð à Ð àÿÐÿÐÿÐÿÐÿÐÿÐÿÐÿÐÿÐÿÐ À
       Since these are not standard characters I can't seem to convert them to any other format. I've also used an ActiveX control (AComPort) in Matlab to do the same thing and I get the identical string above, so its something to do with the format rather than an error in the reading I think.  However if I use AComPort to read one byte at a time (rather than a string) I get the correct numbers, so could I do the same thing in Labview?
    Thanks for any help
    Emrys  

    hi there
    i bet there's something wrong with the serial port settings
    - Enable Termination Char (T)
    - Termination Char
    - data rate
    - data bits
    - polarity
    - stop bits
    you can adjust these settings with the "VISA Configure Serial Port.vi". please check if the settings are correct.
    you wrote "However if I use AComPort to read one byte at a time (rather than a string) I get the correct numbers", so try 8 databits, 1 stopbit, no parity and disabled termination character or see the documentation of AComPort .
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • VISA Configure Serial Port setzt RxD auf +5.8V

    Hallo,
    Ich habe ein Problem mit dem Empfangen von Daten von einem Mikrocontroller.
    Das Testprogramm auf dem Microcontroller (TC1796) sendet beim Empfang des ASCII-Zeichens “J“ (0x4A) das ASCII-Zeichen “_“ (0x5F) zurück. Als Pegelwandler wird ein MAX232 verwendet.
    Wenn ich "J" mit einem Hyperterminal sende, kommt das Zeichen wie gewünscht zurück.
    Wenn ich jedoch das Selbe mit LabView mache, empfängt der Mikrocontroller das "J", sendet "_" zurück, was aber von Labview nicht empfangen wird.
    Dabei habe ich das Beispielprogramm von LabView verwendet.
    Zum Testen habe ich einfach mal probiert, die beiden Pins RxD und TxD der seriellen Schnittstelle des PCs kurzzuschließen (Loopback).
    Die von LabView gesendeten Zeichen wurden empfangen.
    Als nächstens habe ich die Signale am Oszilloskop gemessen. Dabei ist mir aufgefallen, dass LabView beim Herstellen der Verbindung zum Port, die RxD-Leitung dauerhaft auf +5.8V setzt (auch wenn der Mikrocontroller gar nicht verbunden ist)
    Das Hyperterminal macht das im Gegensatz dazu aber nicht...
    An was kann das liegen?
    Im Anhang sind die Bilder vom Oszillosop
    Attachments:
    RS232_LabView.png ‏23 KB
    RS232_Terminal.png ‏23 KB
    Connect_to_Port_LabView.png ‏16 KB

    Hallo student,
    1. Dies ist ein englischsprachiges Forum, wenn du viele Antworten haben willst, solltest du also in englisch posten. Alternativ gibt es auch ein deutschsprachiges Forum: www.labviewforum.de !
    2. Statt der Oszilloskopbilder wäre es hilfreicher, wenn du dein VI angehängt hättest - oder wenigstens Bilder von dessen Blockdiagramm.
    3. Hilfreich bei solchen Sachen ist es auch, die Kommunikationsparameter zu überprüfen (von Baudrate bis TermChar)!
    Nachtrag zu 1.: Crossposts bitte in beiden Foren entsprechend mit Links kennzeichnen!
    For the English speaking reader:
    I told him to post in English, to attach VI (or block diagram picture) instead of scope plots, and to check serial port settings including termchar.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Instrument I/O Assistant (sending command from labview to arduino)

    Hi,
    I am a beginner in Labview. I would like to control the intensity of AC loads using labview. In this case, i would prefer to use instrument I/O assistant. The instrument I/O assistant in labview will have to send a command to Arduino. The intensity will be controlling by using slider in labview. How to write the vi for this example? Please advice.

    feliciacpw92 wrote:
    Hi,
    I am a beginner in Labview. I would like to control the intensity of AC loads using labview. In this case, i would prefer to use instrument I/O assistant. The instrument I/O assistant in labview will have to send a command to Arduino. The intensity will be controlling by using slider in labview. How to write the vi for this example? Please advice.
    In the thread for your other post, you were told that LabVIEW installs by default example programs on how to use LabVIEW with serial port.
    Have you bothered looking at that?
    You need to do some work on your own.

  • Instrument I/O Assistant Missing

    Hi I am trying to communicate with an oscilloscope through Labwindows CVI by making use of the Instrument I/O Assistant, and on this site it shows how one is able to do that:
    http://zone.ni.com/devzone/cda/tut/p/id/4554
    However in my tools menu there is no Create Instrument I/O Task option available.  I am running version 6.0 could that be the reason? If so any other ways to get around that? And if not any ideas how I can communicate with the oscilloscope through the Instrument I/O Assistant.
    Thanks in advance

    Hello,
    It could be that Instrument I/O Assistant was not around in CVI 6.0, be sure that you have NI VISA installed. Are you talking Serial or GPIB to the instrument? You certainly do not need the instrument I/O assistant, you can write the code yourself and start with the VISA examples which cab be found at:
    Start >> Programs >> National Instruments >> VISA >> Examples >> C
    Have a good weekend!
    National Instruments

  • Instrument I/O Assistant RS232 communication problem

    Hello!
    I am currently trying to create an instrument driver for a Ballard "Nexa" fuel cell with the Instrument I/O Assistant.
    The fuel cell data is 43 byte sent every 200 ms at 9600 Baud (8N1). I do have a working communication, because I can see the data coming in when I´m using an ordinary terminal program. The Instrument I/O Assistant however does not seem to receiver anything.
    Here´s what I do / what I see:
    Create an empty VI
    Place an "Instrument I/O Assistant" block on the block diagram, the Instrument I/O Assistant windows pops open.
    Choose device: COM1 or COM2, depending on where the Nexa is connected (Choosing different devices has no influence on my problem)
    Add step "read and analyze"
    Click "Run this step" to read the data coming in from the serial port, but nothing happens until the the timeout set on the choose device tab has expired, then I get a timeout message (see attached picture).
    I added a RS232 diagnostics plug that has blinking LEDs while data is flowing to make sure there is data coming in while the assistant is running.
    I a previous thread, I read that the Instrument I/O Assistant has a bug concerning the locale settings of windows:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000002DBF0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=Instrument+I%2FO+Assistant+is+not+communicating&USEARCHCONTEXT_QUESTION_S=0
    So I tried the same after switching my locale settings from german to english, but with no success, the I/O Assistant still seems to see not input.
    Does somebody have another s
    uggestion? Has anybody written a serial read/parse VI from scratch that he/she might share so I can use that as a starting point, if the assistant keeps failing for me?
    Thank you,
    Ingo.
    Attachments:
    errormsg.gif ‏5 KB

    Hi TN,
    As I just started using LabVIEW, developing an instrument driver seems like some pretty heavy stuff. For now, I´ve managed to have someone else write the communications backend, I´ll only do the data conversion and display. But I´ll for sure take a closer look at that communications VI so I ´ll get it done myself next time...
    Anyway, thank you for your reply, I appreciated it.
    Ingo.

  • Instrument i/o assistant always generates async methods for read and write!

    I am trying to generate VI by instrument i/o assistant, but it generated 'Visa write' and 'Visa read' always in asynchronous mode. Even if I unchecked asynch boxes in MAX->Visa Test Panel.
    I need only synchronous mode! And it is very uncovenient after open front panel change  Synchronous I/O Mode from Asynchronous to Synchronous!

    postoroniy_v wrote:
    Asynchronous mode does not work for my hardware.
    and before Instrument i/o assistant  generate diagram I have possibility to check requests and responses to/from my hardware. in this case everything is fine.
    after generate  does not work.
    Is it possible you don't have a sufficient amount of wait time between a VISA Write and VISA read to give the instrument time to receive the communication and turn around a response?  Take a look at Basic Serial Read and Write example VI.  If you are using the I/O assistant and checking things manually, it will work because there is no way you can generate a Read too fast.  It still would take a fraction of second to generate the write and do whatever clicking to generate the read.

  • INSTRUMENT I/O ASSISTANT EXPRESS VI - PERFECT PARSING NO OUTPUT

    I am using the Instrument I/O assistant express VI to parse data from a (visa) serial port. Neatest thing since sliced bread! I initially send a write command followed by eight read/parse commands to retrieve eight tokens each ending with cr/lf. All seems well during i/o setup. The Vi compiles and shows all eight string tokens. I then connect each one to a string indicator. When the Vi is run no data appears in the indicators. Repeated runs during the I/O setup shows tokens extracted perfectly. What's going on? 

    Hello oledaqman,
    I tried to replicate the problem you are seeing, but everything seems
    to work fine on my system.  One option I would propose would be to
    use NI-SPY to determine if the reads are actually being performed when
    you run the VI.  NI-SPY should allow you to determine if the VISA
    commands inside the Express VI are being executed, as well as
    determining whether they are receiving any data.
    This will help us to determine whether the problem lies in the actual
    transmission of the data, or the parsing of the data after it is
    received.
    Let us know what you find, or if you have any questions, and we will be happy to help.
    Jason S.
    Applications Engineer
    National Instruments

  • Instrument I/O Assistant Crash

    I am using Instrument I/O Assistant to read data from a scale through a Serial->USB conversion, using LV2012 SP1 (I've also tried this on LV2010 with the same results).
    I configure the baud rate, parity bits etc, and that seems to work fine.  
    I add the "Read and Parse" step or a "Query and Parse" step, and then try to run the Instrument I/O Assistant.  The Instrument I/O Assistant window closes.  It doesn't throw an error, or a warning or anything.  
    Needless to say, the vi where I use the I/O Assistant does not run either.
    Any thoughts as to why this is happening?
    Attachments:
    Scale.vi ‏39 KB

    Personally, I think not having the assistant is not such a bad thing. What happens when you use the simple serial example? What sort of converter are you using (ftdi, etc.)? What os and version of VISA?

  • Instrument I/O assistant doesn't work, i've installed its driver after labview

    I've installed labview 7.1, NI DAQ740CD1 & CD2 and Instrument I/O assistant's driver. But when I open the properties
    of Instrument I/O assistant i have an error message which says that i have to installed Labview 7.0 before the Instrument I/O assistant's driver(i've done it). I desinstalled and reinstalled this driver but after the operations, the same message is still here.
    i tried to do something else. i've desintalled labview and all the drivers. the Labview installation program prompted me to insert the National Instruments Device Drivers CD. i clicked "cancel" (it's said on the notice) and i've installed the NI 488.2 Driver, the NI DAQmx Base Driver, NI DAQ740CD1 & CD2 and Instrument I/O assistant's driver. I have always the same message. Why ant what can I do??? I need to have the output "TokenName" on the Instrument I/O Assistant and it's not here.

    Hello,
    Which driver have you on your computer ? You can see them in MAX >> Software. Which is version of ni-visa, ni-488.2 ?
    What kind of protocol do you want to use : gpib, serial, parallel ?
    What ahhpens in AMX when you test your communication ?
    What are error code and error string ?
    Regards,
    Isabelle
    Ingénieur d'applications
    National Instruments France

  • Measurement and Automation explorer or the Instrument I/O Assistant is not installed correctly.

    I am having difficulties getting Labview to work with my NI card.  I have a PCI_6225 card running on a Win 7 64-bit install.  I had to download all of the drivers and installers from the NI site and during the Labview install, I recieve a prompt asking for my hardware drivers.  Since I only have the compressed hardware installer, Labview doesn't like what it sees and continues the installation of LABVIEW.  I then attempt to open an analog input channel through the Instrument I/O Assistant which displays the error seen in the image attached.  
    I know the hardware works because in the Measurement and Automation client, I am able to observe the analog input I hope to collect in LABVIEW.  
    Is there a fix to get LABVIEW working?  I have tried multple installs of LABVIEW and am on a administered computer through my University's IT people.  I have 'full admin' rights.  Thanks.
    Attachments:
    error.jpg ‏254 KB

    Hello jbaxter,
    When you download the Drivers from NI's website, make sure you unzip them (extract them) to a folder on your computer before you install them. If you use the NI Downloader it should prompt you to unzip and run the files after the download is complete. You need to either repair, or reinstall DAQmx and NI VISA. Make sure you download the latest versions of these first:
     http://search.ni.com/nisearch/app/main/p/bot/no/ap/global/lang/en/pg/1/sn/catnav:du,ssnav:sup/1//en/...
    Then go to Control Panel»Programs and Features»National Instruments Software and click Uninstall/Change then go to DAQmx and NI-VISA and click Repair. You can then point to folder that you downloaded from NI's website (make sure this is not a zip folder, but the folder that has been extracted). Or you could choose Remove, and then reinstall them both again. Also if you are using GPIB, reinstall or repair the NI-488.2 driver.
    Here are some relevant links:
    http://digital.ni.com/public.nsf/allkb/DC808866AF7D5C0986256FCE006E9BAB
    http://forums.ni.com/t5/LabVIEW/Again-I-O-Assistant-not-installed-correctly/td-p/1024807
    http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/quot-MAX-or-Instrument-I-O-Assistant-not-inst...
    http://forums.ni.com/t5/LabVIEW/Install-Instrument-I-O-Assistant/td-p/1471516
    Software Developer
    National Instruments

Maybe you are looking for

  • Track response of .ICS file(Meeting request) in SAP R/3

    Dear Experts, I am able to send the meeting request to MS-Outlook using the following thread. [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b035a861-5f61-2c10-d086-c4dd779dd253] When the user opens the .ICS file and accepts the meeting requ

  • Classes using each other in packages

    I've almost understood package's mechanic. But when I try to use class which is defined in another file in a package I've got an error :/. I have CLASSPATH set to .;. Here is sample code: File Main.java package testpackage; public class Main {       

  • Can i set a repeating event for every 5 days?

    Can a repeating event be set on the iPhone 5S running IOS 7.0x for an interval of less than a week but more than a day?

  • Desktop Manager v6 cannot installed on XP

    Hello, I tried to install DM v6_b047 on my windows XP SP3. It asked to download "Microsoft .NET Framework 3.5 SP1". So I did what it required but it couldn't continue and said "cannot find". I did again with FW, Anti-virus shut down, NOK. What's the

  • Error 7: can't open iTunes

    In the last few days, each time I try to open iTunes, it doesn't open and I get Error 7 (iTunes was not installed correctly. Please reinstall iTunes). I've tried reinstalling it and it starts working when I do, but when I restart my computer the erro