Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Graph image shows "Evaluate Copy" in customer's copy of the application

Dufei,

 

I came across this document. cw3dgraph is a non-licensed component. That could explain why you don't see it in the license file.

 

When you run the ActiveX License Fixer Utility, did you do it on the deployment PC?

 

Since the control is licensed in the registry, let's try that:

1.) copy over the cw3dgraph.ocx file from your PC to the deployment PC

2.) copy the file to c:\windows\system32 on the deployment PC

3.) Go to "Start" -> Run, then enter "regsvr32 [Full path of .ocx file]". The full path should be the system32 folder.

 

If that doesn't work try using the regsvr32 /u [Full path of .ocx file] command to unregister then register again.

 

If that still doesn't work, send me the source code. The entire thing is not nessassary. Just a small reproducible case that demonstrates the behaviour is good enough. 

 

 

Ren H.
Applications Engineering
National Instruments
0 Kudos
Message 11 of 28
(1,584 Views)

Hi,

 

i follwed your instruction, but encounter a x80040200 error so I tried the following method:

 

1. Using NotePad.exe to create a text file in the name of "myInstall.bat", the contents of the text file is just one line:

c:\Windows\SysWOW64\regsvr32.exe c:\Windows\SysWOW64\cw3dgrph.ocx

and save the file on the desktop.

2. Right click on this file, choose "Run as Administrator".

 

it did successfully installed the OCD into the register. However, on the customer computer the "Evaluation copy" banner still shows up even if the ocx was installed successfully according to my method. I think this is the cox deploy problem, hopefully I will get solutions from you.

 

Dufei

0 Kudos
Message 12 of 28
(1,575 Views)

Hey Dufei,

 

Please send me a simplied version of your source code that can reproduce the behaviour.

Ren H.
Applications Engineering
National Instruments
0 Kudos
Message 13 of 28
(1,566 Views)

I have uploaded the simplied source code. Please check your email and download the source code from the website that was refered in the email.

 

Best,

Dufei

0 Kudos
Message 14 of 28
(1,563 Views)

Hey Dufei,

 

Can you attach to it to the forum post in a zip?

Ren H.
Applications Engineering
National Instruments
0 Kudos
Message 15 of 28
(1,556 Views)

I have uploaded to the website:

 

http://dell.chem.sunysb.edu/xPolar

 

in this folder, you can download the .zip file and also the sample data files.

 

Dufei

0 Kudos
Message 16 of 28
(1,553 Views)

Hey Dufei,

 

I can run the application. Can you let me know the names of the sample data files and and how use them?

Ren H.
Applications Engineering
National Instruments
0 Kudos
Message 17 of 28
(1,543 Views)

Please follow the steps in bellow:

 

1. Down load the sample data from the same website, I.e. http://dell.chem.sunysb.edu/xPolar


there are two data folders, one is "SAXS_Selected" and the other is "bckgrnd". Download these data on to your desktop with the same folder names.


2. Start the program, either in debug mode or release mode, click "File/Open 2D image" and select the detector type to be "MarCCD", this is important since I have ripped off all other detector types, click any one of files in "SAXS_Selected" folder.


3. Once you load in the image, click "View/3D view", there will be tool window pop up and a blue rectangle showing on the image. Move the blue rectangle around and/or change its size to choose the area you want to have the 3D plot, then click the "Do it " button on the tool window. There will be a 3D plot showing up.


4. You can maneuver the 3D plot a bit and try to save the image by click one of the icons on the tool strip. Once you save the image, try to open the saved file with other software, there should have no banner in the saved image.


5. Close all the open windows, and then click "open script file". There will be a window pops up. You click "Load" button to open the script file. The script file is in the subfolder of the application folder, the file name is "Generate3DImages.ipy". After loading the file, click "Run", you will encounter some error related to the file path names, after you correct these errors in the upper editable panel and the click "Run" again, the script start to generate the 3D plot and save to file in the background.


6. Try to access these generated files. You may see there is a "Evaluation Copy" in the image. If you don't see that, probably is because you have the valid develop copy of the Measurement studio, you may have to try to install/deploy the application on the computer of customer who does not have the Measurement Studio installed.

 

Please let me know if you have any questions about the application.

 

Dufei

0 Kudos
Message 18 of 28
(1,540 Views)

Hey Dufei,

 

Thanks for all the info! I can run the application just fine.

 

You are right, I don't have the evaluation mark. I'm going to find a clean and install the application and see if I can reproduce it. 

Ren H.
Applications Engineering
National Instruments
0 Kudos
Message 19 of 28
(1,525 Views)

hi, I wonder if you have re-created the problem that I had.

 

Dufei

0 Kudos
Message 20 of 28
(1,486 Views)