×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Direct Labview Realtime SQL connectivity

Direct Labview Realtime SQL connectivity

Direct Labview Realtime SQL connectivity

(OP)
Hi

I am having difficulty with setting up a connection with a Compact Field Point and SQL Server 2000. Currently the scenaria is as follows:

I have a SQL server with which I would like to communicate with directly (preferably no software in between). I have Labview 7 with the SQL toolkit (however its components cannot be deployed on Labview RT, as it does not have the required API's/ODBC/MDAC etc).

I have spoken to several NI representitives, and they were unable to give me a solution (other than FTP, or writing a custom driver/protocol).

I have considered a few:

1. Deploy a protocol/module/ActiveX control that is compatible with SQL onto cFP, push the data to SQL.
2. FTP files off cFP using MS ftp.exe (pull data onto SQL server machine, then import with DTS).
3. FTP files using cFP onto IIS ftp server (push data, then DTS).
4. Install an OPC SQL server/client on the SQL server 2000 machine that will use the OPC protocol to import data into SQL.
5. Write a custom driver/protocol (which will run on the cFP).

What would be the best option, are there others, pros and cons?
I am guessing option 5 is probly going to be the favoured solution, if so what components should I use?


Thanks 4 taking a look.
-Thor

RE: Direct Labview Realtime SQL connectivity

Hi Thor,

We have EXACTLY the same problem.  Basically, the FP2000 cannot support ActiveX, and this is required by the ADO commands to connect to SQL.

The best solution we have found is to 'publish' the data over the local network, then you'll need to write & deploy another VI on the client server which reads this data and you can push the values to your SQL table.

It's not ideal, but it's the best solution we could find.

Good luck.

Cooky

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close