From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Month Calender of .net in Labview .

Hi ,
 I am using month calender from .net & Activex pallete in a vi.I getting warnings , which i am sending as screenshot. When i create a exe , it giving error & not creating exe.
I have .Net 2.0 runtime. The System.Windows.Forms.dll is there in GAC. But still it is giving warnings when vi is run and not creating exe. I am using Labview 8.5.
 
Is there any thing to be done to use .net controls in labview.
 
If you put NET Meetings Calendar.vi (which is there in ni example finder) in a project and create a exe , it will give error and not create exe.
I am attaching the sample project with vi.
 
regards
Santosh Kumar
 
Download All
Message 1 of 17
(4,296 Views)
Hi Santosh,

I opened up your project and compiled it in 8.5.1 with your build specification with no errors.  Maybe something is misconfigured with your .NET framework?  I'd recommend removing and reinstalling this, or (if possible) try compiling your project on another system to see if you can reproduce the error.

Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 2 of 17
(4,241 Views)
Also, the warnings don't appear to be a problem.  I opened your vi, saved it, closed it, and re-opened it and the warnings did not appear again.
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 3 of 17
(4,240 Views)
HI Eric,
 
 After installing Labview 8.5.1,  the errors i mentioned above , didn't occur.Exe gets generated.
 The exe generated was for a different project , in this project i have vi's having month calendar of .net (operator log.vi and Read system log from file.vi ) as control.But after creating the exe , and running the exe. I got the following error "Labview needs more memory to compile vi". What's may be the reason . In development mode there is no error at all.The src code does not give any such errors. I am attaching the scrrenshot of the error.
 
 
regards
Santosh Kumar
Message 4 of 17
(4,214 Views)
Santu,

I have not experienced that error either.  This help file provides more info:

LabVIEW 8.5 Help - LabVIEW needs more memory to compile VI

You may also want to try creating a debuggable exe:

LabVIEW 8.5 Help - Debugging Applications and Shared Libraries




Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 5 of 17
(4,161 Views)

Hi Eriq,

The help does not say much about the error ,It says "There is insufficient memory available. To correct this error, you must make more memory available on your computer for LabVIEW to generate the code for this VI."

Anybody facing such situation, and found a solution ?

 

regards

Santosh Kumar

 

Message 6 of 17
(4,089 Views)
Hi Santu,

Then, does that mean this error occurs when you double-click the EXE?  If that is the case, have you tried making it debuggable and connecting the development environment to see if the error still occurs?  Could you post the EXE here?
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 7 of 17
(4,066 Views)

Hi Eric,

Yes when u double click the exe ,the error occurs .I am attaching the exe.Just rename Application.txt to Application.exe.I have not tried making it debuggable.

 

regards

Santosh Kumar

Message 8 of 17
(4,047 Views)

Hey

Can't able to convert your txt to exe. How you did that?

Thanks,

Mathan

Message 9 of 17
(4,040 Views)

Ok fine,

I did it in DOS prompt.

Message 10 of 17
(4,037 Views)