Using LabView drivers with LabWindows

Hi.
I'm planning on using LabWindows to operate a progRes camera, which states they have labview drivers. I'm assuming that labview drivers will work with LabWindows, but just thought I'd ask if that's a valid assumption. (I've never used either program before)

Typically, when a piece of harwdware says it had LabVIEW drivers, this means that it has utlity or accessibility functions for LabVIEW. As LabVIEW is its own language, and LabWindows is a C editor/compiler, LabVIEW functions or .vi's will not inherently work in LabWindows/CVI.
While it is definitely possible to call LabVIEW code from LabWindows/CVI, you will most likely want to see if there is a C interface for the hardware from LabWindows/CVI.
Hope this helps.
Peter Flores
Applications Engineer

Similar Messages

  • How to use Labview drivers for USB-CAN Adapter

    Hi,
    I just recently started working with CAN and I have a PCAN-USB adapter. I'm trying to create a programme for monitoring a series of CAN based devices and I've found Labview drivers at the link below. However, I'm not really sure how to start. I have the specs for the device but I don't know how to proceed. 
    Should I create messages and channels and a data base in MAX first?  If anyone has programmed with this dongle before please give me a guide how you went about it. 
    Labview drivers - http://www.labviewportal.eu/en/device-i-o/82-pcan-usb-driver.
    Thanks 

    I have not used this specific CAN adapter, but I have used other CAN adapters from both NI and other companies.  The CAN database in MAX is useful only if you are using an NI CAN device.  For all other CAN devices you need to use the format that the library uses; most likely that will be raw CAN frames.
    If you do want to use the NI-CAN interface on top of the PCAN library, you can use NI-CAN virtual channels 255 and 256.  These are internally connected, so that anything you send on one is received on the other.  This makes it possible to do translation between raw frames and channels defined in a database, by opening one interface for frames and the other for channels.  You read raw frames from the real device and send them to CAN255, then read them on CAN256; for writing, you do the opposite.  However, this still requires understanding how to read and write raw frames on the underlying device, so I'd start there.

  • Getting multiple data readings at one time using LabVIEW (GPIB) with the Fluke Hydra 2620A

    I'm taking temperature readings with the 2620A using the NI LabVIEW drivers. Is there anyway to take an array of the data results? (i.e. more than one channel at a time)
    Thanks.

    This depends upon which VIs you are using. Are you using a driver specifically for the 2620A, the 488.2 VIs, or the VISA VIs? It also depends upon how the instrument returns data. You could use the array VIs in LabVIEW to parse the string and put it into an array, but first we'll need to know how it is sent back. For instance, it is long values separated by commas, etc. Let us know how the string is configured and we'll find a way to do it.
    J.R. Allen

  • Using DLLs created with LabWindows/CVI 8.0.0 in LabWindows/CVI 8.0.1

    Hi,
    I have created a project containing some methods with LabWindows/CVI 8.0.0 and then build the project and generated the DLL and LIB files. These DLL and LIB files are working fine in another projects created in LabWindows/CVI 8.0.0 (even on another machines).
    But when I use these DLL and LIB files in a project created with LabWindows/CVI 8.0.1 on another machine and try to call the methods of these files, the following error occurs: -
    "The program has caused a 'Unknown' fault at 001B:7C812AFB"
    Is this error occurs due to ther version mismatch or there is some other problem?
    Please help me to resolve this issue.
    Thanks,
    Sarabjit Singh

    Judging from this, I don't think NI has a newer version of this tool:
    http://forums.ni.com/t5/Measurement-Studio-for-VC/Convert-project-from-LabWindows-CVI-to-Visual-Stud...

  • Problems in using Labview DLL with TestStand!

    Hi,
    I tried to put the VI's to create a TCP/IP Connection, read/write Data to it and close it inside a LabVIEW DLL and use these functions with TestStand.
    The problem is to get access to the ConnectionID generated as TCP Network Refnum in LabVIEW.
    I don't know how to specify the prototype entry for this Refnum in LabVIEW and how to read it with TestStand.
    Another try to pass an ActiveXReference of SequenceContext and use the SetValIDispatch method to set a local variable (Type: ActiveXReference) to the returned ConnectionID of the TCPOpen.VI wasn't successful too.
    It seems to me that the connectionID isn't a normal ActiveXReference.
    Regards,
    Sunny

    Hi Sunny -
    You should treat this parameter as a pointer to an int when calling the DLL from TestStand (or any language like C or C++). Note that you can't do anything with the value outside of LabVIEW since it only has meaning inside of LabVIEW. You can only pass it around for use in other VIs you call from TestStand.
    Hope this helps....
    Kyle G.
    National Instruments
    Kyle Gupton
    LabVIEW R&D
    National Instruments

  • Account Password Changed When Using OCI Drivers With WebLogic 6.0

    Hello all,
    Could be I am losing my mind but I saw some strange bahavior and I was wondering if anyone could offer an explination. We're running BEA WL6.0sp2 on an HPUX box with both an 8.1.7 client and server installation for development. We noticed that when we try to use the OCI driver to connect to our database, the password for our account is being changed on connection. This is definitely repeatable as we demonstrated it for the DBAs while they yelled at us. I highly doubt there is anything in WL that would cause the problem and everything works fine with the Thin drivers, with the JDrivers provided by BEA and with the credentials from SQL+.
    Our problem is we need the Layer 2 OCI support. Is there something in the OCI client installation that would cause this behavior?

    Hello all,
    Could be I am losing my mind but I saw some strange bahavior and I was wondering if anyone could offer an explination. We're running BEA WL6.0sp2 on an HPUX box with both an 8.1.7 client and server installation for development. We noticed that when we try to use the OCI driver to connect to our database, the password for our account is being changed on connection. This is definitely repeatable as we demonstrated it for the DBAs while they yelled at us. I highly doubt there is anything in WL that would cause the problem and everything works fine with the Thin drivers, with the JDrivers provided by BEA and with the credentials from SQL+.
    Our problem is we need the Layer 2 OCI support. Is there something in the OCI client installation that would cause this behavior?

  • How to Use LABVIEW charts with Mathscript

    Hi,
       I recently tried to work on Mathscript and it is really amazing. what I tried to figure out is:
        Instead of plotting using traditional "plot" statement, how to use LabVIEW chart ( I know how to Add output but the graph were not as expected
    Is there any mean to get rid of this "Lengthy" delay that "ALL MATLAB User know" for first time compilation?
    Thanks in advance
    Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
    Assistant Lecturer
    Mechatronics Department
    Faculty of Engineering
    Misr University for Science & Technology

    Well Chris,
             I was about to post the solution, but as I said, I'm in a middle of experts
    It took me 3 hours to figure it out. I should've checked your answer . I resolved to the same suggesstion of yours. I only added some functionality to get the newbies like me being acquainting with how easy to work with LABVIEW mathscript based on MATLAB knowledge.
    Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
    Assistant Lecturer
    Mechatronics Department
    Faculty of Engineering
    Misr University for Science & Technology
    Attachments:
    Play with Mathscript.vi ‏35 KB

  • I used to working with Labwindow CVI and i would like to know how can i use the commands "loadpanel" and "Displaypanel " in Labview. Using Invoke Nodes?

    I want to make another panel appears and runs, but i don´t want to use a subpanel. So, i would like to use somenthing similar to Loadpanel and Displaypanel, that you can use in Labwindows CVI, but in Labview, is ti possible?I hope your answers, thank you!!!

    Hi Bichillo,
    I posted an example here.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650000000500000014570100&HTHREAD=000087828&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    It demonstrates how to do what you are asking.
    I do not mind you laughing at the code.
    Have fun!
    Ben

  • I am using fieldpoint and labview to log and monitor the temperatur​es of my system. but i am not using Labview 6i with DSC, how can i do it??

    i am using fieldpoint 2.0 and labview 6i to monitor my system, but i think i don't have labview DSC.

    I have written a relatively large Fieldpoint application "just" using LV5.1 FDS, so it can be done.
    Fieldpoint can be seen as an external instrument, so you need to use the driver/vi's that comes with FP.
    I believe using DSC would only make the job easier for you.

  • Getting LabVIEW load error code 59 using LabVIEW 2010 with a Run Time Engine.

    I use a vi compiled with a run time engine to run separate vi’s in my application directory. Once a file association is made with this exe file any Vi in my application directory is available to be loaded as needed. This is a process that has been very successful for me over the years and would prefer to continue using this process. Most of my applications are running in LabVIEW 8.6 and have moved them to 2009. First indications are in 2009 this process is still working. However, I plan to go on to 2010 before upgrading my test stations.
    In 2010 I get the error 59: “The source file’s compiled code has been separated, and this version of LabVIEW does not have access to separated compiled code.”
    The same dialog box also presents, (Hex 0x626)  “Cannot open a VI with separated compiled code in a Run Time Engine that has no access to the VIObjCache.”
    What can I do in the build that will get around this error?
    Thank you

    Thank you for the solution. I am sure this works until the next vi in the vi library gets this option selected.
     The bigger issue is I was doing something that National Instruments did not support. When I started in the days of LV 4.0 it was recommended to me that I use this method as virtually all my applications were for in house projects. This is still my preference because it gives the most versatility and allows modifications of single files rather than compiling the entire application.
    The final solution I ended up with for those who may be having the same issues. My recommendation for what it is worth, is to compile the application as an executable. This is from what I can tell the only acceptable and supported method. Using this method the problem is solved.
    I have accepted this as the solution. I still don't like it. I could list the reasons why but it is a mute point.
    Thanks again for taking the time to respond to this issue and offer the solution you found.

  • Problem in using sybase drivers with JDK 1.5

    hi all,
    i have an app that is connecting to a sybase database.
    so far i have run it using jdk 1.4 using sybase jconn2.jar , it has workedf ine.
    Now, i haven't changed the code, i just recompiled it and re-run it using jdk 1.5 , and suddenly i am getting a classNotFoundException
    java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDriver
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at BNPParibas.Collateral.SQL.SQLConnectionFactory.DoConnection(SQLConnec
    tionFactory.java:65)
    at BNPParibas.Collateral.SQL.SQLConnectionFactory.Connect(SQLConnectionF
    actory.java:29)
    at BNPParibas.Collateral.SQL.ResultSetFactory.<init>(ResultSetFactory.ja
    va:27)
    at BNPParibas.Collateral.Batch.Flow.FlowControl.load(FlowControl.java:81
    at BNPParibas.Collateral.Batch.Flow.FlowControl.<init>(FlowControl.java:
    62)
    at BNPParibas.Collateral.Batch.Flow.FlowControl.main(FlowControl.java:37
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Appe
    nder
    at BNPParibas.Collateral.Batch.Flow.FlowControl.load(FlowControl.java:16
    8)
    at BNPParibas.Collateral.Batch.Flow.FlowControl.<init>(FlowControl.java:
    62)
    at BNPParibas.Collateral.Batch.Flow.FlowControl.main(FlowControl.java:37
    and NOTHING has changed except that now i am runnign java 1.5 instead of 1.4
    has anyone ever experienced a similar problem?
    regards
    marco

    Hello,
    well, yes it is.
    Running the code with jdk 1.4 is absolutely fine.
    if i run it like this
    <myjdk14install>\bin\java -jar xxx.jar works fine
    if i run it l ike this (which will use 1.5 by default)
    java -jar xxx.jar it gives me that exception...
    have the classloading mechanism changed between jdk 1.4 and jdk 1.5?
    regards
    marco

  • Using nVidia drivers with Xorg 7.1

    Evidently it can be done.
    jamesjones wrote:
    I have tried the COPY_BUFFER=0 case you describe. The GL application windows continued to update.
    There are no issues with XGrabServer confusing the GPU. It can be called at any time and, once it has reached the server, will block further rendering from direct and indirect OpenGL clients until the server is ungrabbed. Regarding XGrabServer blocking GLX calls, yes, this is a known issue in our driver as well. In general, it is a good rule of thumb to grab the server only as long as necessary anyway. You should only need the grab around the actual copy operations, not the GLX calls.
    As to the double buffering issue, there should be no problems with XRender reading from double buffered GLX pixmaps or windows. I would ensure all your gl read operations are set to the front buffer with glReadBuffer(GL_FRONT) as well as all your drawing operations.
    NVIDIA drivers should work fine with xorg 7.1 with the following exceptions:
    -You'll need to disable RenderAccel, as the glyph ABI change broke our acceleration:
    Option "RenderAccel" "False"
    -You'll need to start X with the ignoreABI option to get the server and driver to play nice with eachother:
    startx -- -ignoreABI
    -James
    Not sure what the catch is, though, or if --ignoreABI could also work with fglrx... I'll have to look into this.

    Hi Pavan,
    I could open it in build 3518 (newest build is 3718). Just go to File, Open.. and choose the pull-down to filter for RTFs. I got one continuous and one discreet SB. Is that correct?
    Richard
    Applications Engineering
    www.ni.com/support
    Richard
    Field Sales Engineer, New Jersey
    National Instruments

  • Using unbranded nVidia drivers with OC-edition MSI cards

    Hello,
    I'm using MSI GeForce 8800GT 512MB OC edition (NX8800GT T2D512E-OC) with branded MSI drivers.
    Since MSI doesn't exactly release new drivers on daily basis (latest release - 175.16, 7/21) I was considering using unbranded drivers directly from nVidia.
    I'd like to ask if there would/could be any performance decrease or any issues related to using unbranded drivers with my card.
    My hardware retailer told me I *must* use branded drivers as it is an OC edition card, but he already stuffed me with bullcrap before so I'm asking here to confirm (or disconfirm, hopefully).
    Thanks for any help in advance.

    You can use any drivers
    "My hardware retailer told me I *must* use branded drivers as it is an OC edition card, but he already stuffed me with bullcrap before so I'm asking here to confirm (or disconfirm, hopefully)."
    Yes, that's rubbish

  • How to use IVI Driver in Labwindows

    I want to use IVI drivers in LabWindows/CVI, but I don't know how! I know that it necessary to load the class driver. But how can I include the specific driver??? It is possible to add functions into a class driver? And what I have to do when the instrument should change?
    Thanks for your help!!!

    Hi Chris,
    If your goal is to create an interchangeable application, you do have to use a class driver. National Instruments provides Measurement and Automation Explorer (MAX), a Graphical User Interface for configuring IVI. MAX is usually installed with one of NI's Application Development Environments such as LabVIEW or Measurement Studio, or with one of NI's hardware product drivers such as NI-488.2 or NI-DAQ.
    The IVI configuration utility allows you to interchange instruments without recompiling or relinking your application source code by configuring logical names. The user defines which specific instrument he wants to associate with a logical name and IVI takes care of the rest. If at a later time, the user decides to swap the instrument and use a diff
    erent one, all he has to do is change the entry in the configuration utility so the logical name points to a different specific instrument driver (driver session).
    So, the important point is that you have to have both, IVI class and specific driver installed on your system, and then you need to configure them in MAX. MAX 3.0 now has a built-in help to guide you through the configuration process. In the case that you still do not have MAX 3.0, you can find an application note about the IVI configuration in MAX 2.x on NI's Developer Zone: http://zone.ni.com/devzone/devzone.nsf/webproducts/E2947DB2FF0DD9FE862569FD006EB939?opendocument.
    As for the adding functions into the class driver, the answer is no, that is not possible. You can certainly use the specific driver functions in the application which is written using the class driver functions but then your application will not be completely interchangeable in the future. However, this way you will just isolate a small portion of y
    our code that you will need to change later on when you decide to change the instrument.
    I hope this makes sense.
    Regards,
    Vesna Jadric
    Instrument Drivers/IVI

  • Labview fpga with nexys 2

    hi my friends I want to know I can use labview FPGA with nexys 2 and there are some device about this FPGA (nexys 2) because we have this circuit board and we want to do the project with labview you can found some information about nexys 2 in this file and thank you for your help
    Attachments:
    Nexys2_rm.pdf ‏986 KB

    Hello,
    As this forum thread states, LabVIEW FPGA is only for the SPARTAN-3E XUP Starter Board and NI Reconfigurable I/O devices. Even though the nexys 2 is based from the Spartan 3E, we can’t be sure that the driver that we release for the Spartan 3E starter board works for the nexys 2.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

Maybe you are looking for