Set-up configuration of visa driver

I'm setting up  new device via VISA TCP/IP Resources. my evice is plugged into the physical computer through a COM port which then communicates with the instrument via RJ-11 telephone wire. I can not get VISA to recognize my device

Hey terbotim,
If you are connecting to your device through a COM port than you will not be able to communicate with it through TCP/IP.   This document gives a good overview of serial communication: http://zone.ni.com/devzone/cda/tut/p/id/2895 
This link is a tutorial which gives information about setting up a serial device in MAX.  Please post back if you have any additional questions.
Regards,
Kevin
Product Support Engineer
National Instruments

Similar Messages

  • Use configuration file VIs to set AppFont in INI

    I am using the following code in an attempt to set AppFont, SystemFont, and DialogFont in an executable's .ini file all to Segoe UI 15. I was disappointed to discover that the configuration file VIs don't seem to write the key correctly. When I use this code, I get the following in the .ini file:
    AppFont = ""Segoe UI" 15"
    SystemFont = ""Segoe UI" 15"
    DialogFont = ""Segoe UI" 15"
    What I really need is:
    AppFont = "Segoe UI" 15
    SystemFont = ""Segoe UI" 15
    DialogFont = "Segoe UI" 15
    In other words, the configuration file VIs add an extra set of quotation marks. With this extra set of quotation marks, the executable ignored these settings. The "write raw string?" input didn't seem to affect this behavior. 
    Does anyone know of a way to get the configuration file VIs to write this key/value pair correctly, or do I need to write extra code to either remove the quotations or do the whole thing myself? It seems like the configuration file parsing/editing VIs that NI provides should be able to parse and edit NI-provided configuration files...

    There is no way to do this with the current config file API. That "write raw string" input only pertains to escaping certain characters. We also have an internal API for writing data specifically to the LabVIEW.ini file, but it has the same problem with extra quotes.  For now, you'll need to either refrain from using the config file VIs, or add some post-processing code to go in and remove the extra quotes.
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Can you set up a portable hard drive on airport extreme

    is there a way to set up a portable hard drive on the AirPort Extreme using windows?

    FWIW, I currently have a number of WD My Passport portable USB HDDs attached to both my AirPort Extreme and Time Capsule base stations.
    In order for either base station to share out this HDD, the drive needs to be formatted in either HFS+ or FAT16/32. It can't share NTFS or ExFAT formatted drives.
    Once a properly formatted drive is attached to the base station's USB port, you would use the AirPort Utility to configure it for sharing. Once that is done, Windows treats these drives just like any other network shared drive. That is, they can be accessed using the following format: //servername/sharename. In this case, the "servername" is the base station's Base Station Name, and the "sharename" is the HDD's volume name.

  • How to install and configure NI Visa Server without having to install MAX?

    Hi,
    I need to install NI Visa Server on a computer so that remote systems can connect to the devices connected to it. However, the flash-drive on the computer is marked as "removable media" by the operating system which is causing the MAX installer to error out (this is a known problem with standard windows installers and removable media).
    Before pursuing a hardware change, I was wondering if there was a way to install and configure NI Visa Server on the embedded computer without having to install or configure through MAX?
    Thanks in advance for any help.

    Hello!
    Your system should appear under remote systems and then you can right click on the software folder and install software. Our 8145s for instance have compact flash drives and this process works. Could you give me more details on your hardware? Are you getting an error message when you try to install the software?
    Allan S.

  • Setting up raid0 and 2 drives

    Having a problem completing the raid setup with my 2 80GB drives. I followed the wiki perfectly from what I can tell. When I run LVDISPLAY
    It shows
    LV Name /dev/array/root
    VG Name array
    LV Status available
    LV Size 50GB
    PVDISPLAY shows
    PV Name /dev/md0
    VG name array
    PV Size 148GB
    VGDISPLAY shows
    VG Name array
    format lvm2
    VG SIze 148GB
    everything appears to be in order. When I try to install, Arch sees the 2 physical drives sda and sdb.?
    Is this normal, and if so I cant seem to get the installer to setup the raid properly??
    I setup the partitions as 100MB /boot, 50GB root, and I want to make the rest for /home...
    Can anyone help

    This is generally what I do when I'm setting up my raid stuffs...after booting off of core install ... because I want to load packages from the cd/disk img or maybe I'm networkless for whatever reason.
    1.  Configure the individual drives /dev/sd{a,b,c,d...} with 'cfdisk' (however you want) 
        (gotcha:  don't forget to do the math...i.e. "if I want a 100MB RAID10 /boot and I have 4 drives, then ...."  it's comical to wind up with a 10GB /boot or something )
    2.  Reboot & confirm drives have been chopped up how I wanted/intended.
    3.  Check/Load kernel & raid modules/apps & configure raids --RAID0 you say?
    # mdadm --create /dev/md1 --level=0 --raid-devices=2 /dev/sda5 /dev/sdb5
    3.  Create any desired LVMs & PVMs.
    4.  /arch/install
    It is very important to note that if, for whatever reason, you reboot BEFORE the install has actually finished, you will need to manually reload kernel modules, install mdadm (and anything else you need) and re-create/re-assemble any RAID/LVM partitions before running /arch/install again. 
    After you do it a few times it becomes a breeze I promise ... i credit the wikis

  • What property settings to I need to set in order for VISA Serial Read to read ASCII exactly like the legacy serial read vi?

    I have successfully built a vi which communicates with a piece of equipment via the serial port using ASCII characters. I am trying to replace the older versions of Serial Read and Write VIs with the VISA Serial Read and Write VIs. The VISA Write works fine, but the when reading data coming from the "box", the VISA Read VI returns string data with foreign looking characters instead of the usual correct ASCII characters as shown by a dumb terminal which is in parallel with the serial data line. Is there a special property node which needs to be configured on the VISA Serial Read vi, or do I need to set something on the VISA Configure Serial port v
    i?
    Why aren't the VISA serial vis compatible with the older serial vis?
    Thanks...

    Usually, garbage characters are an indication of a baud rate or parity mismatch, or maybe a stop bit or number of data bits setting. Make sure that you have configured your port correctly with VISA Configure Serial Port. I have used VISA serial successfully many times.
    - tbob
    Inventor of the WORM Global

  • Can I change the content of a section in config data file use Configuration File VIs of LV?

    There are  few sections in my .ini file, I need to change the content of a section in this .ini file. Are Configuration File VIs in File I/O fuction pallete able to do that?
    Thanks.

    You should be able to.  Open the .ini file, read the key (if it exitst) delete it and write a new key (you might be able to directly overwrite the key but I havent tried this). Close the file with the write file? set to true and you should have modified the .ini file with the config vis.
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Setting up an Oracle ODBC Driver and Essbase

    Hi all,
    I am trying to retrieve data directly from Essbase into SAS (Statistical Analysis Software) by setting up an Oracle ODBC Driver and Essbase.
    I read this document in the below link and I was convinced that I could use ODBC to connect to Essbase, but our data administrator says that Essbase is an OLAP database and can NOT use ODBC.
    http://docs.oracle.com/cd/E10530_01/doc/epm.931/esb_sqlint.pdf
    I am a SAS programmer, but I have no background in technical configuration, so I was wondering if someone can help me if it is really possible or not to connect to Essbase using ODBC.
    If it is possible, I have a follow up question...
    I followed this link below to do a set up and did so successfully before the actual step to add a new data source to ODBC driver.
    I should be able to select the TNS Service Name from the drop down list. This name will be that which I named in the TNSNAMES.ora file’s Alias = section, but I don’t see this option…
    It would be great if someone knows why I do not see this option populated under drop-down in the screenshot.
    Setting up an Oracle ODBC Driver and Data Source | Ten Six Consulting

    1) As I recall, the problem of returning 0 is caused either by an outdated version of the ODBC driver or of the MDAC (Microsoft Data Access Components). Updated versions of the ODBC driver are available here on OTN and updated versions of the MDAC are available at <http://www.microsoft.com/data>.
    2) Versioning-
    To determine the version of the Oracle8 ODBC driver you should be using, simply match up the first three digits of the ODBC driver version and the Oracle client version (see chart Mr. Oehl posted). The 8.1.5.6 ODBC driver should go on an 8.1.5.x.x system, the 8.1.6.1 ODBC driver should go on an 8.1.6.x.x system. If you have an Oracle7 client, you'll need one of the version 2.5x Oracle7 ODBC drivers.
    Any ODBC driver should connect with any Oracle database. No need to match anything up there. You can determine the version of the database you're connected to by calling the ODBC function SQLGetInfo with the InfoType SQL_DBMS_VER.
    A little elaboration on version numbers
    - Oracle versions are generally 5 digits (i.e. 8.0.5.2.4, 8.1.5.1.1). The versions that you get on CD's are generally (always?) x.x.x.0.0 versions (i.e. 8.1.5.0.0, 8.1.6.0.0). The last two digits are incremented by periodic patchkit releases <ftp://oracle-ftp.oracle.com/server/patchsets/wgt_tech/server/windowsNT/>
    - ODBC drivers must report versions in 4 parts, each part having 2 digits (i.e. 8.01.05.05). Since we're lazy about typing extra 0's, we simplify this and just refer to the 8.1.5.5 ODBC driver.
    - The 8.1.5.x ODBC driver is built with the client libraries that ship with Oracle 8.1.5.x.x, the 8.1.6.x ODBC driver is built with the client libraries that ship with Oracle 8.1.6.x.x, etc. This is why I said above that you need to match the first 3 version numbers between Oracle client and ODBC driver to determine which to use.
    I hope this is more enlightening than confusing...
    Justin Cave
    ODBC Development
    null

  • Develop visa driver

    I'm new to Labview. I have a Hardware, connected vie etthernet to a desktop computer. I want provide labview code, to easy connect to Labveiw with this hardware.
    A code in VC C++ already exists connecting to the hardware, with
    1) Init function, initialising the hardware, prompting first time the user for ip address and finding all modules connected to the hardware
    2) start function, starting thread for each module, writing and reading data to an form each module with a given period as parameter
    3)IO functions reading and writing to each module, parameters: module, bytepos and value for writing.
    Is the Visa Driver developemnt the proper way of doing it?
    open -> 1)
    configure -> 2)
    peak, poke -> 3)
    It is a good idea to use the c-code library functions in an dll library connecting to labview?
    Or should I use an other approach?
    Thanks in advance.

    Thanks for all the links,
    I went through many of the documents.
    Again the description: In Visual C++ is already existing code, where the user can write an application using API functions for Initialising, Starting and I/O. Only in the background threads, the data are transfered and recieved via Ethernet to the hardware.
    Rewriting the C code in Labview would only increase the maintanace work.
    All what i read about VISA functions, they are interfaces to a card, serial port, TCP/IP devices. In my case, Labview should access the c- API functions, so that code will handle the access to the hardware. What is the best way for this access.
    It is a good idea to import them through a library dll as vi's, put them into the private section of my Labview driver, and use Labview standard public function signitures  to provide a uniqe interface for my code? Exist such an standard, and if yes, where I can find it?
    Or it is better way , to run the VC Application with a socket server, and using VISA with TCP/IP as resource?

  • Have a LaCie external 2big RAID drive; two 1T drives in RAID 0 configuration (striped).  Drive works perfectly as one big 2T external disk but Mac Installer (Lion - App Store download

    Have a LaCie external 2big RAID drive; two 1T drives in RAID 0 configuration (striped).  Drive works perfectly as one big 2T external disk but Mac Installer (Lion - App Store download & Snow Leopard DVD) refuse to install OS X Lion or OS X Snow Leopard on RAID drive.
    Previous RAID - two 500g's in RAID 0 had SnowLeopard/Lion installed and worked just fine as bootable drive.
    Help!

    Keep in mind a RAID 1 only protects you from hardware failure of one of the drives. It does not protect you if the hardware raid/chip set decides to take a vacation. Also, if FCP corrupts a file, it is written as corrupt to both drives.
    I'm a big fan of separate but equal. Two drives. One goes to the site, the other remains at the hotel. At night, you back up the site disk to the the hotel disk. If something happens to the computer and the disk at the site the next day, you at least have the material back at the hotel.
    eggs. baskets. that sort of thing.
    good luck.
    x

  • Can I set up multiple usb hard drives- one for time machine and a second for media? Can one also print wirelessly with an old HP C6280 printer?

    Can I set up multiple usb hard drives- one for time machine and a second for media?
    Can one also print wirelessly with an old HP C6280 printer?

    Can I set up multiple usb hard drives- one for time machine and a second for media?
    Yes.
    Can one also print wirelessly with an old HP C6280 printer?
    Possibly by using an Airport Express, but depends on what type of port connection the printer requires.

  • NI-VISA Driver with Interrupt detection

    Hello everyone,
    I am new to PCI and PCI driver, encounter an problem when use the NI-VISA to program a PCI driver with the interrupt detection.
    Here is the situation:
    This PCI card is made of two chips : the PCI9030 pci bridge chip and ET1100 chip (the local chip that connected to PCI9030). The memory of ET1100 is mapped 1:1 to the PCI9030 memory starting at BAR2. Now I want the PCI card generates an interruption when the content of register at offset 0x221 changes.  
    I add the interrupt detection (see the figure above or the attachment), interruption removal and disarm following the guide "Using the NI-VISA Driver Wizard and NI-VISA to Develop a PXI(e)/PCI(e) Driver in Windows". However, when I completed and installed this driver in the LabVIEW RT OS, the system can recognize the card, but cannot generate the interruption when the register at offset 0x221 changes, therefore does anyone tell me the reason ? Or tell me how to program this driver using NI-VISA?
    Any suggestions is welcome.
    And Thank you in advance!

    Duplicate post here: http://forums.ni.com/t5/PXI/NI-VISA-PCI-driver-with-interrupt-detection/m-p/2618341
    Bobby Breyer
    Applications Engineer
    National Instruments

  • Error while trying to install NI-VISA driver on SUSE LINUX 11.1(The version of gcc in the path does not match the version of gcc used to compile the currently running kernel.)

    hi i am trying to install NI-VISA driver on SUSE LINUX 11.1.
     the error message it shows is
              ******************************** ERROR ****************************************
    * The version of gcc in the path does not match the version of gcc used to    *
    * compile the currently running kernel.  This can cause unpredictable         *
    * behavior in kernel drivers and should be fixed.                             *
    * gcc version: Linux)                                                          *
    * kernel compiled with: 4.3.2                                                 *
    ******************************** ERROR ****************************************
    my kernel source version is 
       linux-8nes:/home/admin # rpm -qi kernel-source
    Name        : kernel-source                Relocations: /usr/src
    Version     : 2.6.27.29                         Vendor: openSUSE
    Release     : 0.1.1                         Build Date: Sun 16 Aug 2009 03:43:52 PM IST
    Install Date: Sat 24 Oct 2009 02:13:12 AM IST      Build Host: rinck
    Group       : Development/Sources           Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
    Size        : 309251954                        License: GPL v2 only
    Signature   : RSA/8, Sun 16 Aug 2009 03:57:25 PM IST, Key ID b88b2fd43dbdc284
    Packager    : http://bugs.opensuse.org
    URL         : http://www.kernel.org/
    Summary     : The Linux Kernel Sources
    Description :
    Linux kernel sources with many fixes and improvements.
    Authors:
        Linus Torvalds <[email protected]>
        see /usr/src/linux/CREDITS for more details.
    Source Timestamp: 2009-08-15 17:53:59 +0200
    GIT Revision: 8a413546901c407e96f7fba18574cceeb40452af
    GIT Branch: SLE11_BRANCH
    Distribution: openSUSE 11.1 
    i had also installed GCC 4.3.2.
    it shows the error message as i had posted.
    please kindly help me on this.
    Thanks and regards,
    P.karthick

    Check this solution

  • Setting Up New External Hard Drive to Backup Windows and OSX

    I've just ordered a Western Digital My Book Home Edition 500GB external hard drive from Amazon for £79.17 (c/w 1m eSATA to eSATA cable and shipping in the UK). For the time being, I intend to use it mainly for backup. My MacBook3,1 has a 149.05GB internal drive, which is nearly full. I'd used PC's for more than twenty years before rare financial circumstances enabled me to take the plunge and migrate to the Intel-based MacBook last year. Although the migration process hasn't been without teething troubles, I'm glad I've got a Mac and pleased to say I now feel as comfortable using it as I used to feel with PC's. (But it has taken a year of concentrated effort.) The relevance of this is that I have an awful lot of work in old Windows-based programs, which I need to keep backed-up and accessible. The MacBook's internal hard drive currently has 87.88GB dedicated to the Macintosh HD and 60.86GB dedicated to Windows (Vista, Business edition).
    Could you advise me, please: how should I set up the new hard drive with a view to using it to backup the Mac with Time Machine while dedicating a partition for Windows? Actually, I have another desktop with Windows XP, which I'd also like to back up. That hard drive (the XP machine's) is 80GB. Presumably, I'll need to set up partitions for: 1) Time Machine, 2) OSX.5.5 bootable, 3) Windows Vista (on the MacBook) and 4) Windows XP (on the old desktop). If I give 80GB to XP and 70GB to Vista, that leaves 350GB (probably closer to 320-or-soGB in reality) for the MacBook. I don't use virtual machines or any other software to access operating systems - just reboot through BootCamp. What's the best way to go about doing this?

    Check out the following Apple Support article to see if it will help: AirPort: How to mount an AirPort Extreme USB hard disk volume in Mac OS X and Windows

  • USB Visa driver stops responding

    I have currently developed a production test for a USB device but am coming across a very strange bug.  I go through a test sequence via case structure (i.e. Test 1 = Button 1 test, Test 2 = send command to device and read response back, Test 3 = button 2 test, etc).  I send commands through a control transfer and/or read data through report 8.  Also when the button is pressed, I read it through the interrupt endpoint.  I am using a VISA driver for this USB device that I created through the NI-VISA driver wizard.  Of course I open the VISA when I start the test and close the VISA once the test sequnce is completed (whether it passes or fails).
    However, I sometimes get a strange issue where the USB device stops responding between test sequences.  For example, test 1 passed but when it gets to test 2, the dongle does not seem to respond to the command and therefore, test fails within a certain amount of time that I specified.  But, if I leave the device plugged in and I restart the test, it will go through the sequence just fine. 
    I have used a USB sniffer (i.e. CatC) to monitor the USB traffic on the USB line.  When I press buttons, I can see that there is still data transferring wirelessly (this is a wireless joystick) via an LED that blinks on the dongle whenever it recieves data from the joystick, however, I see no USB traffic on the sniffer.  If I leave the dongle plugged in and I simply restart the test sequence, I see USB traffic again. 
    This is very strange to me and I suspect that Windows is somehow losing the USB dongle and then reenumerating it (but I am not sure).  However, when this is done, the VISA session is now lost in the middle of my test sequences and I cannot recover until I open up the VISA again.  Has anyone ever come across this type of issue before?  It is strange because most of the time it works, but sometimes it does not and it is giving me false failures.  I am not sure if the dongle is "reenumerating" during my test sequence or if some reason, the VISA session is getting lost.

    Is it possible that the device is getting reset? I have seen some devices that do no reset themselves correctly and Windows does not detect that they have been reset. The net effect is that the 2-way communication becomes a 1-way pipe. One experiment you can try when you see this happen is to unplug and plug the device back in. If you begin reading data again then Windows and the device are getting out of sync for some reason.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Maybe you are looking for

  • Adobe cloud application manager - can not connect to internet

    To ADOBE - The Adode cloud Order no is DSSY006786009DT and is current The Adobe cloud application manager - can not connect to internet even though there is internet connection and says it might be time zone error but that is correct  - Sydney Austra

  • Adding a WLAN for Remote Location

    Hello everyone, I have a question about creating a WLAN for a remote location on a 5508 WLC that's housed at our main office.  Attached is a diagram of the connection between the two locations.  My question is, how do I set this up?  Our WLC is at ou

  • Selecting text issue

    Hello, I have Adobe Acrobat Pro 9 and Word 2010.  Many times in the past I have turned a Word document into a PDF with no problems. However, today I have done that, and when I try to select a word or a sentence in the PDF, instead of just selecting t

  • Cant login after shutdown

    help i can't see login window after i shutdown and release battery when i boot with command -v push the log looping like this mds[22] (error) import: importer:0x84ae00 start failed for 501 (kr:268435459 (ipc/send invalid destination port) mds[22] (er

  • Regarding month reports of current year to previous year comparision

    Hi,   Can you kindly let me know that i have to develop report of Year 2010 of may report for sales, this inturn has to pick last year 2009 of may report side-by-side at report., I heard have to write user exit variable to acheive this., Can anybody