LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to incorporate RPvdsEx and ActiveX Controls in LabView

Hello all:

 

   I am trying to use ActiveX controls in LabView to access an outside program, RPvdsEx, and change parameters within this circuit from LabView. Labview provides a better GUI options and would make life a lot easier! I am currently trying to use the parameter call to access the program but i am having problems setting the frequency and trial duration within the RPvds program also i want to output the signal from the RPvdsEx circuit to display on a LabView graphs. Any suggestions,comments,solutions are welcomed and Thanks is giving in advance. 🙂

0 Kudos
Message 1 of 7
(4,136 Views)

Schola wrote:

Hello all:

 

   I am trying to use ActiveX controls in LabView to access an outside program, RPvdsEx, and change parameters within this circuit from LabView. Labview provides a better GUI options and would make life a lot easier! I am currently trying to use the parameter call to access the program but i am having problems setting the frequency and trial duration within the RPvds program also i want to output the signal from the RPvdsEx circuit to display on a LabView graphs. Any suggestions,comments,solutions are welcomed and Thanks is giving in advance. 🙂


What is an RPvdsEx device? Where can one find documentation to it? What code have you done so far? Show us what you have and maybe we can help you then.

 

Rolf Kalbermatter

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 7
(4,109 Views)
 Real-Time Processor Visual Design Studio is a flexible and easy-to-use environment that allows users to create powerful, custom, DSP programs without writing complex DSP code. It is created by Tucker-Davis Technologies and the cite for documentation is http://www.tdt.com/software/rpvds.htm I am not to familar in attaching codes with Labview so i was looking for some general guidance i have looked at some example codes online but havent came across specific examples that can modulate realtime processing
0 Kudos
Message 3 of 7
(4,101 Views)

Schola wrote:
 Real-Time Processor Visual Design Studio is a flexible and easy-to-use environment that allows users to create powerful, custom, DSP programs without writing complex DSP code. It is created by Tucker-Davis Technologies and the cite for documentation is http://www.tdt.com/software/rpvds.htm I am not to familar in attaching codes with Labview so i was looking for some general guidance i have looked at some example codes online but havent came across specific examples that can modulate realtime processing

I'm afraid there is nothing much of a specific ready made solution for your problem. What you want to do is get familiarized with ActiveX in general and with how this is interfaced in LabVIEW. LabVIEW comes with a whole bunch of ActiveX examples and there are many more here on these boards. They should for sure give you an idea about how to do things in respect to ActiveX. As for your particular ActiveX Automation Server component you will have to get familiar with its object hierarchy and its specific intrinsicaties.

 

A complex ActiveX hierarchy can look intimidating at first but the only way to get it to work is to get your hands dirty and your feet wet and start diving into it head first. There is no other way, as each OOP programmer has his/her own ideas about what is the ideal hierarchy for a particular problem so each ActiveX component follows its own, sometimes more and sometimes less, logical idea about that.

 

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 7
(4,093 Views)
Thanks!! I'll dive head and feet first and ill post a code of the outcome!
0 Kudos
Message 5 of 7
(4,089 Views)
I have finally made a code that incorporates the instrument i am using and interactively gets reads the circuit through labview. However at the bottom of the code I am trying to convert the variant that is created by use READTAGVEX so that i can see the data on a wavegraph ..the GETTAGValue only gives me one point in the series instead of the waveform. Any insights on how to resolve these issues will be greatly appreciated
0 Kudos
Message 6 of 7
(4,028 Views)
If you are having issues specific to the RPvdsEx activeX commands, you might want to find out more about them from Tucker-Davis on how to use them. Once you know how to use the active X commands in general you should be able to call them the same way from LabVIEW. 
0 Kudos
Message 7 of 7
(4,012 Views)