ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help needed for cin

Hi,

 

I have a program in C++ that controls an USB device with a lot of headers and C++ classes. I would like to control my device from Labview 7.0 so I was thinking about CIN. I have some questions to ask.

First of all, VC++ and Labview are not on the same computer. Is it possible to just copy the cintools folder on the pc that have VC++. Will it work ?

How can I modify my program to be accept as a .c ressource ? Do I need to create first .c from a CIN on Labview and then modify it or can I use directly my cpp program ?

 

Thank you in advance
 
Cecile
0 Kudos
Message 1 of 5
(3,114 Views)
 
0 Kudos
Message 2 of 5
(3,101 Views)
Hi, I don't understand your problem, if you have the source code of you application, you can call the CIN node .
look the word file for explaination
If you have already any problem, why don't make a DLL with VC++ for directly call you USB device with Lv DLL node.

moby

Message Edité par MobyJ le 04-16-2007 11:30 AM

Message 3 of 5
(3,079 Views)
First of all, thanks for the reply.
My main question was to know if it was possible to have Labview on one computer and VC++ on an other one and create a cin just by coping the cintools directory on my VC++'s pc?
 
 
0 Kudos
Message 4 of 5
(3,068 Views)
Why do you want to make a CIN instead of just creating a dll? Do a search of the forum for CIN and you will find some excellent posts from rolfk about why there is littel reason to use a CIN anymore.
Message 5 of 5
(3,065 Views)