02-24-2011 03:43 PM
Hi pals!
Anyone know where can I found information about DataSocketServer, DataSocketReader, I need to write process data to SQL Server in other PC (in same LAN)..this is possible using DataSocketServer, DataSocketReader.....but I don't know how set it.
thank you!
02-24-2011 10:06 PM
If you are looking for general datasocket explanation some material is available here and some tutorials here. Also LabVEW help is a good place to read on specific functions and how Datasocket can pragmatically open and close connections.
Are you generating data on first PC (likely running LabVIEW) and trying to write that data to SQL on second PC? If you are using LabVIEW (for example) on both the PCs the writer will publish and the reader will subscribe to data. Datasockets can also be used between other applications like LabVIEW and Teststand to send data to and fro.... basically as far as the PC's are on network and that is true in your case as I understand.
02-24-2011 11:37 PM
02-25-2011 08:53 AM
Hello,
yes I'm generating data on first PC(LabView) and trying to write to second PC (SQL).....I must to install some component (DataSocketReader) on SQL server PC?
02-25-2011 08:57 AM
02-25-2011 12:04 PM
Hi juribe,
If you want to put the data in database,then you have to use database connectivity toolkit and you have to use dsn files to specify the sql server location.Data socket server and client are used to transmit data from one pc to another pc in a LAN,just like any TCP/IP..
Thanks and regards,
srikrishnaNF
03-01-2011 10:47 AM
Hi srikrishnaNF!
I'm really new in labview, if I understood, I do not need the DatasocketServer?, then I need to use the Database Connectivity Toolset, create an udl or DSN, then I must to put some programing blocks..right?
thank you for your patience!
03-01-2011 01:12 PM
1. To write the data to database use the Database connectivity toolkit.
2. When you need to send (or publish) data between 4 pcs then use datasocket. You will need one server and there can be multiple clients that can subscribe to server and receive the data. If you do not want to publish the data on other Pc's then you do not need datasocket.
Hope this helps.