LAVA: LAVA Portal

Jump to content

Installer issue

User is offline  
NeilA 
- 07-29-10 15:03 - 1 comments

I have been asked by the installation builder to insert LV DVD's to generate the installer.

I understand that this has been covered, but the best option I can see is to copy the Install DVD's to the hard drive or a server to point at during the installer build process.

This is fine but my IM department have my copy of the LV installer, which is frustrating if each time a new update comes in and I have to get it and copy it to a hard drive or server.

Is there seriously not a way for this to use the files on the PC? I have everything needed for the installation on my machine and all the components required to make the installer?

I have the update, 8.6.1 on my desk, is there a way for me to change something a reg setting or something in the .LVProj file that will allow me to use the update discs?
Read 6 times - last comment by crelf     

VI paths in a LV 2009 built application

User is offline  
DanS 
- 07-29-10 13:41 - 0 comments

I really like that they figured out a way in LV 2009 to fix the naming conflict problem in a built application. But an unfortunate side effect is that if you want to run a VI within an executable, you must know the full embedded path. Depending on how your sub-VIs are organized, this path can be unpredictable. You can go back to the LV 8.x file layout, but then you are back to the original problem. I figured out a way to have the best of both worlds--it is possible to force a sub-VI to be saved into the "root" of the application in LV 2009.

First off, you need to create a new destination in your build that is the path of the built application.
Then you need to explicitly add the sub-VI to the project, and set its destination to be the new destination you just created.

Now when you build the application, no matter where the sub-VI is located relative to the top-level VI, its path will always be at the "root".

This was really useful when I was building an app as an ActiveX server, and I wanted to call a VI within the app remotely using the VI server.
Read 14 times - make a comment     

CLAD passed. Oh Yeah...!

User is offline  
Mars Su 
- 07-29-10 13:36 - 2 comments

Posted Image
Read 23 times - last comment by crelf     

Lunch

User is online  
Cat 
- 07-29-10 12:56 - 4 comments

What goes on in the LabVIEW Leaders lunch??

Is it really just for those of you who consider yourselves "LabVIEW Leaders", or is it a chance for the rest of us to rub elbows with the bigwigs, kiss your rings, and maybe pick up a used napkin as a souvenior?? I figured it was the former and didn't register for it; now I see there's a waiting list. So either there are a lot of LabVIEW Leaders, or the tables are really small, or there are a lot of napkin collectors attending. :)

Also on the topic of lunch: Do you regulars usually eat lunch at the Convention Center, or grab something elsewhere? Should I be registering for lunch??

Hungry minds want to know...

Cat

Read 47 times - last comment by crelf     

Extra Ticked for the LAVA BBQ Available

User is offline  
pallen 
- 07-29-10 12:56 - 1 comments

It seems that my co-worker has had something come up and will not be able to attend the LAVA BBQ this year.

So, we got an extra ticket.

Considering how close the event is, I think it makes the most sense to just put it up there as first reply, first dibs.

So, anyone need a ticket?

*edit*

LOL....I just noticed my topic....which apparently I cannot edit.

So...I'm not "ticked". ( Although I think my co-worker was a little disappointed she had to miss the BBQ ) But I do have an extra ticket.
Read 23 times - last comment by crelf     

"New" XML Datatype for MSSQL Server 2005

User is offline  
Chris 
- 07-29-10 07:31 - 0 comments

Dear all,
I thought I'd be clever and use the "new" XML datatype introduced with MSSQL Server 2005 to store the contents of some XML files (about 13kB each). However when I inserted the file contents into the database and then read them back out again, the file sized had decreased by about 30% and I could no longer read the file. However if I selected the VARCHAR(max) datatype the XML file was stored and retrieved fine.

Has anyone used the XML datatype to store XML files in SQL Server 2005? I read that saving it as an XML datatype allowed the database to check for file integrity and made searching for XML data easier and faster - is this the case - if not I'll just go back to using the VARCHAR(max) datatype since I know it works?

Thanks for any help - Chris.
Read 24 times - make a comment     

Leave sub-VI open and closing caller VI

User is online  
orangefob7 
- 07-28-10 21:19 - 3 comments

Hello!
I created a sub-VI to notify the user that a piece of test control software didn't hit a target condition. I would like to call this from the program, and leave this error sub-vi open without holding up the calling VI. In other words, sub-VI (1) sets the condition, and calls sub-VI (2) to notify the user. I would like sub-VI (2) to remain open in the background (it doesn't need to run, just stay open), and allow sub-VI (1) to end so the program can move on to the next condition without the user being present.

I tried playing with reentrant execution and that didn't seem to achieve my goal.

Any help is greatly appreciated.
David
Read 61 times - last comment by Daklu     

Why Child class cannot read its own values?

User is online  
Vidula S 
- 07-28-10 20:44 - 0 comments

Class A ->
Private Data: Q Ref and Cluster-A
Protected Member function: “Initialize” which is a dynamic dispatch, Creates a Queue and assign user defined values to Cluster-A
Private Member function: “Start Write” which calls “Write Information” every xx interval of times
Public Member function: “Write Information” which is a dynamic dispatch



Class B -> Inherits from Class A
Private Data: Cluster-B
Protected Member function: “Initialize” which is a dynamic dispatch, first calls the Parent Initialize and then assigns the User define value to Cluster-B
Public Member function: “Write Information” which is a dynamic dispatch

Class C -> Inherits from Class B

Private Data: A Numeric Control (default = -1) and a Boolean Control (default = False)
Protected Member function: “Initialize” which is a dynamic dispatch, pass the user defined values of Cluster-A and Cluster-B to Parent Class
Public Member function:
1. Write Information – Write the information from Queue to the file depending on the Numeric control, Boolean Control and Cluster-B data of Class B
2. Create - creates an object of class C + Calls Initialize to pass data to respective class
3. Set # – Assign the user defined value to Numeric Control
4. Read # – Read the value of Numeric Control
5. Set Bool – Assign the user define value to Boolean Control
6. Read Bool – Return the value of Boolean Control

Class D -> Inherits from Class B

Private Data: Empty
Protected Member function: “Initialize” which is a dynamic dispatch, pass the user defined values of Cluster-A and Cluster-B to Parent Class
Public Member function:
1. Write Information – Write the information from Queue to the file depending on the Cluster-B data of Class B
2. Create - creates an object of class D + Calls Initialize to pass data to respective class

My application,
Create Object C + Set # (to say 10) and
Create Object D

Object D - Write Information works fine
Object C - Write Information has Read # and Read Bool which always returns the default value.

Not able to understand why?
Any help is appreciated.
Thanks.
Read 34 times - make a comment     

Modifying LabVIEW Menus (Not Run-Time)

User is offline  
NelsonUWP 
- 07-28-10 13:44 - 3 comments

Hey guys,

I'm trying to make some modifications to the project explorer menu items, specifically when you right-click on an item (e.g. Right-click -> Make VI a Template, bad example but you get the picture). Is there a way to modify these (and other) menu items in LabVIEW; and more importantly that modify, make them usable?

Thanks,
Adam
Read 96 times - last comment by jgcode     

Relinking to .so on windows

User is offline  
mike5 
- 07-28-10 07:14 - 3 comments

I have this external library that works on Windows and Linux, providing DLL for Windows and .so for Linux. I had to move files around a bit, and got a few broken dependencies as a result. I was able to relink all the DLL calls, but when I try to do the same for .so calls, the LabView complains that it cannot process the library. Is there any way to do this on Windows, or do I have to use LabView on Linux to do this?

Br, Mike
Read 68 times - last comment by Ton Plomp     

Need a small font for icons or other details?

User is offline  
Aristos Queue 
- 07-27-10 21:04 - 10 comments

Kudos to someone named Miha who created The Flea's Knees font and posted it in her blog for all the world to use.

In this font, all the alphanumeric characters in the plain roman face are no more than 4 pixels wide, yet surprisingly readable. Then she gives us italic, bold and bold italic forms! The font takes advantage of subpixel coloration. There's no font file that you can install to type in this font (because it is a full-color font, the normal type interfaces don't work right), but perhaps someone will want to extend the icon editor to allow typing in this font. Here's the finalized images from Miha:

Attached Image: TheFleasKneesFont.png
Read 179 times - last comment by neBulus     

[JKI News] JKI’s NIWeek 2010 Schedule

User is offline  
News Feed 
- 07-27-10 18:34 - 0 comments

NIWeek 2010 is only a few days away!  It’s always a big event for us, and we’ll be there to show you and tell you about all the exciting stuff we’ve been working on.

VISIT THE JKI BOOTH AT NIWEEK 2010

Be sure to check us out at Booth #841 by the Connect @NIWeek Lounge area – see expo floor map).

ATTEND OUR TECHNICAL SESSIONS

JKI engineers will be presenting and participating in several technical sessions at NIWeek 2010. Come to our sessions and learn about everything from basic state machine usage to advanced OOP design, and from commercial software development to viral video creation!

Tuesday

State Machine vs. State Machine (TS3012-SW)
Co-presented by Nancy Hollenback (G Team), Justin Goeres (JKI), and Norm Kirchner (NI)

Do you start all LabVIEW components with the producer-consumer design pattern, or do you use a full-featured state machine? Watch two Certified LabVIEW Architects face off over who has the best state machine and which features are essential for your template.

Tuesday 8/3/2010 at 10:30 AM
Room 12B

From Prototypes to Products — Building Commercial Instruments with LabVIEW (TS3032-ED)

by Omar Mussa (JKI) and Jim Kring (JKI)

NI hardware and graphical system design tools enable rapid prototyping in the R&D lab and serve as an excellent platform for commercial products. Learn how to overcome the special challenges of commercial software development and avoid rewrites in text-based languages by seamlessly evolving your prototype LabVIEW applications into shipping products.

Tuesday 8/3/2010 at 1:00 PM
Room 16A

Popcorn Tweets: LabVIEW Goes Viral (TS3965-CE)
by Justin Goeres (JKI)

Learn how the world’s first Twitter-Powered Popcorn Machine, programmed in LabVIEW, became a viral video. Listen to JKI Senior Engineer Justin Goeres as he explains how he used LabVIEW and LabVIEW add-ons to create a machine that monitors Twitter for “#popcorn” tweets, dispenses popcorn kernels, and pops real popcorn.

Tuesday 8/3/2010 at 1:00 PM
Room 11A

(You can also see Popcorn Tweets in action in the LabVIEW Community Zone all week long!)

Hands-On: How to Build a LabVIEW Add-On (HOL4021-SW)
Co-presented by Michael Aivaliotis (JKI) and Chris Bolin (NI)

Walk through the process of building a LabVIEW add-on and how to package an add-on with the VI Package Manager to plug into the LabVIEW palettes. Also learn about commonly used APIs and how to add licensing and activation to your product.

Tuesday 8/3/2010 3:30 PM – 5:30 PM (2hrs)
Room 18C

Wednesday

We Are the Champions (TS4012-CE)
Co-presented by Jim Kring (JKI), Christopher Relf (VIE), Edwin Dickens (DISTek) and Nancy Hollenback (G Team)

Do you have dreams of becoming a LabVIEW champion? Learn from the top LabVIEW community members who are recognized for their leadership, expertise, and contributions to the technical community. NI LabVIEW Champions are credible technology experts from around the world who inspire others to learn and grow with LabVIEW.

Wednesday 8/4/2010 at 2:15 PM
Room 11A

Thursday

LabVIEW Object-Oriented Programming Design Patterns for Large Systems (TS3037-SW)
by Tomi Maila (JKI) and Jim Kring (JKI)

LabVIEW object-oriented capabilities present new possibilities for large applications built on loosely coupled, event-driven components and frameworks. Find out how to reuse components across several applications by employing proven software engineering techniques such as inheritance, dynamic methods, dependency injection, and user events.

Thursday 8/5/10 at 1:00 PM
Room 12A

CONNECT WITH THE LABVIEW COMMUNITY

JKI will be well-represented at the annual LAVA / OpenG NIWeek Bar-B-Q on Tuesday night!

NIWeek 2010 is almost here. We’re excited and we can’t wait to see all our friends and collaborators from around the LabVIEW Ecosystem! See you next week in Austin!



View the full article
Read 36 times - make a comment     

2D arrays

User is offline  
miri 
- 07-26-10 14:10 - 5 comments

Hello!

I have 2 2-D numeric arrays. I need to do some math with each relative cells.
for example cell (0,0) of both arrays, until cell (8,8).

How can I get the value of the cells?



Thanks for any help,
Miri
Read 159 times - last comment by jgcode     

A hand in circular buffer

User is offline  
leonardovieira 
- 07-26-10 13:21 - 5 comments

I need to design a circular buffer for my purpose, which consists in :

My data comes from a DSP ( microprocessor) it's sending signals serially to a MAX3420E ( converts serial-usb) which converts it's to a signal tranmitted via USB port. I want LABVIEW to read the signals in te USB port and plot the signals (wave) in a chart.
But the data come to fast, so I want so make a circular buffer to put a part of the wave in the chart every seconds, if I don't to this she signal is 60 hz so would be impossible to distinguish the wave

I'm very new in labview so searching in the net I found this video which is very good but the sub VI it's a black box and I don't know what's inside.

I also found this article in NI http://zone.ni.com/d...a/tut/p/id/7188 but its this too hard for me too understand . Someone knows a simple way?



Thanks .
Read 197 times - last comment by leonardovieira     

Sports Bar near Convention Centre

User is offline  
jgcode 
- 07-26-10 12:02 - 3 comments

Anyone recommend any good Sports Bars near the Convention Center (NI Week).

Walking or cab distance.

I am thinking big screen TV and who play Versus.

???

Cheers
-JG
Read 115 times - last comment by jgcode     

LVOOP constant with non-default parent values?

User is offline  
shoneill 
- 07-26-10 08:12 - 17 comments

I have a LVOOP project where I have a parent class with all of the data required and many child classes which have custom accessory to this data but no data of their own (with child-relevant parsing built-in).

When I drop a child constant, since I have no actual data within the child class, I cannot have the class default to different data than the parent and the parent always has default data. My question is how I can create a child object constant with parent data corresponding to something else than the default values?

Shane
Read 185 times - last comment by Daklu     

Common Data Structures in LabVIEW

User is offline  
GoGators 
- 07-25-10 19:35 - 5 comments

I posted some example code on NI Community that implements linked lists, tree, and graphs using LVOOP and DVRs. It can be found http://decibel.ni.co.../docs/DOC-12668 . If anyone is attending Alliance Day I have a presentation on it called Applications of Advanced Data Structures in LabVIEW.

As a bonus I use the base classes to make a Priority Queue, solve the travelling salesman problem (as much as it can be solved), and find the best path between point A and B. For fun there is also a sudoku solver. I left it community so as anyone can add onto it.

If there is a particular problem someone wants to see solved, and it has common uses, give it a request and I might have time to make it before NIWeek. This might also be a start to LapDog.
Read 184 times - last comment by Yair     

Android App Inventor

User is offline  
Yair 
- 07-24-10 19:07 - 3 comments

Have you guys seen Google's App Inventor?



Looks like this could add a relatively major push to the world of graphical programming. The programming itself is not in same style or depth of LV's programming model, but rather more like the stuff you get in languages such as Alice or Scratch (and in fact its puzzle block appearance is very similar to the one Scratch has and that page mentions they're related).
Read 120 times - last comment by PaulG.     

Reading Multiple PWM Inputs

User is offline  
Ananth 
- 07-24-10 11:47 - 2 comments

I'm using the c-RIO 9004 with the 9014 chassis and LabVIEW 8.6.

I need to read and log 13 PWM inputs. I've thought about multiplexing the PWM inputs like http://zone.ni.com/d...a/tut/p/id/3254.

But the problem with multiplexing the PWM is that I won't have all the data from the 13 inputs at the same instant which I need.

So I've decided to have 13 loops on the FPGA each of which wait for a rising edge and then a falling edge and write the Ton time into an indicator. There is another 14th loop which reads from these 13 indicators using a local variable and writes into a DMA FIFO. RT reads from the FIFO and writes into a TDMS file.

Is this the best way to do this? Am I unnecessarily taxing the FPGA?

The PWM inputs are all from an infrared temperature sensor which I'm using to measure tyre temperature, which is why they need to be logged at the same instant.

Thanks
Ananth
Read 51 times - last comment by hooovahh     

How to show Getting Started Window (GSW) when a Tool's Daemon/Process VI is running in background

User is offline  
jgcode 
- 07-23-10 23:06 - 5 comments

[cross-posted to ni.com]

Howdy !

I have run into the following issue when creating a tool for LabVIEW that continually runs in the background (daemon/process VI):

By default, LabVIEW shows the GSW when all other files (project, VIs etc...) are closed.
However with the process running in the background, it does not show the GSW!

Has anyone run into the issue before?
Is there a way to set LabVIEW to 'ignore' my Tool and get the GSW to show normally?
The VI is running in the NI.LV.Editor application instance (the Tool is launched by Quick Drop).

Cheers

-JG
Read 149 times - last comment by Christina Rogers     



Latest Code Repository


Random Gallery Image

IMG_4619.jpg

Latest Discussions