Jump to content

MartinMcD

Members
  • Posts

    150
  • Joined

  • Last visited

Everything posted by MartinMcD

  1. I spoke with NI today and they confirmed that this was a limitation with LV8.2. Fingers crossed our 2009 upgrade will be getting rolled out soon.
  2. Hello there, I've created an icon file for my project and have 32x32 and 16x16 versions in 16 and 256 colour. When I build the application (LV8.2) the executable has teh 16 colour icon rather than the nicer 256 colour one. My desktop is displayed full colour - it is specific to this. Can anyone advise please? Thanks, Martin
  3. Ahh, great thank you. I hadn't thought of setting the destination directory.
  4. Thanks for the reply but the link seems to have been missed off. Please could you post it again?
  5. Hello there, I'm trying to find the way to save a file into the 'data' directory that gets created next to the myApp.exe built application file. Please can anyone help? If I use Current Vi Path->Strip Path->Build path data then this works in development mode but not in run time mode. Also, I noticed that within the data directory of my built application a dozen folders with my class names have been created with thi vis inside. Is this normal? It is the first class-based app I have built. It seems strange to build a standalone app and then have to send out a folder with loads of vis in it. Thank you for the help, Martin
  6. Hello, I am trying to get to grips with the 'Unit Convert' block. I have it working fine to set the unit of a raw number to kPa etc. However, I have a speed reading which at the moment is a unit-less number but is actually an rpm value. I can't use Unit Convert to go to 'rpm' or 'revolutions/s' etc. I can do 'Hz/m' but that is a not very helpful. I imagine this is a common requirement. I'm probably missing something simple - can anyone help please? Thanks, Martin
  7. Hello, Assuming for the moment that I have sound reasons for wanting to do so - is it possible to include a font with an application installer and have it automatically install incase it isn't available on the target system? Thanks, Martin
  8. Thank you for the reply. I think the problem may be that I only have LV8.2, I believe shared variable stuff was rewritten in 8.5? Thanks, Martin http://zone.ni.com/reference/en-XX/help/371361F-01/lvconcepts/usingdynvarapi/
  9. This page is on deploying NSVs from an executable. http://digital.ni.co...C6?OpenDocument
  10. Hi everyone, I'm rewriting a data acquisition app of mine at the moment as a way of learning about implementing OO and network shared variables. The shared variables may not be the best way of implementing my solution but it as much a learning exercise. So, my question was this: Is there a way that my datalogger class can find out which network shared variables are currently being published from the local machine? When I place a shared variable block on the diagram I then double click to bring up the menu to select the variable that I want to read from - I am looking for a way to do this at run time. Thanks very much, Martin
  11. Hi there, My company is being slow to update - would anyone be able to save me out an 8.2 version please? Thanks very much, Martin
  12. Using this System Exec vi works but it brings up the command window which is a bit unsightly.
  13. Me again, The Dynamic Load Example in the Example Finder works exactly like I want with the exception that I want to be able to open either ideally a vi from within an lvlib (which it seems I can't do) or call an exe. I've found one way of opening the exe using .net constructors and an invoke node which has the feeling of being the hard way of doing things & therefore probably wrong. Can anyone advise please? Thanks, Martin
  14. Just reading up on this now - this may help anyone else thinking the same: http://digital.ni.com/public.nsf/allkb/8545726A00272EB0862571DA005B896C
  15. Thank you everyone, I'm now trying the bespoke tiny launcher idea that seems like a better approach, thanks. I created a source distribution of a dummy app (displaying the increment value in a while loop until stop). I'm now trying to find out how to open the vi within the library - Open VI Reference is complaining that it is not a path. I've used MyLib.lvlib\count.vi and MyLib.lvlib:count.vi Any ideas please? Thanks, Martin
  16. Hi everyone, At the moment I've created a few different data acquisition apps for our company that get used by 20 or so people. We have one app for talking to rig A, one for logging from rig B etc etc. I would like to create a more streamlined approach, my plan is this: - The distributed app launches up and shows a 'what do you want to do' panel. (Talk to Rig A, B C etc). - The user selects the one they want and then the relevant app is loaded into a sub panel within the launched parent, but it fills the panel. I've run into trouble getting the sub-panel child vi to set the parent's run time menu and be notified of menu events etc. I dare say I'll figure this out if I keep plugging at it but it makes me think there must be a better/more elegant way. I was wondering if anyone could suggest a better approach to this type of problem please? Thanks, Martin
  17. Thanks for the reply, that helps. I have found a page on ni.com that shows how to switch menus but the demo is for 2009 and I only have 8.2. I don't suppose anyone could save out an old version for me please? The link is: http://decibel.ni.com/content/docs/DOC-9341 Thanks, Martin
  18. Hi there, I'm trying to figure out how to let my sub-panel have access to the parent vi's menu. Hi main vi will be a shell pretty much and then the user will select which DAQ app they want to use on that occasion. That DAQ vi will then be loaded into a sub panel and away we go. However, they sub panel will need to take inputs from the menu, and set it's own applicable menu items. Can anyone help please? I'll keep looking myself and post back if I figure it out. Thanks, Martin
  19. Hiya, I know the problem you mean and if there is a better way around it than my hack I would love to know it. My options are: - Don't use the custom scale property and just scale my raw (eg voltage) data manually when I read it in - Use the custom scale property and to change the scale (eg zero a pressure reading) stop and restart the task. Thanks, Martin
  20. Thanks very much for help and advice, it's great that there is such a friendly & helpful community of us Labview types. I shall get practising Martin
  21. Thank you both, I shall have a look at the Software Engineering Approach book and go through my notes from the course again for starters. I'm somewhat nervous about passing this exam! Thanks, Martin
  22. Hi everyone, I rarely post on the site but I do spend a fair bit of time reading through other peoples' posts. I've been using Labview for ~4 years and I'm sitting the CLD exam in a month or so. I want to get to a high level with Labview as at the moment I seem to have been stuck at the same intermediate level for ages. I was hoping somebody could throw in some advice on how to progress, what has worked for you, what you wish you'd realised sooner etc. I attended the Intermediate I&II course at NI in the autumn and I have a software background but I only do pretty small projects at work - which I tend to over complicate so I get to learn something new. If you have a spare minute I'd be really pleased to hear any thoughts. Kind regards, Martin
  23. Hello, I'm a regular Labview user but at the moment I'm trying to learn about OOP in Labview and about scalable architectures etc. I've been playing with this multiple-stopwatch vi for example: http://forums.ni.com/attachments/ni/170/21...leStopwatch.zip I'm about to start writing an application which I'll use to set an analogue voltage out as a request to a motor inverter and collect some data back in. Broadly, I'm looking to do this: -I always want to be able to set an analogue voltage output according to a user slider value on DAQ Device 1 -Some days when I use the application I will want to read an analogue input on DAQ Device 1, other times I won't care -Some days I will want to read serial data from a flow meter -Some days I will want to read pressure data from a USB-6009 -Some days I will want to read speed data from a second USB-6009 I could complete this in the usual way but I see it as an opportunity to learn about classes etc as a way of having a scalable application that will give the user the option at run time to include only those bits of the functionality that are required. (It probably is overkill etc, but it is a learning exercise.) As I'm at the start of a learning curve here I was wondering if anybody could point me in the direction of some examples/tutorials looking at oop-based DAQ design patterns and/or how to implement this modular architecture. Any help would be much appreciated. Best regards, Martin
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.