LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

viCheckErr(IVI_ERROR_OUT_OF_MEMORY)

Hi,

 

I am using IVI driver for agilent DSO 5012a (scope) and during the compilation I get error "viCheckErr(IVI_ERROR_OUT_OF_MEMORY);" and "checkErr (Ivi_GetAttributeFlags (vi, IVI_ATTR_IO_RESOURCE_DESCRIPTOR, &oldFlag));" as Undeclared identifiers.

 

As I looked into IVI.h file the"IVI_ERROR_OUT_OF_MEMORY" and " IVI_ATTR_IO_RESOURCE_DESCRIPTOR" are not defined (no #define exisits).

 

The IVI.h file is dated 7/12/01 while the scope is newer. May be a newer IVI.h will have the above #define!!. I am using LabWindowCVI 6.0 in WinXP OS environment.

 

Where can I get an IVI.h that will have the above Udeclared identifiers and be compatable to the LabWindowCVI 6.0 and the scope IVI driver? or may be there is a different answer to will fix this compilation error!!

 

Thanks for your support!!!

 -LVLV

Message 1 of 4
(3,909 Views)

Hi,

 

Thank you for your post.  Which version of IVI Compliance Package (ICP) do you have installed on your computer, and what operating system are you using?  It is possible that your IVI class examples are too old and that is what is causing it to not compile.  If you would, go to your control panel and open Add or Remove Programs.  Select National Instruments Software and then click Change/Remove.  Choose your version of IVI Compliance Package and select Modify.  Then, make sure that you have enabled support for LabWindows/CVI 6.0.  Please let me know how this works for you.

 

Have a great day!

 

Regards,

 

Todd V. 

National Instruments
Applications Engineer
NI Prototyping Community
Message 2 of 4
(3,888 Views)

Hi,

 

I am using LabWindows 6.0 in MS Vista OS environment.

I found out that I have ICP 3.2 that does not support LabWindows 6.0, what should I do? Any idea?

 

Thanks for your support,

 

-LVLV

 

0 Kudos
Message 3 of 4
(3,882 Views)

Hi,

 

Thanks for your quick reply.  IVI Compliance Package 3.0 is the latest driver that is compatible with LabWindows/CVI 6.0.  You can download it here.  This should get you up and running.  Have a great day!

 

Regards,

 

Todd V. 

National Instruments
Applications Engineer
NI Prototyping Community
Message 4 of 4
(3,878 Views)