Jump to content

manojba

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by manojba

  1. QUOTE (manojba @ Apr 27 2009, 01:50 PM)

    Thanks Rolf I think I will build a installer application but still if anybody has a solution to accomplish this easily it will be of great help I am using TCP/IP communication in my application :question: ...

    Hi my application is 850KB when I make a installer its size becomes 62MB I dont have any issues in making installer but the problem is with its size so please can anyone tell me how to make a exe with lv runtime in it so that my application size is less and can be shared easily over internet with others as I am not using any serial communication there is no need to install visa, I know I only need lvrt and I have seen many post they have achieved the using trial and error method so please can anyone explain me it in detail...

  2. The above example by John Lokanis is really usefull, I just created this for fun though the problem was i couldnt make the images backgroud completely transparent there were some white dots in it...

  3. QUOTE (Karissap @ May 6 2009, 09:54 AM)

    Thanks Karissap this is what i was looking for ...But the problem is i cannot adopt this technique in my application because i already have a event structure i tried all possible ways of putting this technique into my code but its not working...I have a picture what my application looks like though this is not my real application but it is similar to this i.e. i have a event structure in one event i open tcp connection in second event i read and write and in third event i close tcp connection.In second event i display data in table were i need to do this.

  4. Hi,

    I have a table to display some numerical data I want to give user a column in same table to enter notes(i.e. alias column here) based on data retrieved.But the problem is as table is indicator user cannot edit it I mean he cannot enter any notes as needed.So now I am using two tables side by side one is indicator other is control but it looks odd with scroll bar in between and data cannot be matched as there are two scroll bars so is there a way to have common scroll bar for both tables plz reply soon thanks in advance...

  5. QUOTE (LV_FPGA_SE @ Apr 29 2009, 10:58 PM)

    Hi there can you post your vi again using save for previous version and changing it to version 8.0 bcoz i have v8.0 so i couldnt open your vi and it would be better if you post it quickly thanks...

    QUOTE (jdunham @ Apr 29 2009, 08:28 PM)

    1) It's better to make the boolean transparent instead of matching the background. Then if you are using system color or if you change the background, it will always work

    2) Use the boolean's "Boolean Text" property rather than just a string overlaid on your boolean. Then the whole thing will be clickable.

    Thanks for your suggestion of making boolean transparent it has solved my earlier problem, this is how it works by making boolean transperent.

  6. QUOTE (Yair @ Apr 29 2009, 03:12 PM)

    Thanks everyone actually I had used open Url in default browser vi and to trigger it I used Flat square button in front panel with color of background so that it was not visible but i had problem with it whenever user clicks on text the button is not pressed as it is behind text but if user clicks area behind text it works but it is not working as i need it bcoz its difficult to press the button you will come to know by seeing the following fig

    Then i changed to event structure though its working fine but it would have been nice if it worked on clicking text and not whole panel.

  7. QUOTE (rolfk @ Apr 27 2009, 12:48 PM)

    If the runtime engine is already installed on the system you can usually just copy the build directory from the application builder step to that machine. But you will need to install the runtime engine no matter what. Up to version 5.1 it was very easy to just copy everything to another machine, drop in the lvrt.dll file from the runtime engine directory alongside the exe et voila. But LabVIEW has since evolved and added a lot of features that depend on additional components being installed on a machine. Those components get installed together with the runtime engine.

    With LabVIEW 6 and 7 it was still possible to do such a distribution to some extend but it was a lot more trial and error which files you needed to copy from the runtime engine directory into your application directory to make it self contained. lvrt.dll alone definitly is not enough anymore and things like Advanced Analysis functions won't work since LabVIEW 7.1, since they make almost all use of the Intel Math Kernel Library from that version on and that is an external component that needs to be installed on a system in order for the LabVIEW system to find it.

    With LabVIEW 8.x I have not attempted to do self contained applications so far and do not intend to spend any time in doing so. The whole LabVIEW runtime universe got in the meantime so complicated and interconnected that I see no point in spending time to figure out everything just to avoid having to run an installer application.

    Rolf Kalbermatter

    Thanks Rolf I think I will build a installer application but still if anybody has a solution to accomplish this easily it will be of great help I am using TCP/IP communication in my application :question: ...

  8. Hi,

    I was wondering weather it is possible to run exe built with labview on system without labview.I know we need labview run time to run the exe which can be included by building installer but I dont want to build a installer I just want to create a exe with run time in it so that user has to just run exe directly and not install the application on his sytem so is it possible to do it :unsure: .Thanks in advance...

    • Like 1
  9. QUOTE (Mark Yedinak @ Apr 13 2009, 08:57 PM)

    Would you mind giving us some details about how you handled it? After all, the intent of LAVA is to share good ideas. If you found a good way of doing this I am sure others would appreciate hearing about your solution.

    In My application I am writing current date + 30 days to registry the first time application runs and then on i just read it from registry every time application runs and check weather current date is more than what is written in registry if it is more than 30 days the application stops all this is fine but when user sets back his system date say 20 days back the application again runs for 20 days so to over come this what i have done is, the day 30 days are over I again write to system registry some time which is so backward like 16/4/1985 user will never think of setting his system time to such a date I know this method maybe funny for some but it works for me... :D

  10. Hi I want to create a splash screen for my about window when I click on about button it should appear and when clicked anywhere inside the window it shoul close like the one we have in Labview help menu about Labview and how to include pictures in it thanks in advance...

  11. QUOTE (martin@aerodynamics @ Feb 12 2007, 02:37 PM)

    Hello Eugen

    I would suggest you to Implement a "time-protection" or something. But the most important thing is that you don't make just a subvi with an output (true/false) you have to think a bit more and create a complicatted string (numbers)...

    Otherwise someone could easy change your protection-vi with a self made vi...

    (You can also check the call chain etc. to prevent such things...)

    But I think the best thing is to implement such a "check" directly in your vi and not in a subvi...

    Theoretically someone could easy change the date on his computer, but there are also ways to prevent (dedect) this...

    Hi if you are still following this post I am also dealing with same problem in my application I am writing date to registry and checking it in order to run it only for a month if I change the date it fails you said there are ways to prevent this please can you help me with this...

  12. QUOTE (hooovahh @ Apr 8 2009, 01:28 AM)

    On the unbundle of the error cluster check to see what the error code number is. If the error code is equal to the known error code for having no registry key to read, then clear the error and write to the registry the date plus 15 days.

    As for how to calculate what today's date plus 15 days is, take the time stamp and add 1,296,000 to that number (wire the primitive add to the time stamp and add a double with the value of 1,296,000 to it) if you were wondering there are 1,296,000 seconds in 15 days.

    Thanks hooovahh now its working I used an error cluster at the end to handle it, it was Generic error 42 not a known error but the most important question is do you think this method really works(initially suggested by PaulG) to create an evaluatiion build by writing system time to registry what if somebody changes the system time I tried it this method completely fails what now... :thumbdown:

  13. QUOTE (hooovahh @ Apr 6 2009, 08:46 PM)

    You can convert the time stamp to a string then write to the registry. Then convert from string back to time stamp when you read from the registry.

    LVexampleflatten.jpg

    EDIT: The name of those primitives is Flatten To String, and Unflatten From String

    Thanks hooovahh but there are two problems doing this once you see my code you will come to know which I have attached here the first problem is it gives an generic error for first time it runs(this happens bcoz there is no value in register the first time it is read then the value is written and second time it runs smoothly so how to avoid this error first time) and second is how do I add exactly fifteen days to value read from register bcoz its in binary string or time stamp value...

  14. QUOTE (LV_FPGA_SE @ Jan 30 2009, 09:44 PM)

    Same idea as Paul G, but write the time of the first run into the registry (assuming you are running on Windows). Every time the application starts, check the registry location. If the entry is not there you assume that it is the first run and you write the time/date to the registry. If the entry is already there then check to see how much time has passed, and if it is more than 15 days, exit the application.

    To make the registry entry harder to find manually, do not use an obvious name for the key and encode the value (time/date) using some simple algorithm.

    I know I am catching up this post after long time actually i was stuck up with some other work, I tried what you said like writing date to registry and then reading it from there but its not working because i can write to registry only in three data type ie DWORD,BINARY and STRING once i write my date and time in any of these fromat I am not able to convert it back to Labview time stamp with same date and time its gives some other junk values so how do i do it...

  15. QUOTE (Ton @ Apr 3 2009, 01:34 AM)

    You should:

    A: Autostart the VI

    B: Hide the toolbar as well

    C: Close the Front Panel after the code has finished

    Ton

    Thanks for reply, I know I can choose option "Run when opened" and disable menu bar in vi properties in run time and also hide tool bar so that i dont get menubar but the thing is I dont want to autostart so is there no other way to do it...

  16. Hi,

    I have built a exe in Labview but i dont want the menu bar while using the exe, if I disable menu bar in vi properties or while building exe it effects only runtime menu bar but when application is open default labview menu bar is still there and only while i run the application it goes so how to avoid it even when application is not running. I dont want any menubar in my application wheather its running state or its not running :question: actually i have attached snap shots of my application one while not running, the other while running.

    thanks in advance pls reply ASAP...

×
×
  • Create New...

Important Information

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