07-31-2007 02:22 PM
08-01-2007 03:08 PM
08-02-2007 01:16 PM
MissyD
After I posted that question I thought about it a little more and realized that even the S cards cannot do what I want natively. The problem is that multiple simultaneous calls to the driver/board do not work. I agree that there are benefits to having isolated ADC's but simply adds cost to what we want to use it for. Hopefully someone has done this.
I want to sample at the highest rate I can on the channels and then process the data in software. This means I would need to buffer a lot of points. In fact by writing one channels read to a file results in several 10's of MB of text file. I think we will need something more efficient than writing to a file. I was thinking maybe a memory mapped file or a named pipe. I need to be able to allow multiple processes to access the same data without causing issues.
I have never messed with named pipes or a memory mapped file so hopefully someone can make some suggestions.
08-03-2007 12:34 PM
08-03-2007 01:34 PM
08-07-2007 06:42 AM
Hi,
DataSocket is another good suggestion. To use DataSocket in Visual Basic (without the use of LabVIEW wrappers), you will need Measurement Studio. The Professional and Enterprise editions include support for VB 6.0. Here and here are tutorials on DataSocket. The second is focused on LabVIEW, but has some good information for DataSocket in general. Here is tutorial on connecting Measurement Studio user interface ActiveX controls to remote data.
For more information on Measurement Studio, see http://www.ni.com/mstudio/.
I hope this helps!
Regards,
08-08-2007 12:33 PM
What kind of bandwidth limits does the datasocket have? I would be talking about reading 100,000 data points per second and streaming them to a datasocket so that 3 clients could use the data all running from the same PC. This seems like a simple way to do what I want, but I am just concerned that it will be too slow. How would you expect the speed to compare to memory mapped files, or named pipes?
thanks everyone for helping
08-08-2007 02:16 PM
I read through the links that were provided above, but are there any included examples with either measurement studio or the daqmx driver? It would be helpful to see an example of how to emplement this now that I know what it is used for.
08-11-2007 11:52 PM