LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

database udl

Hello,

 

I have created a vi for accessing a udl file and put the data from the file to a table in front panel. but unfortunately when i run it its giving an error.

 

Error:

"

NI_Database_API.lvlib:DB Tools Open Connec (String).vi->NI_Database_API.lvlib:DB Tools Open Connec (Path).vi->TutorialGenerateDisplay 1.vi<ERR>ADO Error: 0x800300FB
Exception occured in Microsoft OLE DB Service Components: The file is not a valid compound file. in NI_Database_API.lvlib:DB Tools Open Connec (String).vi->NI_Database_API.lvlib:DB Tools Open Connec (Path).vi->TutorialGenerateDisplay 1.vi"

 

 

I have attached the block diagram..Is that the right way to acess database.

Thanking you,
Sushmith
0 Kudos
Message 1 of 4
(3,216 Views)

Check the database connection and the UDL file.

Rajesh Raghavan Nair

Certified LabVIEW Architect
Certified Teststand Architect
0 Kudos
Message 2 of 4
(3,205 Views)

May i know what is wrong with the connection..??

Thanking you,
Sushmith
0 Kudos
Message 3 of 4
(3,203 Views)

The error you reported indicates that the wrong provider is specified in the UDL file.

 

http://digital.ni.com/public.nsf/websearch/1D5EB4DCBD13106486256B9D005E11B0?OpenDocument

 

http://digital.ni.com/public.nsf/allkb/5351D6732E4100B586256F700060CC17?OpenDocument

 

 

 

 

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

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