Labview USB with VISA on Mac OS X

Hi-
I have a 3rd party USB DAQ device that I'm trying to make work within labview 7.0. I've gone through the device tutorial on creating a driver with Windows2000. With Windows 2000 after using the VISA driver wizard the subvi "visa find resources" finds the DAQ device and I can talk to it
with a bulk transfer with VISA write.
With a Mac OS X (10.4), the system profiler sees the DAQ but I the VISA driver wizard won't allow me to check the usb button. The labview subvi "visa find resources" doesn't find the
DAQ. What equilivent steps do I need to do with OSX so that the find resources vi finds my DAQ?

Finally fixed the PermGen errors. I can run all day now without crashing. It turns out the eclipse.ini file is very tricky! You have to have carriage returns in the right places. Run the jmap -heap <pid> on the eclipse process id. It will tell you if your PermGen memory is actually setup how you thought it was supposed to be.
Here's my final eclipse.ini
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
892m
-vmargs
-XX:PermSize=128m
-XX:MaxPermSize=892m
-Dapple.awt.graphics.UseQuartz=true
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx892m

Similar Messages

  • How use USB with VISA resource name?

    Hi, 
    I'm new at LabVIEW and I'm working on a code that has to acquire data from a measurement device.This device only has a USB output so I have to work with it. As far as know the block that is used to refer a external port is VISA resource name. I have installed a driver that recognizes the serial ports, and they appear in the list of VISA resource file at front panel. So I figured that installing the product's USB driver so the USB's ports would appear. I installed and nothing of USB ports. I don't know it is that simple or working with USB ports is a little bit harder. I've tried a lot of things and nothing worked so here I am.
    PS: I have noticed that the driver's version is 64 bits (my pc is 64 bits)  and my LabVIEW version is 32 bits, so could that be the problem?
    The device by the way is Digital Analyzer WT500, Yokogawa.
    Thank you.
    Solved!
    Go to Solution.

    Victor,
    the suggestion of Instrument Driver is to make more easy using the instrument. 
    Normally, you should install a windows drive from manufacturer (if it isn't installed, the instrument will appear like a pendrive in device manager) and the NI VISA. But for some instruments, the manufacturers have API's that uses NI VISA to communicate with your equipments.
    So check if your instrument appear correctly in device manager (as indicated by Yokogawa). If not, check if Yokogawa has an appropriated driver for this instrument and install it. 
    Is it clear?
    If you prefer, contact NI Brazil Support by website or by phone (11)3149-3149 Ext 3.
    Ricardo Ramos
    Engenheiro de Vendas - Sul
    National Instruments Brasil

  • Labview Executable with VISA functions in Run Time Engine

    Hi Everybody
    I designed a gui to communicate using VISA GPIB. I created an executable for the gui. I also installed LabView Run Time Engine on the desired machine. I recieved couple of errors, for which I copied the files visa32.dll, NIVISV32.dll and serpdrv to the folder with the executable.
    I recieved the following error, ' Initialization of NIVISV32.dll failed. The process interminating abnormally.'
    Are there any drivers I should install in addition to the Run Time Engine? If so, where can I find these drivers?
    Thank you
    Jackie

    I installed NI-VISA with similar version as my development installation, and LV runtime engine. Labview still crashed.
    I noticed certain library functions in full labview that is not present in the NI-VISA + LV run time directory, such as _visa.llb etc.
    Do I need to copy these additional library functions too? Will Run Time Engine read these library functions?

  • USB with LABVIEW / VISA

    Hi all,
    I am a beginner in Labview. I had to develop a small prototype to read data from RS232. With VISA's functions and labview examples, everything worked fine.
    Now I would like to interface some USB devices by using similar VISA's components. In order to acquire skills in USB programming, I would like to build a simple program which for instance would get information on a simple USB device (as a USB KEY, or a USB mouse...).
    I already succesfully created specific visa drivers with the drivers wizard, installed them, see them with MAX.
    I studied the LV examples USBRawControl.VI and USBRawBulkMain.VI. But I do not succeed in getting any results. I guess I enter the wrong parameters in the example. Can anyone explain me a bit more how it works ? Or give me a set of parameters to test the LV example and get any results ?
    Thanks a lot.
    Jérémy

    No, there is no international standard in order to get/receive data from a USB device. That's exactly the problem. How the vendor implements a USB serial adapter could be completely different than implementing a USB storage device.
    You would need to ask the vendor about the data transfer mechanism - i.e. bulk or control pipe. Bulk is probably the simplest since you can just use a VISA Write or VISA Read so you would need a list of the commands to send and how the received data is formatted. This is what I used and since we wrote the firmware for the USB device, it was fairly simple. Look at the shipping example called USB - RAW Control to see how much information you need to read/write with this mechanism. If you got this to work, you would still need information on how to translate the control buffer data. I've never had to formally request this but you misght want to search the forum for posts regarding USB RAW to see if you can find more information.
    If you are getting a commercial sensor, then it is very likely that they have a dll available that can be integrated into multiple programming environments. In most cases, this is a much better solution than trying to develop your own VISA driver.

  • LabVIEW exe. with 2 USB Daq devices

    Hello All,
    I am trying to build a LabVIEW exe. with two USB 6210 data aquistion modules plugged into a USB hub installed inside a 19" rack. I used the DAQ Assistant to generate the LabVIEW code for the aquisition and it works fine. However, when I disconnect the USB cable from the development machine and reconnect later, my I/O are mapped to the wrong modules. Is there a way to map my channel names to the actual module, maybe in MAX, and just include the Max configuration file in my exe? Can I use the DAQ assistant,  or do I configure the physical channel names and create my own tasks in MAX and not use the DAQ Assistant?
    Any help would be appreciated.
    Thanks

    Hi Botman,
    Unfortunately you are in a unique situation in that you have 2 of the same type device that are removed from the system and reconnected to the system at the same time.  However, it is probably not guaranteed that one device will be detected before another consistently.  Given your situation I would recommend that you set up your application to programmatically discover the devices in your system.  There is an example program here that demonstrates how to do this.  In your case I think detecting by serial number would be ideal.  All you would need to do is include the LLB file in your project to ensure that all of the necessary VIs are included.
    Keep in mind that this will require some modification of your code.  You will need to use the lower-level DAQmx functions rather than the DAQ Assistant (which basically serves as a wrapper around the lower-level functions).  In the end, adding the VI from the example program above and using lower-level DAQmx functions will make your code more robust because distributing the executable to another system (or even using it on the development system) will not require the user to interface with MAX at all.  Let me know if you have any other questions.
    Regards,
    Andrew W
    National Instruments

  • Problem on WinXP / Labview 6.1 with VISA (serial port)

    There is a problem on WinXP / Labview 6.1 with VISA which i use to poll the state lines of the serial port. The only functions that i use are "VISA Open", "Find Resource", line state properties and "VISA close".
    On my own machine (WinME) it works fine as a standalone application (with runtime engine in the same direction), even if i rename the Labview directory so that Labview is not found.
    From my VXIpnp directory i deleted all but these files:
    directory "Win95",
    subdirectory "Bin" containing "NiViAsrl.dll",
    subdirectory "NIvisa" containing "visaconf.dll".
    When shipping this to WinXP (and copying "VXIpnp" to the root directory), the serial port was not found, so i renamed the direction "Win95" to "
    WinNT", but this did not work also.
    I installed the VISA server, although it seems not to be required -- no result.
    Final question:
    What must i do for distributing the program as a standalone application for all windows platforms?

    Hey Joachim,
    In order to create an installer that includes the VISA Run-time engine for serial IO you will have to purchase LabVIEW 7.x. See screen shot. This packages a small compact version of the run-time that can only be used for serial, but it takes up much less space. The installer that I created has my application, the LV Run-time, and the VISA run-time and it is about 26 MB.
    That is much smaller than if I had to include the 32 MB LV 7.1 run-time and the 14 MB VISA run-time separately. It would have been even smaller if I would have uncheck some of the items that I wasn't using.
    -Josh
    Attachments:
    advanced.JPG ‏31 KB

  • Ipod 4 is displaying blue frozen screen and black screen with apple logo. I try to turn power off but as soon as it goes out it automatically reboots. Plugged it into the usb port on my mac and it doesnt do anything. It doesnt appear in Itunes. Help?

    ipod 4 is displaying blue frozen screen and black screen with apple logo. I try to turn power off but as soon as it goes out it automatically reboots. Plugged it into the usb port on my mac and it doesnt do anything. It doesnt appear in Itunes. Help?

    Let the battery fully darain. After charging for an least an hour try a reset and restore. Use Recovery mode if necessary.
    If not successful, then time for an appointment at the Genius Bar of an Apple store.

  • I am attempting to convert 8mm video cassettes to dvd using a video cassette player, elgato video capture with rca/usb connections to the mac, editing in imovie and burning on idvd. The picture quality is awful. What can I do?????

    I am attempting to convert 8mm video cassettes to dvd using a video cassette player, elgato video capture with rca/usb connections to the mac then editing in imovie and burning dvd-r using idvd. The picture quality is awful. What can I do??????

    At what point is the video quality bad?  Is it bad on capture?  I would recommend using an s-video 1394 firewire converter instead.  They capture the video at a higher bit rate.  If you have a lot of 8mm tapes to capture, invest in a stand alone DVD recorder.  They capture and compress in one shot.  If you need to rip it back from the DVD into iMovie again, I would recommend using DVDxDV.

  • Sync write with Visa 2.6/LabVIEW 6i

    I setup a vi with 2 parallel paths; one sends 100 bytes at 300 baud to COM 2, and the other 100 bytes at 9600 baud on COM 3. The path for 9600 baud should complete before the 300 baud path, but no matter what setting I select for VISA write (sync/async), the 2 paths will not run separately.
    What am I doing wrong?

    LabVIEW-man:
    You're not doing anything wrong, at least not based on what you've said here. Asynchronous Serial VISA writes aren't really completely implemented in NI-VISA 2.x but we're working on a better implementation for our next version (NI-VISA 3.0). Fortunately, there are a couple of possible solutions (workarounds) for you in the meantime.
    1) Put each VISA Serial write in a separate VI in a separate LV execution system. You can set this in the VI properties. LV will then call each VISA Serial write from a different thread. This is not the most elegant solution because it requires you to redo parts of your code.
    2) Assuming this is Win32, go into MAX and choose Tools>>NI-VISA>>VISA Options. Change the Minimum Async Transfer field from 102
    4 (the default) to something lower like 64. NI-VISA will then perform the Serial writes in separate threads even though LabVIEW makes all VISA calls to viWriteAsync from the same thread.
    Regardless of your platform, you should probably call VISA Set Buffer Size with mask 32 (I/O output buffer) and set it to a non-zero value. The default is 0, which tells VISA to not return from a VISA Write (sync or async) until all data bytes have been sent from the OS to the UART. In this way it is equivalent to other buses (such as GPIB) and if you are doing a query then you can immediately start your VISA Read operation. If you set the output buffer to a non-zero value (the exact value really isn't important because most OS's ignore it), then VISA will let its Serial write operations potentially return sooner. You should then call VISA Flush Buffer with mask 32 to guarantee that the data has been sent. This last part will likely *not* change in 3.0 because most users prefer knowing that th
    e data has been completely sent.
    Hope this helps,
    Dan Mondrik
    Senior Software Engineer, NI-VISA
    National Instruments

  • Problem with USB speakers and new Mac Mini

    I have a USB sound system consisting of a pair of Harman Kardon soundsticks and a woofer from probably 10 years ago (bought and used originally with a Mac). I have tried driving it my new Mac Mini. It works fine for about a minute; then the music stops. Here's what I've tried to diagnose the problem:
    1. The problem does not occur when these speakers are driven from my Macbook Air (about 3 years old).
    2. The OS and iTunes software is up to date on both machines (10.9.5 and 12.0.1.26).
    3. It does not depend on which USB port I use on the Mac Mini.
    4. Using a port on a USB extender on the Mac Mini does not solve the problem.
    5. The iTunes Preference settings are the same on both machines.

    Sorry, no actual experience with USB Audio devices.
    I found this in the Pro forum, but the outlook doesn't seem good:
    http://discussions.apple.com/thread.jspa?messageID=1739084&#1739084

  • To add a 6 TB G-Raid (Mac os extended) ext drive to a 2Tb time capsule, using a powered usb with the TC usb port. Using the airport utility 5.6 on iMAC (10.7.3). Went to manual setup,then disk. Have options of the TC

    Want to add a 6 TB G-Raid (Mac os extended) ext drive to a 2Tb time capsule, using a powered usb with the TC usb port. Using the airport utility 5.6 on iMAC (10.7.3). Went to manual setup,then disk. Have options of the TC or 6TB. Won't allow update to the 6TB

    4Buck5 wrote:
    Want to add a 6 TB G-Raid (Mac os extended) ext drive to a 2Tb time capsule, using a powered usb with the TC usb port. Using the airport utility 5.6 on iMAC (10.7.3). Went to manual setup,then disk. Have options of the TC or 6TB. Won't allow update to the 6TB
    I am not 100% what isn't allowed.. but I am assuming you want to spread the backup across the two disks.. internal TC and 6TB external.. this is not possible.. It has to be one or the other. TC has no way to build a raid JBOD or anything else. Nor would you want to as that is the most likely to fail and kill your data.
    Let me add, backing up 6TB over USB on TC.. will be the most excruciating experience of your life.. cf child birth or passing kidney stones.. large ones.. being the male equivalent.

  • Which USB external MODEM will work with the latest MAC MINI?

    Can anyone recommend an external USB modem (other than Apple's) that will work with the latest MAC MINI?
    Thanks!
    Captain

    Hello!
    I am very happy with the APPLE USB MODEM "MA034"
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?find=ap ple%20usb%20modem#overview
    You cannot find smaller and it never crashed or anything whatsoever.
    Oh yes, and it is white!

  • Hello, I have a "clé usb" with a imovie film in. I want to read it with my mac and with iMovie but it didn't work! Can you help me please

    hello, I have a "clé usb" with a imovie film in. I want to read it with my mac and with iMovie but it didn't work! Can you help me please

    Jeanne, you are going to have to give us some additional information: what kind of files are they, on what computer, using what application, were they made, how was the USB key formatted in the first place?
    Do the files not copy to your desktop?

  • 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

  • Labview to communicate over usb with an Danfoss VLT Automation Drive FC 302 adjustable frequency drive

     Has anyone used Labview to communicate over usb (or RS232/RS485) with an Danfoss VLT AutomationDrive FC 302 adjustable frequency drive ?
     Thanks
     Hierromovil

    Duplicate - http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Labview-to-communicate-over-usb-with-a-Danfos...

Maybe you are looking for

  • Photoshop CC 2014 - "Could not complete your request because something prevented the text engine from being initialised".

    This problem has just started, only with CC 2014. It doesn't happen with CC or CS6. When I open a particular layered file, then Duplicate it, then close the original Master file I get the "text engine" warning box when I try to enter text in the copy

  • Client for 11.1.0.7

    Hello OTN Community, I installed Oracle Database 11.1.0.7 on a Windows 2008 Server 64 bit. Now I am looking for the proper client to install it on Windows Vista 64 bit machines. But I cannot find the download for Client version 11.1.0.7 Vista. Any su

  • XDK, XSLT Processor, Add JARs statically

    Hello, while using XDK's Oracle XSLT Extensions I'm facing an issue with class visibility after adding it via "loadjava" tool. I'm getting the following exception during transformation:      oracle.xml.xpath.XPathException: Extension function error:

  • Disaster recovery in SQL 2005 - which one is better ?

    Hi All, i am in a slight confusion of implementing a DR solution for one of my banking client. They have a citrix application which depends on a sql server. they cannot have a down time more than 15 mins for that application...They want the DR databa

  • Change of source of Summary columns in RDF

    Hello Everybody. For the existing query column in RDF, which is used by one of the summary column as source. If the query is getting changed as per the bussiness requirement, the source of the Summary column is changing to NULL. Is there any way not