02-09-2009 12:47 AM
02-09-2009 08:03 AM
Yes. DSC module can work with NI-VISA drivers. They are two unrelated things.
But I think your question is a bit more complicated than what you are asking. Please give a little more detail on what you are trying to do.
02-09-2009 08:49 AM
I agree with Ravans Fan that the two are two distinct animals.
Now if the intent of your question was "Can DSC monitor (without additional code) VISA interfaced devices?" then the answer is no. What is possible is to locate an OPC server that support the widget you want to monitor and THEN DSC can monitor whatever the OPC server exposes.
If you want to "roll-your-own" then you could write a proper VISA based interface for your widget and then using Shared variables or Data Scockets update tags for that widget.
So depending on what you are asking for the answer could be yes or no.
Ben
02-09-2009 10:11 PM
Thanks for the reply.I am ready with a VI which reads data from a wireless RF board through NI-VISA drivers.I would like to use the DSC to log the data points to a database.I am planning to include alarm options & trends for the data points.Would like to know if I can implement the same.
02-09-2009 10:48 PM - edited 02-09-2009 10:53 PM
Yes. I'm going to assume you are using LabVIEW 8.0 or newer.
Use the code you have now to read the data using the VISA drivers. Create a library of shared variables where you setup up the alarm and logging options. In your code, take the data coming out of the drivers and write it to the respective shared variables.
Set up everything in a project file to keep the LabVIEW code and the shared variable libraries together.