-
Posts
3,432 -
Joined
-
Last visited
-
Days Won
289
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by hooovahh
-
Ding! Ding! Ding!!! One virtual beer for you. I saw this posted on reddit and thought I'd just have a bit of fun.
-
I'll just leave this here....
-
Just be glad you don't have to update your DAQmx drivers (Device Drivers download) That's a 3.7GB download! But to be fair there might be a page for just DAQmx and not the whole driver suite.
-
Yes you can copy the image and paste it on the front panel and resize as needed, this is more like a decoration a cannot be changed when the software is running. How can an image run a simulation. An image as described above is a static element and can't be interacted with or perform anything. Yes, search LabVIEW help for 3D. The more you post on LAVA the more I think you are mistaken about what LabVIEW is. It is not CAD it is a programming language, you write applications with it. Some of these applications can be 3D modeling but any kind of program.
-
I've posted a workaround for this kind of problem before but it seems very hokey. You can make a series of single elements, and control them as if they were an array, but this would allow you to get the reference to each element individually. So for an array of string, just make 5 strings, and control each individually, and control their contents with a vertical scroll bar so they appear to be an array who shows 5 elements at a time. Here's my example that gets the references to each element for key focus, you could use this same technique for controlling background color. There would obviously be some more work needed to keep track of the background color of each element. http://lavag.org/top...dpost__p__74535 But as Crelf said a true array has the same properties for each element of the array because each element in the array must be the exact same other than the data in the element.
-
Forgive me if I sound cold but I get jaded by these kinds of posts. Yes it is possible as Loco's signature says it's possible "just do it!!!". Crelf even posted an test system build several years ago that did just what you wanted. But it's not cheap. What's your budget? Aside from that what hardware have you selected? What code have you made so far? What's some of your requirements? Look at some examples. Read some LabVIEW books, maybe take a training course and you'll be in alot better shape to tackle this task.
-
What do you think LabVIEW is? From what I can tell Google Sketchup is a 3D moddeling software tool, like CAD. LabVIEW is a programming language, Like C++ or Java, or Perl (but nothing like any of them). Opening a SKP file is not supported in LabVIEW unless you write your own parser for it, in which case you would need to know the structure of the SKP file.
-
To bad it comes with LabVIEW 8.x. LabVIEW 7.x and older didn't have a trial it would just ask for a serial every time you started it up. I also think you couldn't build executables without a serial.
-
Yeah I actually made a ThinApp of an entire LabVIEW development environment. It made a 500MB EXE for LabVIEW 7.1 but I had this single EXE that had LabVIEW on it. I had some issues when trying to use it on Windows 7 when made in XP. I also made one for LabVIEW 8.6 and it was like 1.4GB EXE file. It works but crazy expensive, and there can be alot of tweaking involved.
-
Subpanels & "Make Panel Transparent" -- click through?
hooovahh replied to Aristos Queue's topic in User Interface
I haven't used subpanels enough so this may sound like a stupid idea. Can you dynamically change the levels of a subpanel? If this is the case and at run time you can change which is on top, then on option (another bad one probably) is you can get a reference to all controls in panel that's on top then store the coordinates of the controls. Then register a user event for a mouse click. If it was clicked and the mouse is not on a control (looking at coordinates of each control) then move the next subpanel to the top and simulate a mouse click at the same position with a Windows DLL. (assuming Windows). Then perform the same operation where you see if the coordinates of the mouse are on a control. If it is then good perform that event, if it is not then go through the subpanels until all have been moved to the top. A problem that could occur is if you have too many subpanels it may take some time to go through them all moving them all to the top. Helping this would be to store all the coordinates of controls at the beginning instead of using control references and getting coordinates every time. Also I have no idea if you can move sub panel levels, or even how much time it may take to perform the operation. Good luck. -
No, there is only the three levels you mentioned, File >> Group >> Channel. I'd be curious about your situation where you have subgroups. I have been using TDMS in the following way and don't need more than these 3 levels. I usually have a file for each UUT tested. The File properties are the UUTs specific information, then I usually only have 2 or 3 groups, one for test data, one for debug data, and some times one for extra data that goes along with the test that the user doesn't care about. Then in each group I have channels of data that are important to that group. One thing that always helped me visualize it is the Excel viewer for TDMS. This makes each group a workbook, with each channel being a column, and each sample having a row. So you asking for subgroups to me is like asking for a 4D Excel file.
-
Pretty close. Google translator came up with this. "tieten zijn okee" >> Dutch to English >> "Boobs are okay" Do you think it costs alot to make that video? Looks like a green screen, a couple people and random props from a sex shop and a party store. Also...whiskey tango foxtrot? Favorite comment from the Youtube page: "i think i speak for the western world when i say WTF?!?"
-
Don't use floating-point types for currency values
hooovahh replied to hooovahh's topic in LAVA Lounge
<PutsLampShadeOnHead></PutsLampShadeOnHead> -
Stolen from Redit. Also is it wrong to re-post other news things here? I don't plan on re-posting every Redit/Digg article I find interesting, but does anyone see this as unnecessary chatter? I mean it is relevant to programming.
-
Very cool indeed. Usually things like this can be found out by using the highlight execution but this one does nothing. You can however find the wires by when the mouse changes to a pointer. (to the left of the wait function is one) Odd that it hides the wires but still allows you to select them by clicking them, but not by going to Edit >> Select All.
-
Here's a suggestion of one of those "It could work but why would you want to" ideas. In the past I have been successful with making a single EXE, Which contains all files for a LabVIEW development environment using ThinApp. Basically you install LabVIEW in a virtual machine then run ThinApp and it creates a single EXE with all the files needed to virtualize a environment so that LabVIEW can run without needing to be install. It basically makes LabVIEW portable. I've done this with LabVIEW 7.1, and 8.6 in the past just as tests and had relative success with Windows XP but had some issues with Windows 7. In any case one option would be to make LabVIEW 2010 portable at home then put it somewhere on the internet, then go into work and download it. Then when you want to view some code on this site you'd run the EXE which doesn't write to the Windows registry, and only writes to temporary file path, and then you could open the VIs from this (or any) site for viewing and editing. To get this to work properly there'd be a ton of work and legal issues. Lets say you have the time and money. You'd need a license of LabVIEW to install at home, then you'd need a license of VMWare (I think there is a free version now), then you'd need a license of Windows for that virtual machine, then you'd need a license of ThinApp (very expensive), then you'd need to invest time in making LabVIEW portable, activating LabVIEW in the process. You'd probably end up with a 1-2GB EXE file which you'd need to find a place to host. If you ignore all the difficulties of the project you'd then need to wonder is it legal to do this with LabVIEW? This one EXE could be taken to 100 different machines and not need to be activated (because it was already done in the virtual machine). Again I'd like to point out the "It could work but why would you want to" factor when screen shots or server side interpretation could make it work for viewing much easier.
-
Why is LV beeping at me when I try to edit a VI icon?
hooovahh replied to Michael Aivaliotis's topic in LabVIEW Bugs
Okay I'll admit it, I didn't realize you could double click the icon to open the icon editor I always right clicked the icon and went to Edit Icon. In either case I have the same behavior with 2009 SP0. -
Here's something I whipped up. It uses a VBScript to get the version of a file. I then had LabVIEW call it through a command line and parse the output. It's not the cleanest method by any means, but it was the fastest. I googled getting file version and one of the first things that came up was a VBScript for it. This VI should return the same build version that you have in a Build Specification in the application builder. I didn't do any error checking on if the file doesn't exist, so if you just run it without a path it will not error out, and the version will be blank. The VI is saved in 8.6. GetFileVersion.zip
-
Thanks Ton another nugget from the VI.lib that could be exposed on the palette.
-
Attached is a VI that I think does what you want. It opens the file as a text file. Then processes each line one at a time. It will take each line and replace all spaces with tabs. Then it will convert that string to an array using the tab as the delimiter. This will generate several elements that have no value, say if you had a tab followed by another tab. So we then filter the 1D array removing all the empty elements. I didn't know if you had any OpenG stuff installed so I made the OpenG filter 1D an inline VI. BTW saved in 8.6 Open Data File.vi
-
Also another duplicate post from within Lava under the Site Feedback and Support page? In any case just have your bytes in an array then perform an sum function to get the sum of all the bytes. I added your bytes manually and I didn't get 0xCF I got 0x31 and my program attached also gets 0x31. Next time try to attach some code you've already tried but couldn't get working properly. Checksum.vi
-
It's nice they put that on the palette but I've been using it for a while, it's one of those nuggests in the Vi.lib that most people don't know about. EDIT: Oh and max undo set to 99, again a feature some people would do them selves. I also saw something about TDMS API improvements but didn't see any examples, can anyone elaborate?
-
I would recommend the FPGA route. I recently setup an FPGA to have about 10 PWM inputs and outputs on each of the 4 connectors. Each of these 40 PWM signals could be setup for PWM input or PWM output. I then added some debouncing code for each of the 40 PWM inputs. After that I tried adding code to detect 100% or 0% duty cycle on the inputs and that is when I ran out of space on my 4M gate setup (there were a few other things on the card) So I removed some unnecessary code like not all PWM needed to be an input or an output so I removed the unnecessary bits and it fit with plenty of space to spare. Each of the PWMs are being read all at the same time but they can all be in the same time loop (you don't need an individual loop for each PWM signal). Instead of waiting for a high or waiting for a low, you can use feedback nodes. I think NI had an example on this somewhere. There are 2 U32s for each PWM input and 2 U32s for each PWM output on the front panel. I realize this is probably where alot of my gate usage is going, but after investigating memory management in a timed loop I decided to just go with front panel controls because I knew it would work but it might not be the best way. Attached is an example of reading or writing two PWMs with debouneing on a 7813R. I haven't compiled the FPGA, and I haven't test the code but this is the technique I used. PWM FPGA Example.zip