Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX question

I'm working on a program using Matlab as the main interface. My question is, how do I use the ActiveX stuff to read in from the digital ports and write to the analog ports on the 6024E PCI card, and then allow that information to be used by an existing Matlab program. Thanks.
0 Kudos
Message 1 of 3
(6,343 Views)
Hello;

You can use the regular Labview shipping examples to acquire data from your DAQ board (Search Examples\I/O Interfaces\Data Acquisition\); an then, you can create DataSockets to make the acquired data available to other applications to access them.
There are also some examples about DataSocket in Labview.
After you create the sockets, you can deal with those as you would deal with regular variables, the only difference is that those variables are remote variables, but since you are using DataSocket, that difference is completely transparent for you.
Hope this helps.
Filipe
0 Kudos
Message 2 of 3
(6,343 Views)
I've looked at the examples, but i guess I am just not seeing how the two example programs can be melded together to create a single program that reads or writes to a DAQ Board via variables from a Matlab program. Any other suggestions?
0 Kudos
Message 3 of 3
(6,343 Views)