NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Announcements
The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
0 Kudos
Jäger

CVI Lizenz

Status: New
by Member Jäger on ‎06-25-2012 02:49 AM

Wenn ein Rechner nicht am Nezt ist, vielleicht das Kabel nicht richtig drin oder am Platz kein Netz mehr frei ist, dann wird CVI mit einer eingeeschränkten Testlizenz gestartet und würde dann eine EXE generieren, welche in der Laufzeit eingeschränkt ist. Oft ist es der Fall, dass jemand CVI ohne Netzt started um im Quelltext etwas zu kontrollieren. Zu einem späteren Zeitpunkt erstellt jemand eine EXE neu und bemerkt nicht, dass das gestartete CVI keine Lizenz hat, obwohl der Rechner Netz hat. Er müsste erst CVI neustarten um die Lizenz zu holen.
Den Fehler bemerkt er erst am Folgetag, wo das Programm mit einem Fehler abgebrochen wird.
Es wäre aus meiner Sicht sehr sinnvoll, dass eine EXE, welche durch CVI ohne Lizenz erstellt wird, auch einen Popup mit eingebaut bekommt, welcher hiervor warnt.
Auch eine Abfrage, welche der Progrmmierer in sein Programm einbauen kann wäre sehr Hilfreich.

Comments
by Trusted Enthusiast on ‎07-06-2012 03:57 AM

Hello CVI Lizenz,

I would consider your suggestion... if I only understand it! :smileywink:

 

Could you please translate it into English for thos of us that don't know German? Thanks.

by Member Jäger ‎07-06-2012 05:52 AM - edited ‎07-06-2012 05:56 AM

Yes I can! / Yes I try.

 

For example I have no network connection CVI2010 will start without license.

When CVI ist stared without license you can only create time limited exe-Files which termiate automatically after several hours.

I think that it would be better when I have the chance to show the user by creating a new EXE-File that he has no licens like "Attention you are creating a EXE without license and the runtime is limited".

Or it will be good too, when the created program would make a messagepopup like "Attention. This program was created with a demo-license an it is run-time-limited".

Cause someone started the CVI without license to read only something in the code. Than he wants to copy something to the network and so he connects the PC with it. After this anotherone want to create an new EXE. This person then use the already started CVI and he doesn't restart the CVI to get a new license. He think he has a license cause of the connected network. Now he will create a EXE and start ist. On the next day he will see an error "..run time ...".

 

Thank you for your help!

 

 

by Trusted Enthusiast on ‎07-10-2012 08:33 AM

I seem to remember that running time for executables created with an evaluation version of CVI is limited to 10 minutes, maybe a little more but surely not several hours.

 

I never faced a situation similar to the one you describe, that is likely to happen when more programmers share a single machine. Nevertheless, some more evidence of being running an evaluation version could be a good thing. I suppose a warning when creating the executable could be enough.

 

Alternatively, you can see if an evaluation install of CVI creates a macro that you can use to prompt a message at program start. Something like this:

 

#ifdef _CVI_EVAL_

  MessagePopup ("Warning", "Program created for evaluation purposes only! Execution time limited to 10 minutes!");

#endif

 

I haven't a fresh install of CVI in eval mode so I cannot test whether this macro exists or not but you can possibly check it.

Adding it if it doesn't exists can be a good addition NI could consider for a future update of CVI.

by Member Jäger on ‎07-11-2012 12:40 AM

Thank you for your answer!

 

But I can't find any differences by th makro-defines between the evaluation mode and the normal mode.

There are any changes:

And so I can't find the define "_CVI_EVAL".CVIdefines.JPG

 

If someone knows anotherway please tell me!

 

Thank you for your help!

 

 

About LabWindows/CVI Idea Exchange

Do you have a feature idea for how to improve LabWindows/CVI? Submit and vote on ideas now!
  1. Browse by label or search in the LabWindows/CVI Idea Exchange to see if your idea has previously been submitted. If your idea exists, be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click New Idea to submit a product idea. You should submit a separate post for each idea. Watch as the community gives your idea kudos and adds their input.
  3. Give kudos to other ideas that you would like to see implemented!
  4. NI R&D will review ideas that have been submitted and update the status.

Note: the LabWindows/CVI Idea Exchange is not the appropriate forum to submit technical support questions.

The LabWindows/CVI R&D team is committed to reviewing every idea submitted via the LabWindows/CVI Idea Exchange. However, we cannot guarantee the implementation of any LabWindows/CVI Idea Exchange submission.

Idea Statuses
Top Kudoed Authors
User Kudos Count
8
6
3
2
2
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page