VISA programming for PXI devices

Im using PXI 1031 with celeron 850 mhz embedded controller. Pxi serial interface is connected on one of the slots, and have 2 RS422 serial devices connected.
I wanted to know how to use VISA to communicate and control devices. I am also confused as to running VISA on the PXI controller.
I would also like to know:
1) If the PXI chassis with the serial interface is connected to a PC via the ethernet, how would the I communicate with the Serial devices. would it be detected as a PXI device or as a serial device?
2) If I load VISA on the pxi controller, how would VISA detect the serial devices. would it detect as a Serial device or as a PXI device?
Hope im clear enough.
Please reply at the earliest.

Hello,
The remote connection you use to talk to your PXI chassis should not affect your VISA programming. More specifically, a PXI serial interface should show up as a COM port, and you can use VISA to communicate with it via its resource name (usually an alias such as COM2). How you use VISA will depend on your choice for development platform. For example, in LabVIEW you could use VISA Configure Serial Port.vi along with VISA Write, VISA Read, and VISA Close functions. You may also use a property node for more advanced features. In any event, if you repost with your choice of development environment, I can likely point you to an example you can use to get more comfortable.
Regards,
JLS
Best,
JLS
Sixclear

Similar Messages

  • Programming for Palm devices.

    Two simple question this time.
    1. What do I need to start developing applications for Palm devices?
    2. Does anybody know any good references for beginners in this matter.
    Kind regards and thanks in advance,
    Kurt.

    I've successfully got a java app running using the J2ME... I think there was a Palm-specific version I downloaded. Basically, it comes with a Palm micro VM, that takes up about 300K on your Palm. Then your java classes are packaged using a special utilitiy into PDB files, which you can directly run on the Palm.
    This works pretty well, as long as you stick to the basic libraries that come with the J2ME. If you try to do anything fancy, the overhead from linking in all the external Java classes (taken care of for you, mostly, by the PDB packager) becomes a little extreme.. try doing XML processing, for instance, and you'll end up with a 500K program...

  • Java programing for Mobile devices on OS X

    im completly new to java, and very interseted in getting started with developing for mobile devices..
    i have experience with other languages (C#.NET, a little VB.NET, BaSH, Ruby, Python...)
    but i dont really know were to start..
    what do i need to create, compile, and use java aps on mobile devices
    Also, im using OS X 10.4, so i would need someting mac compatible...
    (i have an HTC S710 with Windows Mobile 6.0)
    Message was edited by:
    maxtors

    Hi java is platform independent , so dont worry about support on MAC etc.
    what i would suggest is before thinking of coding for mobiles learn core java. Install editors like netbeans,eclipse and understand the languages.
    The folowing links will help you
    http://java.sun.com/docs/books/tutorial/
    FYI java has Java ME platform for developing application on mobiles
    Vijay

  • Lag When Programming For iOS Device With Adobe Flash Professional.

    Hi, I'm trying to make an Application for iOS device, Everything is find, but when i installed it on my iphone 4 and my iPhone 4S my game start lagging, i don't what to do, i tried to simplifed the code but nothing is working i dont know if it's in the rendering or when i'm trying to export, but on my iPhone it's lagging.
    Any Help Please, Solution ?
    Thanks
    Francis

    Target gpu on the device you're testing .. you'll get much better results.
    You can do it on the xml configuration file on <renderMode> or if you're publishing in flash on the settings of renderMode select GPU.
    Also get rid as much as you can from vector graphics and use bitmaps instead.
    You can use Adobe's method of converting a vector in bitmap like this : myMC.cacheAsBitmap = true;
    And also if you're moving an object, scaling or changing it's transparency use myMC.cacheAsBitmapMatrix = new Matrix();
    These are some basic optimization tips.

  • Documentation for programming a PXI card with VISA in LabVIEW.

    Hi,
    Where can I find a documentation for programming a PXI card with VISA in
    LabVIEW?
    Thanks.
    Denys.

    Dan,
    Thank you for your answer, short but useful to start.
    Denys.
    "Dan Mondrik" a ecrit dans le message news:
    [email protected]..
    > Denys:
    >
    > Our NI-VISA documentation for PXI has been somewhat scarce. We are
    > improving it in the next version. In the meantime...
    >
    > Call VISA Find Resources with "PXI?*INSTR" to find all PXI devices.
    > Call VISA Open with a device string like "PXI::devicenum::INSTR" or
    > "PXI[bus]::devicenum[::function]::INSTR". In LabVIEW, use the VISA
    > class "PXI Instr", available since LV 5.0. (The generic "Instr" will
    > also work but will also present GPIB and VXI options and may be too
    > confusing.)
    >
    > The property node has all the available PXI properties such as
    > BAR0-BAR5 base/s
    ize/type, and also manufacturer ID and model code.
    > You can use all the register based in/out/peek/poke methods, just make
    > sure to use the appropriate address space for your device.
    >
    > Dan Mondrik
    > Senior Software Engineer, NI-VISA
    > National Instruments

  • Is there a Replacement Program for 2009 iMacs with MXM Graphics Cards?

    I have an iMac 24" Early 2009 with the Nvidia GeForce GT 120 256MB MXM graphics card that is freezing and crashing over-and-over, especially when I'm away and it's not connected to my 2nd display! Odd. I've done the usual (cleaned the iMac inside, run fsck, SMC reset, PRAM reset, repair permissions from boot USB, disconnected all peripherals, changed mice and keyboards, changed the HD, reinstalled the OS, run Onyx and so on) and finally decided that it's a faulty graphics card that only a replacement will fix. When I'm home it's more stable when connected via a Displayport DVI adapter to DVI cable to a 24" Dell display. When standalone (like when traveling with my iMac for long stints out of town) it's unusable. It won't run for longer than 30 minutes, often not even 10 minutes, then I get screen artifacts and freezes and then have to fsck to repair the drive before running it again. Only running it in Safe Mode will allow it to run reliably.
    However, I believe that I found a stopgap solution. I installed a program which I downloaded after installing XCode called Quartz Debug which has apparently allowed me to disable Quartz Extreme, 2D Acceleration and Quartz GL.
    Turning off all Quartz graphics enhancements makes this machine stable if not exactly completely "mac-like" in its performance, but it's at least usable under most conditions for long periods of time. I know of people who have replaced the MXM graphics card on this machine with good effect, but it's an expensive proposition and these cards are apparently few and far between. Has anyone done this?
    Based on the large number of nearly identical complaints about this model, both here and elsewhere, it seems like this MXM graphics card is defective or Apple's drivers are defective . . . well maybe, but it very, very predictably crashes when the computer gets hotter and not even _extremely_ hot, but well within what would be normal operating temps for other machines.
    I've disassembled and completely cleaned the inside and have replaced the HD with an SSD and removed the optical drive entirely so if anything I've reduced heat-producing devices from the interior of the device installed a fan control and keep the graphics card features mostly turned off.
    I've looked for but have yet to see a recall or warranty replacement program for this device and no, I don't have Applecare. I've owned several Apple products in the last two decades and with the issues with Apple products in recent years, it seems like Applecare must be figured as part of any Apple purchase if reliability and ongoing support is desired.
    Ironically, I have an Apple IIc and a Power Computing Power Tower 166 that still work just fine, thank you!
    JoeL
    Atlanta, GA

    This cropped up on my wife's late 2009 model 27" iMac, too.  Random freezes were encountered, unable to identify cause for months, then one day it started to become unable to complete a normal boot.  Tech Tool Deluxe was the only direct indication as far as diagnostics are concerned.  I've NEVER been abvle to get Apple's hardware diagnostic to run from the cloud, and we fianlly got it on a Techs' bench, AHT showed nothing wrong.  As you said, Safe boot is the only way to get into the system, and performance under 10.8.5 is glacial.
    Now the kicker - we DID have AppleCare, and this phase of the MXM graphics demise hit within 4 or 5 months of AppleCare expiration.  There's no longer a flat-rate repair option, Apple doesn't have any stock of the video board to sell as a replacement part (was $169, or $179 w/no exchange) and even refurbs of this paltry (512MB VRAM) board can hit $300.  I know Mac users have become 2nd-class citizens in Apple's business universe, but we're now looking at sub-42 month lifespans for hardware?  At $2k for a machine that lacks touchscreen option, that's out of line.

  • I would like to get the program for (9012,9233 and 9101)

    Hi all,
         Now i have bought
                          the controller (9012) cRIO,
                          the module (9233)
                          the chassis (9101)  .
    i would like to get a supporting program for those device to be able to use them up (configuration and compile them up together to be able to use) .As I want to test some of my application using these device.Where can i get that program properbly.Thank you for your support.
    With best regards ,
    Kit

    Hi Kit,
    I understand your question now and I can point you to some usefull resources.  First, you mentioned the three components, the chassis (which contains the FPGA), the ReamTime controller and the module.  You also of course have your PC which is what the user will interface with to perhaps view the data on a graph.  You will need to create a new FPGA project and you will have several key components in that project:
    1) a VI on your FPGA target that is programmed to do I/O from your 9233 module.  This VI must be created and then deployed and compiled onto the FPGA (this is like programming the chassis)
    2) a VI on your RT controller that will use a DMA fifo to get the data from the FPGA.  You may also have some signal processing or some other logic on this VI.  This VI must be deployed to the RT controller
    3) a VI on your host computer that will read data from the controller, probably save it to a disk and display it on a graph. 
    I would reccamend looking at a few resources to help you get started:
    1) FPGA Design, Development and Programming Tutorial
    2) Getting Started with the FPGA Module from the LabVIEW help files
    3) LabVIEW FPGA Module On-Line Tutorial, this is a video tutorial that will be helpful
    4) Use the LabVIEW example finder (in LabVIEW go to help»Find Examples) and under the "search tab" type in 9233.  Open the 9233 getting started project that will populate in the list of available examples for the 9233.  This project will serve as a starting point for your cRIO system programming. 
    I hope this helps.  Thanks and have a great day.
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • How to program with different device by NI-VISA?

    Dear NIer:
    firstly I will list my enviroment.
    SW:Labwindows/cvi 5.5/VISA/MAX.
    HW:HP pc/pci-gpib/GPIB-VXI/DD42916.
    QUESTION:
    1 MAX always think GPIB-VXI/C and DD42916 as a GPIB device.Why don't they think these devices listed above as a VXI device?
    2 Since MAX think DDC42916 as a GPIB device, and DDC42916 supports word serial communication, How can I program with this message-based device by NI-VISA?
    I searched for appropriate function in NI-VISA ref manual,but I failed.VXI WSPRotocal COMMand is not suitable here evidently.
    3 Then how can I program the other device like register-based device and memory-based device under this circumstance?
    4 if slot0 controller changed from GPIB/VXI to 1394/VXI
    ,then how to program?

    east-
    I see this question was answered (and then discussed again in depth) in the VISA forum. I'm posting these links in case anyone looks here for an answer.
    -Scot

  • "Enable Access for Assistive Devices" is missing from Yosemite and my QuicKeys program depends on this to work.  Help!

    This is my second day trying to get my QuicKeys application to work in Yosemite, but "Enable Access for Assistive Devices," which QuicKeys needs to work, is missing from Yosemite.  I have gone through the entire System Preferences panel (Security and Privacy, Accessibility, Keyboard, etc.) without success - it's just not there.  I have checked this app in the Privacy pane and dragged
    "QuicKeysUserEventHelper" out of the QuicKeys Resources folder into the Applications folder so it could "appear" in the Privacy pane, and then checked it there. Is there any way to enable access for assistive devices - a Terminal command, perhaps?
    QuicKeys is my most used program, which I have had since its inception at least 10 years ago!  Help!

    Thank you for your reply!  I did everything that Startly recommended (actually, gb2), and when I dragged the QuicKeys Helper into the Privacy box. I didn't see it, but after I quit and restarted QuicKeys, it worked!  However,I had  first  dragged the QuicKeys app to the trash, emptied it, then restarted.  Next, I redownloaded QuicKeys from Startly and THEN I went to gb2's directions.  All together, my QuicKeys now works on my MacBook Air.  BUT NOW, I keep getting the warning that says that this version and activation code are already in use by another user!  I am also getting those warnings on my Mac Pro -  which had the same problem yesterday (QuicKeys not working), until I heard back from a Technical Advisor from Startly, who told me about trashing the app and redownloading from their site.  Last night, that version of QuicKeys worked WITHOUT my having to drag the QuicKeys Helper app into the Privacy pane.  Perhaps it is there, but invisible - the helper app is not visible on either of my computers' Privacy panes.
    OK, NOW WHAT DO I DO?  Every 20 seconds or so, I'm getting those annoying warning signs (on BOTH computers) and requests to put in my activation key, and then told that it is being used by another user!!!
    AM I EVER GOING TO BE ABLE TO USE MY 2 LICENSES FOR MY 2 QUICKEYS PROGRAMS???

  • NI-VISA as default driver for USB device with another manufacturer's driver?

    Hi Labview Developers or AE,
    I have read the tutorial, "USB Control Tutorial Device" at link.
    I read a paragraph "If you do not know the USB vendor ID and product ID, to get them, plug
    the device into the computer and allow the computer to recognize the
    new device. Cancel out of the Found New Hardware Wizard if it starts.
    Open the Device Manager from the Control Panel and find your device on
    the list, usually under "Other Devices". It may show a yellow
    exclamation mark indicating it is an unknown device. Double click the
    device to open the properties. Select the Details tab and ensure that
    "Device Instance Id" shows in the attribute dropdown box. A string of
    characters will be displayed similar to Figure 3. The four characters
    to the right of "VID_" and "PID_" are your vendor ID and product ID,
    respectively. Write down the characters for your device, close the
    Device Manager, and unplug the device from the computer. Alternatively,
    you can contact your device vendor to obtain this information."
    I am wondering if it is okay to install two drivers together and do labview with two of them simultaneously. I am using Advantech USB-4716. I installed Advantech driver so that I can use Advantech-labview functions to control and measure. unfortunately, , there's no advantech function like reset.vi  in case of problem reading. So I wondering if it is okay to use NI-VISA driver by wizard as mentioned above and advantech-Labview functions together. I have not figured out  how to reset Advantech USB-4716.
    Pls  advise. Thanks
    Clement

    Hi Nicholas,
    I found the drivers in those links.
    First of all the customer must install our Device manager ( DAQ Tool ) and Driver
    http://support.advantech.com.tw/support/DownloadSRDetail.aspx?SR_ID=1-246K8V
    That's he needs to do always before using our devices.
    For LabVIEW he also needs to install in addition the LabVIEW driver
    http://support.advantech.com.tw/support/DownloadSRDetail.aspx?SR_ID=1-29WTFD
    It is the LabVIEW or LabVIEW DAQ , it depends on customer LabVIEW software that he is using
    After installation he will get in LabVIEW ready made VI ( examples ) to use from Advantech and also the Manual

  • Best program for monitoring and blocking internet use on my kids mobile devices, iPads, iPhones from my MAC

    Whats the best program for monitoring and blocking internet sites and usage for my kids on their mobile devices ipads, iphones and ipods, all from my desktop mac?

    Can't be done from your Mac remotely.
    But you can enable parental controls directly on iOS devices.
    iOS: Understanding Restrictions (parental controls)

  • Where can i find driver for ethernet device for PXI-8175 for windows 2000?

    Ethernet driver for PXI-8175

    Hi
    Usually you can find the driver in the "image" folder on the controller, but you can it download from this site too (NI 8175 Series):http://www.ni.com/support/vxi/vxi_perph.htm#pxi8171
    Luca P.
    Regards,
    Luca

  • Ni pxi 6608 programs for timestamping

    can any one give sample programs for time stamping using ni6608 in vc++ by using gps and without gps .with reference to system clock.and also drivers for ni6608

    Hi,
    I believe that this Devzone article provides a great tutorial performing exactly what you wish to do.  I hope this helps.
    JaceD
    Signal Sources Product Support Engineer
    National Instruments

  • How do I create Labview VISA ports for *individual* GPIB instruments using Prologix USB GPIB controller?

    Hello,
    I'm trying to use a Prologix USB GPIB controller to control GPIB
    instruments, and I would like to have a virtual serial (VISA) port for
    *each instrument*, as is the case with a normal GPIB controller with a
    standard NI driver. However this is not what the Prologix driver
    provides -- it provides a single VISA virtual serial port for the
    entire controller. To address the instrument with GPIB address 11,
    you first send "++addr 11" to the serial port, and then you're talking
    to instrument 11. However, this means I have to change all old
    Labview programs.
    Is it possible to create a "wrapper" function of some kind that will
    define a virtual serial (VISA) port for each *instrument* on the
    controller? For example, to talk to GPIB instrument 11, call it
    ASRL3::11::INSTR, each time it is written to it would have to write to
    the virtual serial port of the controller, say ASRL3::INSTR, first "+
    +addr 11" and then the command that is sent to it.
    A clearer explanation of the difference (i.e. incompatibility), and of
    my objective:
    1) A normal GPIB controller with NI driver: I go to the NI
    Measurement & Instrumentation Panel, under GPIB, and Scan for
    Instruments; all the live instruments show up; subsequently when I
    want to use Labview programs that use VISA ports, the VISA drop boxes
    allow me to choose a different port for each instrument, e.g.
    "GPIB0::11::INSTR", "GPIB0::12::INSTR" would be instruments at
    addresses GPIB 11 and GPIB 12.
    2) The Prologix GPIB controller that plugs into a USB port: In
    Labview you get a *single* VISA virtual serial port, ASRL3::INSTR, for
    the entire GPIB0 controller. Therefore to address GPIB instrument 11,
    you write "++addr 11" to the virtual serial port ASRL3::INSTR, and
    then you are communicating with device 11, so you can write and read
    ASRL3::INSTR to talk to that device. Then to talk to device GPIB 12,
    you write "++addr 12" to the same VISA port, and then you are talking
    to that device. The problem is that this requires recoding all
    Labview code, whereas I would like to be able to use the same program
    either with a normal or with a Prologix GPIB controller. Therefore, I
    would like to create code that scans the controller for all GPIB
    attached devices and creates VISA ports for all. Such ports, when
    written to, would have to first write "++addr DEVICENUM" to
    ASRL3::INSTR (i.e. the port of the GPIB-USB controller) where
    DEVICENUM is the GPIB address of the instrument corresponding to that
    port, and then would have to do a write or read or whatever function
    is being done on that instrument VISA port.
    I haven't figured out if it is possible to do this easily. Help and
    pointers on where to look for hints would be much appreciated. Many
    thanks!
    Milos

    My first impression is that if you don't want to make any changes at all to existing programs is that the wrapper you need is one around VISA. You would need to intercept all of the calls into the NI VISA driver. If you create your own visa32.dll and in there, change the addressing and then call the real VISA driver, you might (repeat, might) get something to work. If this would even work, you still might find that you have to make significant changes anyway. The serial connection is going to be considerably slower, and interface specific functions such as service request handling, bus triggering of multiple instruments, etc., would be difficult to impossible. This would be a lot of work, imho, to just save a couple of hundred dollars over a real GPIB controller. I've seen this Prologix device before and have even used NI's RS-232->GPIB controller. The Prologix intended use to me seems to me more for a hobbyist or very casual user. Of course, I'm used to having multiple GPIB instruments worth 10s/100s of thousands of dollars and the cost of an fully compliant GPIB controller is just lost in the noise.

  • Expanding Control for One Device to Ten Device

    Hi
    Right now I'm working on a project where I have to modify the LabVIEW code written by someone else. The code is already proven to work for just one device, and I have to figure out a way to make it such that can control ten devices. I'm thinking of using the current code, and adding a drop-down box with device names 1-10 and when clicking on each individual one, the input and indicator values will change accordingly.
    However, I have a few questions about implementing this.
    How do I handle the DAQ assistances such that when I change the device number in the drop-down box, that I don't change the actual input, only have the input shown (i.e. make sure the input to the actual devices are what I want but it only shows on the front panel the values for whatever device number I select). Would I need multiple DAQ assistances?
    With regards to the drop-down menu, would a normal drop-down menu be best, or is the better option to go with an enum or a listbox?
    Thanks

    Try avoiding multiple DAQ assistants. Actually, I would recommend using the DAQmx VIs instead, because, they offer more control and higher performance. If you would like to keep using the DAQ assistant, you can follow this instructions, simply add more channels using the blue plus icon. Make sure the device name in MAX and the DAQ assistant match with the hardware. If you have problems with this use the green arrow, on the channel settings section, and select the physical channel that you are targeting. I hope this helps.
    Alejandro | Academic Program Engineer | National Instruments

Maybe you are looking for