Hi guys, I am fairly new user of labview and a new member to this forum and I apologies in advance for any irregularities.
Ok, here is what I have done.
I have successfully installed the IMAQUSB drivers and they are working great with my Logitech webcam. Now I have created two separate vis as a client and server to send the video input from the cam over LAN using UDP. I first tested the two programs on a same PC sending the data to localhost and its working great, the image is displayed and the indicator of bytes received is going up as it should.
And now the problem:
The problem happened when I placed the two programs on separate pcs connected over LAN. On both pcs there is an identical set of software from LabView with the drivers running on XP Pro SP2. The two vis are working ok, the firs pc is sending the image and the second should display the image, but it doesn't . The indicator for the bytes received on the second pc is going up indicating that the two vis are communicating but there is no picture. Also the probe at the UDP data output is indicating "image0" saying that the image is coming except the image display is not showing anything.
After this I tried to broadcast the image over lan and again the same thing, on the localhost there is an image and on the remote pc there is no image, but the number of bytes received is going up.
If anyone has any idea about this problem or has an example vi for transmitting webcam video over lan ill appreciate it
I am relatively new to LV and wasn't able to find a way of doing this on my own: At the end of an App that I have written I want the user to be able to open the folder to which all of his output files were saved. How can I do this? Thanks in advance.
Mark E. Smith Sandia National Laboratories mesmith@sandia.gov
LabVIEW does not support IPv6 protocol (as of version 8.6) using the TCP/IP functions and there is no promised date for inclusion of IPv6 compatibility in an upcoming version. I have a project that requires IPv6 TCP communication so I requested that NI support my efforts which they graciously agreed to do. Christian Loew of NI created a proof-of-concept project using Microsoft Visual C++ to create a DLL that provided LabVIEW access (through a Call Library node) to Winsock 2.x. I have taken that proof-of-concept project and refined it into, as much as practical, a direct drop-in replacement for the TCP/IP functions in LabVIEW.
Features:
- Drop in replacement for native LabVIEW TCP/IP functions
- Supports IPv4 and IPv6
- Compiled and tested for LV version 8.5, 8.0, and 7.1
Limitations:
- Does not support name/service lookups – the user must supply a valid network address in dot-quad (IPv4) or colon-delimited hex (IPv6) – the loop back addresses of 127.0.0.1 and ::1 are acceptable
- Only supports the Standard and Immediate modes for the TCP Read function. The Buffered and CRLF modes could be added (I just have no present need)
- Windows only – uses the Winsock 2.x DLL. However, the only Winsock-specific functions called are WSAStartup (to initialize the DLL) and WSACleanup (to release resources). Everything else should be portable to a sockets implementation on Linux or MacOS (this is speculation only!) if anyone has a need.
License
This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
This package includes:
Microsoft Visual C++ 2008 Express Edition project (lvipv6comm.sln) to create the Winsock wrapper DLL (lvipv6comm.dll)
The Winsock wrapper DLL (lvipv6comm.dll)
Example VIs – Data Client.vi and Data Server.vi are adaptations of the example VIs of the same name that ship with LabVIEW that use the IPv6 Tools instead of the native LabVIEW TCP/IP functions
For LabVIEW 8.0 and 8.5, a LabVIEW project exists (TCPIPv6.lvproj) and the TCP function VIs are in a LabVIEW library (TCPIPv6 Comm.lvlib). For LabVIEW 7.1, the TCP function VIs are in a single folder.
Our department has decided to expand our DAQ system. We currently use KineticSystems V200 boards and DAQ Director to control our DAQ system. However, we are purchasing quite a few PXI-1045 Chasses and loading them up to expand our DAQ system. However, we still want to be able to use our Kinetics V200 boards, so we purchased a MXI-2 board and are able to connect. We are using Windows XP to communicate by the way.
When we first put in the card and installed the KineticSystems drivers and VIs we were fine. I am able to take data and everything. However, once in a while, the V200 board will disappear from MAX when we run the Resource manager. Then sometimes it will think it's made by another manufacture (AMP, Inc.) then will disappear on the next run of Resource Manager. To bring the board back, the only way I have found to work is to manually power cycle our VXI crate for sometimes up to 30 minutes! This is DEFINITELY not going to cut it, especially since we will be using 3 fully loaded VXI crates. Does anyone else have any ideas why this could be happening or what I can do about this?
Thanks, Michael
Last post made by: Michael Hill on Sep 5 2008, 06:38 PM
The presentations have been available for download for some time, but the VIs were stripped out of the presentation when they were converted to PDF for the Web. Here's the VIs... "LabVIEW Classes: The State of the Art" http://forums.ni.com/ni/board/message?boar...hread.id=353748
Last post made by: Dan Bookwalter on Sep 5 2008, 03:45 PM
I use the Busler Camera to input the picture but it cannot show the true color on the monitor (Vision Builder 3.0) I want to use the true color for run the program
Give me the answer please , Thank you
Last post made by: Neville D on Sep 5 2008, 04:43 PM
That's what happned when I tryed to Install the Second CD Does anyone can help me? I did a complete instalation with the First CD and it did't install yet. where can I find them? Thanks
RTX Runtime not present
You must have RTX Runtime 5.5 installed before you can install NI-VISA for RTX.
LabWindows/CVI Support
In order to install NI-CAN support for LabWindows/CVI, it must first be installed on your system. To Continue, click the back button and deselect the LabWindows/CVI support option. To add NI-CAN support for LabWindows/CVI support once LabWindows/CVI is installed, rerun this installer.
LabWindows/CVI Support
In order to install NI-DNET support for LabWindows/CVI, it must first be installed on your system. To Continue, click the back button and deselect the LabWindows/CVI support option. To add NI-DNET support for LabWindows/CVI support once LabWindows/CVI is installed, rerun this installer.
Hi, I have confiuration file defaults.ini for my application. When I compile it and then run it, i see always the message : ["C:\MyApplication\MyApplication.exe\defaults.ini" not found]. I have tried to change in MyApplication Property - Advanced - Configuration file form LabView.ini to my file defaults.ini. But it still doesn't work Does someone have any idea where is the problem? (LabView 8.6)
I have frames coming from a DVR lan from digimaster. If I get the frame in tha raw format I'm able to display the image coming from the camera attacched to the DVR. If I change the frame format to JPEG I'm already able to receive the frame but I'm not able to decode the JPEG. I'm not using the Vision module for labview because It is not necessary for my work (I need only to decode a Jpeg frame that is an array of U8 at this moment). I also tried to use a function contained in a JPEG.dll that is called DecompressJPEG2Raw but, even in my opinion all the paramenter are passed correctly, It doesn't work.
If someone have some tip or experience I can attached or describe better my code.
Tesla Motors Manufacturing Test Engineering is seeking a high-powered software engineer who can rapidly adapt to the task at hand, whether it involves hardware, software, or low-level firmware. The ideal candidate would be a self-starter who can be given a task & deadline, and independently develop an elegant solution with minimal supervision. An ability to rapidly learn/come up to speed as evidenced by knowledge of current technologies and skills is a big plus. This position involves creating real-world devices for the manufacturing environment, so the ability to "roll up one's sleeves" and actually take a concept through design, building, testing and convert it into a real-life functioning product is paramount. Very few jobs offer the ability to utilize such a broad range of skill sets simultaneously, and that is a major advantage to working at Tesla Motors, as it is never boring.
We are looking for someone with demonstrated experience to develop and maintain Manufacturing Test equipment software in LabVIEW and TestStand. You will help support the existing LabVIEW systems, refactoring code as necessary for improvements and maintainability as well as develop new software for new testers. New projects are expected to start with a Requirements Specification document, use source control (subversion), and set up code reviews with fellow LabVIEW programmers. No hacks allowed.
Units under test range from PCB assemblies to larger electronic and electromechanical system assemblies such as the Battery, Power Electronics Module, motor, vehicle electronics, or even the whole car. You will work with product design, design verification test, manufacturing, and manufacturing test engineers to gather requirements enabling you to design, develop, document, fabricate and deploy your test equipment. The test equipment often involves high voltages and/or currents, and must be safe and easy to operate. Multiple copies of each tester will be produced, so documentation and design for reproducibility and easy maintenance is a necessary habit. The test equipment can involve many channels of analog and digital I/O signals, custom interface electronics, cabling, rugged fixturing, robust packaging, and automation software that is operated by factory technicians in a 24/7 factory environment. Experience developing robust software is essential. GUIs must be easy to understand and behave as expected to untrained users.
Minimum Requirements:
B.S. or M.S. in Computer Science, Electrical Engineering or equivalent
Proven ability to collaborate on small technical teams
Expert skills with National Instruments LabVIEW (CLA or CLD certification a plus)
Demonstrated experience with GOOP and LVOOP
Demonstrated expertise developing coherent GUIs in LabVIEW
Experience with designing production test and test equipment control code
Knowledge of Design For Manufacturability & Design For Testability principles
Excellent communication and project documentation skills
Knowledge of New Product Introduction (NPI) and Product Lifecycle (PLC) processes
Bonus Skills:
Experience with TestStand
Experience in .NET, Visual Basic, Visual C++/#
Last post made by: jakestern on Sep 5 2008, 07:57 AM
It would be nice to have Focus Gained and Focus Lost events for front panel objects. I was writing a simple application with a string control that I wanted to always have focus, so the user could just type and not have to worry about whether the cursor was actually in the string control. It's easy enough to give the control focus with the KeyFocus property, but if the user interacts with another control (e.g. a button) the string loses focus. In my event structures, I have to create dummy ValueChanged events in case the user interacts with a control.
I'm using the WA Multiscale Peak Detection VI to do some peak detection. I've enclosed my VI that does this. On the block diagram I have to sets of data (far left) labeled "Works" and "Misses first peak". The data looks very similar, but as the labels imply, one finds the peaks correctly and the other misses the first very obvious peak. If I change the "Width" input to the VI down to 2 then it will work with the second set of data. Unfortunately then it detects too many peaks. Even so, with the data sets being so similar it seems it should detect the first peak on both sets of data. I'd really appreciate it if someone could run the VI and tell me what I'm missing. Data_find_inflection_points.vi ( 285.29K )
Number of downloads: 18
Thanks, George
Last post made by: george seifert on Sep 5 2008, 12:06 PM
I just noticed that there's still a LV process running (in Windows Task Manager) after I exit LV. There's nothing else associated with NI running either. Once I noticed that there were 5 of them running. I don't remember this happening with LV 8.5. I'm assuming this isn't normal is it?
George
I think I should add that I believe this happens after a crash. I keep getting this error I described elsewhere that implicates Visual C++ when I try to write to a TDMS file. LV crashes after that. Could that leave a process running?
Last post made by: george seifert on Sep 4 2008, 12:40 PM
Does anyone have a simple and effective way to manage versioning labview classes and libraries? I've finally figured out something that seems to work (although it took me ~30 hours of fighting broken links, missing classes, etc.) but it is fairly cumbersome.
The basic idea is that I include a version number in the name of module (class/lvlib). In my toaster hierarchy example I might have an "I2C Slave Base v0.90.lvclass" contained in a folder with the same name and version number. If I'm going to branch code to try something new I copy the module folder and rename the module (and folder) with a new version number. ("I2C Slave Base v0.91.lvclass") I've found this works well--I can add the new module to a project without any cross-linking issues. There are a couple scenarios that still present some difficulty.
My toaster child classes all use Slave Base v0.90 as a private data member. If I want to upgrade Toast Magic to use Slave Base v0.91 obviously I have to replace the class cube in the private data. What's less obvious is that I also have to go through all the Toast Magic vis and replace any exposed Slave Base controls/typedefs/constants Toast Magic uses. This also applies to having a child class inherit from a new base class version. I wish Labview were smart enough to realize that class controls/typedefs/constants used in the client vi should be taken from the actual class being used.
This process is much more cumbersome if I'm upgrading a lvlib instead of a class. Since the library vis don't have a dynamic input like class vis, I have to go through and replace every single control/typedef and library vi with the correlating item from the new library version. (I've uttered many curses for Labview not having a more customizable dev environment. Would it be that hard to enable more hotkey options? Replace With...?)
Even doing something as simple as renaming a module creates all sorts of linking problems. If I'm working in Toast Magic and rename I2C Slave Base to I2C Slave Base v0.90, the next time I open Super Toast 2000 or 3000 the entire project is corrupted as it can't find the class name it is looking for and, contrary to the behavior when looking for missing vis, you must select a class with the same name. (This has bit me countless times... you think I'd learn not to do that.) This issue is the primary reason I started using the above convention.
Are there better/easier ways to deal with module versioning?
(I do use SCC but still haven't figured out the best way to manage projects with it.)
I have been playing around just a little bit with web services (LV 8.6). I have just started looking into Adobe Flex 3 , is anyone utilizing the web services to display/control apps ? are there any good examples around , i have only run across the web services demo from NI so far and am trying to work my way through it...
thanks
Dan
Last post made by: Dan Bookwalter on Sep 4 2008, 12:42 PM
I'm trying to create a user interface for a data acquisition system I am working on. I thought a tree control would be the best way to visualize our DAQ system (see what crates belong to what computers and what cards belong to what crates). It is structured in this manner:
I would really like to be able to select "Slot 4" From crate 1 in Blade 1 and have it return the string "Blade 1\Crate 1\Slot 4"
I have been messing with property nodes for a couple days, but all I have been able to do was return "Slot 4" but none of the parents. How can this be done?
Last post made by: Norm Kirchner on Sep 3 2008, 02:43 PM
hi all I want to run labview exe file to at91sam9260 EK .I guess it is possible by win CE or linux .I would appreciat if someone help me how can I do this.