I am part of a high school robotics team, and there is some debate about which language to use to program our robot. We are choosing between C (or maybe C++) and LabVIEW. There are pros for each language.
C(++):
Widely used
Good preparation for the future (most programming positions require text-based programmers.)
We can expand upo...
I'm supposed to learn how to use LabVIEW for my new job, and I'm wondering if anybody can recommend some good books or reference/tutorial web sites.
I'm a senior developer with lots of Java/C#/C++ experience.
I realize that this question is perhaps more vague than is intended on stack overflow, so how about this? Please answer with one...
I'd like to integrate a Python IDLE-esque command prompt interface into an existing NI-CVI (LabWindows) application. I've tried to follow the Python.org discussions but seem to get lost in the details. Is there a resource out there for dummies like me?
...
Hi, I try to open and excel reference in LabVIEW and then close it after sometime. But the LabVIEW keeps holding the reference and does not release it unless I close the VI. Why is this happening? Is there anyway to force it to release the Reference?
I am checking the error out for any errors. But it is not throwing up any errors.
...
Hi All,
I have a base class object array into which I have typecasted many different child class objects and am passing it to a sub vi. Is there any way by which I can find out the original type of the object of each individual elements in the array?
Thanks ...
...
I am learning to use lab view as part of my honours project, and was wondering what benefits the graphical programming language has over a textual one?
...
I have written a standalone app that controls a device through rs-232 port and some customers want to be able to use the device with Labview. I have seen some threads describing where to start when learning to use labview, but I was wondering if anyone has experience with writing a plugin/driver (is that the right word?) for Labview and...
I am trying to compile a labview CIN using visual studio 2003.
I have followed the tutorial located here to the letter, but am getting the following error:
Project : error PRJ0019: A tool returned an error code from "Performing Custom Build Step"
Does anyone know what is causing this? I tried this link found at an expert's exchange qu...
I am writing an application using labview and need to use external code. I have read that using CINs are old fashioned and 'wrong' to use. Is this correct? Should I use shared dlls instead?
What are the advantages/disadvantages of both methods?
...
Hi
I want to use LabVIEW's Call Library Function Node to access a DLL function, and have this function return a string to displayed on my VI. How would I go about doing this? I am quite happy returning numbers from my DLL, but am really struggling to find any examples of how to return a string.
...
I have a data acquisition program written in C++ (Visual Studio 6.0). Some clients would like to control the software from their own custom software or LabView. I would like to come up with a simple API with a dll I can distribute to them and would like some tips on how to get started. This is going to be VERY basic, maybe 4 or 5 comm...
Looking for some help with a Labview data collection program. If I could collect 2ms of data at 8kHz (gives 16 data points) per channel (I am collecting data on 4 analog channels with an National Instruments data acquisition board). The DAQ-MX collection task gives a 1D array of 4 waveforms.
If I don't display the data I can do all my ...
Please bear with me: this isn't a language debate or a flame. It's a real request for opinions.
Occasionally, I have to help educate a traditional text coder in how to think in LabVIEW (LV). Often during this process, I get to hear about how LV sucks. Rarely is this insight accompanied by rational observations other than "Language X ...
Here is my basic use case:
After Labview receives a trigger from external hardware start collecting analog data. It monitors this data and triggers another piece of hardware if the analog data reaches a threshold. This threshold can have different values for each trial. However, the operator might want to be able to redo a trial (if th...
I have a LabVIEW application that I inherited that has a bunch of sub-VIs. In the course of cleaning it up I've discovered some of the included VIs are not used. I know I can use the VI Hierarchy to see every VI included as icons but this isn't that useful for comparing against a directory listing. Is there a(n easy) way to create a l...
Is there a way to link two indicators on a LabView front panel, so that they always have the same value? Right now I'm setting both to the same value every time, but it'd be much easier if there were a way to set up one to mirror the other.
...
I'm trying to build a LabVIEW plug and play instrument driver project for a device we sell. I followed the instructions to create a project, and it created the project in with the LabVIEW program:
C:\Program Files\National Instruments\LabVIEW 8.0\instr.lib
I suppose I could connect that folder to source control and just do all the ...
I found this comment in the LabVIEW instrument driver guidelines (section 6.2):
If you need more terminals than the recommended patterns, reconsider the grouping of the controls and indicators on the VI. Except for error in and error out, avoid using clusters to minimize the number of terminals. Clusters often require the user to unb...
I have a .Net 2.0 application that uses COM to call a LabVIEW application (built as an .exe). The LabVIEW application calls various .Net assemblies we've written.
Normally this all works fine. I have an app.config that redirects the LabVIEW app to the right versions of the right files, and everything is happy.
Yesterday the LabVIEW app...
I need to make a labview VI that will display a jpeg image from a URL. (the url is generated based on some data)
I've found a way to display an image from the hard drive (Read JPEG File), so what I probably need is just a way to download it to a temporary file.
All I've found are some low level TCP client VI's. Is there an easier way? ...