Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

National Instrument CW Analysis 6.0

Hello,
I have made my software with the ocx  National Instrument CW Analysis 6.0
CWMatrix1
CWArray1
 
It work when I try it but not when I make an executable (.exe)
Do you know why?
Tank you for your attention,
Y. Goyer
0 Kudos
Message 1 of 4
(6,999 Views)
I try the exemple with the function that I use: GenEigenValueVector
When I work with Vb, My LicenseLevel is 3, but when I make an .exe it is 1 Why??
And With this LicenseLevel 1 I can't use this function whereas I have pay for the good Licence Level.
 
I give you the code for the exemple that I use. I have juste add the Print.
 
 
Private Sub Command1_Click()
  'Generate a 2D array with random numbers and compute both its
  'eigenvalues and eigenvectors.
Print "cwanalysisAdvanced:" + Str(cwanalysisAdvanced) '3
Print "cwanalysisBase:" + Str(cwanalysisBase) '1
Print "cwanalysisDSP:" + Str(cwanalysisDSP) '2
Print "cwanalysisEvaluation:" + Str(cwanalysisEvaluation) '0
Print "My LicenseLevel: " + Str(Me.CWMatrix1.LicenseLevel)
  Dim x As Variant, evalreal As Variant, evalimag As Variant
  Dim evecreal  As Variant, evecimag As Variant
  ReDim x(0 To 3, 0 To 3)
  For i = 0 To 3
    For j = 0 To 3
      x(i, j) = Rnd
    Next j
  Next i
  outputtype = 1  'Compute both the eigenvalues and eigenvectors
  CWMatrix1.GenEigenValueVector x, outputtype, evalreal, evalimag, evecreal, evecimag
Print "It Works"
End Sub
 
Thank You,
Y. Goyer
0 Kudos
Message 2 of 4
(6,993 Views)
Hello,
 
It seems to be an issue of license level. Could you give us the Serial Number and Part Number of your Measurement Studio package?
This error occurs if you are using an analysis function which is not in included in your Measurement Studio Development System. There are three levels of Analysis functions: Base, DSP, and Advanced. For example, if you have the Base package installed, you are not licensed for the DSP functions, which include AutoPowerSpectrum, FFT, Filtering, etc. Consult the National Instruments Catalog Pages for Measurement Studio for a description of the Analysis functions included with each Measurement Studio package, or refer to the Measurement Studio Analysis Web page (linked below).
 
* Measurement Studio Analysis Libraries
 
Greetings from Paris.
Matthieu G.
National Instruments France
0 Kudos
Message 3 of 4
(6,948 Views)

I Asume I have the complet version of National Instrument CW Analysis 6.0 .

But The Lvel change. When I work with VB6 I have the max level (cwanalysisAdvanced), and when I make en Instal The Level is 1 (cwanalysisBase). I can't anderstood this change.

How can I have the same level in VB and in an .exe that I Make?

regards,

Y. Goyer

0 Kudos
Message 4 of 4
(6,932 Views)