LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use DSC module with NI-VISA drivers?

Can anyone tell me if it Is possible to use DSC(Data supervisory and control) module with NI-VISA drivers?
0 Kudos
Message 1 of 5
(2,557 Views)

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.

0 Kudos
Message 2 of 5
(2,533 Views)

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 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 5
(2,529 Views)

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.

0 Kudos
Message 4 of 5
(2,512 Views)

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.

Message Edited by Ravens Fan on 02-09-2009 11:53 PM
0 Kudos
Message 5 of 5
(2,503 Views)