Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to add activex to a realtime project running in a PXI unit

Hi; 

I have been working on a project that involves communication with a sensor. In this project, I have two computers; one is a PXI unit to run my LVcode realtime, the other one is for the host applications ti monitor code outputs as well as to change some code parameters. My serial sensor is connected to my real-time PXI unit (PXI-1031)through a serial port (PXI-8430/8). My host machine is connected to my PXI unit though an ethernet cable.  My goal is to collect data coming from the sensor. The sensor comes with a utility program that allows you to see its output. I think the installation process of this utility also installs activex libraries to the windows-machine so that other programs can have access to it.

 

The thing that I want to do is that I would like to use this activex and its classes in my realtime application. When I write my code for the host machine (LabVIEW 8.6.1), I am able to see the properties and methods involved in the active x  through "automation open" block.  However, I when I try to write code for my REAL-TIME pxi unit,  I can't even see the activex palette. My question is that what are the steps that I have to follow in order to be able to use thIS activex in my realtime data-acquisition application.

 

 Thank you very much.

Serdar 

0 Kudos
Message 1 of 3
(3,480 Views)

Sorry for you but Active-X is windows only and the realtime env is not windows.

Try to get a pure G serial driver for your device instead of an extra layer in active X

Maybe somebody already has such a driver. specify your device and see what happens

greetings from the Netherlands
Message 2 of 3
(3,475 Views)

Thank you so much for the answer. Thata's what I'll do!

 

0 Kudos
Message 3 of 3
(3,468 Views)