-
Posts
955 -
Joined
-
Last visited
-
Days Won
34
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Antoine Chalons
-
-
- Popular Post
- Popular Post
Hello, wisdoms! Please kindly give me some advices or hints.
Now, i need read all text files in a folder, but i just find i only can read one selected file one time.
It seems LV can't read files in folder one by one automatically.
Should i use ActiveX or .net??
Hello,
Remember that you are limited only* by your imagination
LabVIEW has a function in the "File function" Palette to list the content of a folder :
So you can use it to get the content of your folder and then use a while loop to read each file :
Of course you can then add improvements to only read text files, etc..
Hope this helps
*: well.. almost..
- 3
-
Cool, that's the one
Any idea how to find a post on LAVA 2.0 when you found it in google cache??
It's terrible to know the exact name of the thread, the date, the section on LAVA 1.0, the thread starter... just everything but you can't find the actual link on LAVA 2.0...
-
I’ve tried to find an old post I did where I raced all the different flavors of OOP, but I can't find that post, weird. I have the benchmarks which I could re-post if anyone is interested.
LAVA search is just a joke.. I gave up using it, try "site:lavag.org OOP Benchmark".
Maybe the post you're referring to is the post 13 of this LAVA 1.0 thread (in google cache)
- 1
-
the link in this post is broken.. and the page you get redirected to is : http://lavag.org/?topic/3463-nobody-nose/
-
"We're talking about what's new, and, honestly, that crash *is* new..."
... Quote of the month!!
-
To avoid this problem I never set my VIs modal in the VI properties, VIs to appear modal set themselves "modal" when they are called and set themselves back to "normal" after execution.
But I like your VI, it's a nice way to solve this issue .
- 2
-
I've been thinking about that too.. and never really knew what was the best thing to do so I went for option 1.
One comment though, I've made many plugins for Vision Builder AI (different version from 2.5 to 3.6) and when building the plugin's llb every VI in the hierarchy goes into it, some VIs are renamed and some not.. I've never really tried to understand how and why, it could be interesting .-o
-
I'm wondering if it's possible to programmatically create a new axis in an XY graph. I know there are built-in tools to handle axis manipulation, but I can't find a way to generate a new axis at runtime, either through a right-click menu or a property node.
I do know about the Active Y Scale property, but for that to work the axis must already be present. I tried setting the Active Plot to "2" on a brand new plot, but it gave me an error. When I added more axes to the graph in edit mode, it would let me select "2" when I ran it- but it wouldn't -generate- the axis for me.
Please tell me there's a way to do this... I've been pulling my hair out over here!
I'm sorry, you can't create a new scale at runtime. The only work around is to create scales at edit time and then use the property "visible" to show hide each scale. I know it's less fun... but that's how it is.
The "active Y/X Scale" property lets you select the scale you want to operate on. If you have 3 X scales, set "Active X Scale" from 0 to 2 to operate on these.
Hope this helps
-
I tried to make an executable file from one of "VI scripting" example (Script Random Strip Chart with Diagram Cleanup.vi) but it does not work... Why? Who knows how to make correct exe-files?
most (if not all) the scripting methods and properties are documented as "not available at runtime" I imagine this is why it's not working. Not sure though..
-
For the record if anyone is looking for the product suggestion center, here it is.
- 1
-
Some Code Repository items don't have support thread.. Is it normal? Is it due to migration from LAVA 1.0 to 2.0?
I'd like to give feedback and suggest new feature on Karissap's Multi-Column Listbox XControl...
-
Done. I've changed from double to single-clicking and I couldn't see how to make the PointToRowColumn do what you suggested, but I've implemented the same effect.
Hey, that's really cool, I love this tool!
-
Does anyone know how to do a real plugin style archetecture with LV.
Here is an example based on code posted by crelf a few days ago and on JKI state machine.
It only works in exe (mainly because I just wanted to play with plugins and also because I'm lazy).
- start the exe,
- open the lvproj,
- create a new PrefPanel plugins from the template (*.vit),
- save it in the plugins sources folder,
- duplicate on the the existing Source Distribution build spec and modify it to use your pref panel VI,
- build it you plugins
- go back to the running exe, hit "home" and your new pref panel should be added in the list.
Please ask questions, give feedback, propose improvements
EDIT: just added the possibility to work as source code
- 1
-
Hi Everybody,
I am having two strings in date and time format like 20.07.2009 17:00:20 PM and 20.07.2009 17:02:00 PM. I want to substract the string so as to get the date and time difference. Can anybody help me? . I am using Labview 8.0
Pande
Hi,
You might want to use the "scan from string" primitive (to turn your date string into a timestamp), then cast your timestamp to DBL (actually "second") and then substract the 2 DBLs to have the timne difference in seconds.
See this:
hope this helps
- 1
-
I am having a problem with subpanels. I want to be able to do the following:
Have a main panel that includes the Subpanel.
Load a vi into the Subpanel note that the vi may not be known until runtime but for proof of concept I hard coded a path. the problem is that it works in the developement environment but not when built into an EXE i keep getting error 1003 stating that the vi is broken or that some subvi's are missing, the subvi that is being loaded into the panel only has a while loop, stop button, and a button that displays the express vi display message to user. Ultimately i would like to be able to have a generic upper level vi and be able to load any vi that is on the machine in to it.
I have looked around and I am implementing the design idea that crelf posted about subpanels, although i cannot find the link at the moment.
Any suggestions
Joe
Hi,
I think this is referred to as "plugins architecture", here is a page on LabVIEW Wiki that you could help you.
I have other old links (LAVA 1.0) about plugins architecture in LabVIEW but I don't know how to find then again.. LAVA search doesn't like my search tokkens
old links :
- Calling an external LabVIEW VI from an EXE : http://forums.lavag....-EXE-t3161.html
- Plugin architecture as exe in 7.1 : http://forums.lavag....2149#entry62149
- Plugin architectures... : http://forums.lavag....res-t14113.html
Hope this can hel
EDIT :
google cache is your friend :
- Calling an external LabVIEW VI from an EXE
RE-EDIT :
Calling an external LabVIEW VI from an EXE on LAVA
to find it I had to get the date of the last post from google cache and then I went on LAVA 1.0 content and search by date.. that's ridiculous.. the search engine REALLY sucks!
-
[...]
I really like this idea and I am thinking of trying it for new rewrite, I just wondered about people thoughts and comments on this as it is not really a standard design pattern.
[...]
Yep, I've been developing an application based on what Mr. Blum calls in his LabVIEW Style Book the "Modular Multiple-loop Application Framework" (page 283>285), each loop being based JKI SM.
I used different techniques for passing data and events (queues and FGVs) depending on the cases, I didn't think of user event because I'm familiar with them but they could surely be a good option!
I'm interested in looking more into that :-o
-
Guess I better submit this to NI as a bug then.
You should report the bug anyway, it will surely not be fixed in LV 2009 but maybe in the next release in early 2010, so you'll probably need to use a work-around until then
-
After much anticipation, the LAVA NI-Week 2009 T-Shirt is now available! Buy yours in the
LAVA Store here.The back decoration is not the same in your post and on zazzle... :-o
I imagine this is, as François reported, because zazzle automatically put the front decoration on the back because the back image was found to be copyright protected..
-
Sorry to break into the discussion. I have been trying to find some work. I am using several different headhunters and sent resumes to the black hole of HR. Nothing. LAVA use to have a job board. Since the new look I have not been able to find it. Could any one direct me to the job board?
NI also has a page for job seekers
-
Hi
I've just started a discussion on NI community / LabVIEW API to put requests for new properties/methods.
-
I agree.
I never found the property to change the frame color programmatically. I think it's not exposed... otherwise I would have colored it red to indicate there was something hidden...
I'll ask NI to expose this property!
I am used to change the colour of my case structures when I change the case sensitiveness :-o
-
With scripting available, we can now definitely build analysis tools of our own.
with a little work this could be added to the RCF as "enable / disable auto grow on all structures" on a VI and its hierarchy.
-
To search exact phrase use: "exact phrase"
Hmmm.. Is it a joke... I was looking for an old thread about SMS and LabVIEW (I remembered I saw one on LAVA 1.0)
- I first tried to search Send SMS in LAVA 2.0, no interesting results...
- Then I googled site:lavag.org Send SMS, it found the thread I wanted but when clicking the link, it would only get me to LAVA 2.0 main forum page, google cache got some data though.
- Then I saw this thread, and tried "Send SMS", and got the thread I was looking for... :-s
So basically we should ALWAYS put brackets for the search to work fine.. I'm a bit confused!
-
Isnt there any other way to send text messages? I fear that my client wont be allowing softwares like skype to be installed on their systems
Oh.. maybe I just don't use it properly but I can't get what I'm looking for with the LAVA search.. Bless google!
I found this thread in google cache. Maybe it's been moved to LAVA 2.0.. but I couldn't find it :-S
Hope this helps
EDIT:
right.. I've just figured how to use LAVA search... just dial "Send SMS" (with the brakets) in the search field, and the result are fine
"VI Reader"
in LabVIEW General
Posted
Do you mean something like VI Engineering's "VI Documentation Generator"or more like VIpreVIEW?