FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicate with cFP 1804 on Ethernet with Microsoft C

I don't want to use LabVIEW or LabWindows to communicate via ethernet or serial to cFP=1804 I want to use Microsoft C C++ 6?

 

 

0 Kudos
Message 1 of 5
(6,841 Views)

Hi ihavenoideawhatthisis,

 

Generally, when people do not want to use LabVIEW or LabWindows/CVI, they use Visual Studio with Measurement Studio installed to access the data from the channels using DataSockets or Shared Variable. Is this a possibility? If not, what environment are you using to write your application?

 

Aaron P

National Instruments

Applications Engineer

http://www.ni.com/support

0 Kudos
Message 2 of 5
(6,824 Views)

Hi Aaron,

 

Basically our legacy software is Microsoft C/C++  6 and that is how we would like to communicate with the cFP-1804 module via network or serial port.  

 

The FieldPoint 6.0.6 DLL supplied will not load and compile in the Microsoft Project.   They don't supply a *.h and *.lib file with that DLL. 

 

 

John  

0 Kudos
Message 3 of 5
(6,809 Views)

Hi ihavenoideawhatthisis,

 

Which DLL are you referring to exactly?

 

Generally, when people want to communicate with a FieldPoint device from a text-based applcation, they use LabWindows/CVI or Visual Studio with Measurement Studio. With that being said, i will do some more research to see what options are available for your situation.

 

Aaron P

National Instruments

Applications Engineer

http://www.ni.com/support

 

0 Kudos
Message 4 of 5
(6,786 Views)

Yeah I know we have programmed the device in LabVIEW/LabWINDOWs  but in this particular case it needs to run in the same project with all the legacy code in MS C\C++ 6 and we need to keep it lean and mean so we prefer just using the FieldPoint DLL in the project as we do with DaqMX.dll  but it seems that doesn't work perhaps due to some kind of data exchange with NI MAX.

 

We tried using the code that works in LabVIEW and generating a DLL .h and .lib files and calling it from MS C\C++ 6 application but it seems as though it was executing the code in the DLL but not actually communicating with the Field Point modules/controller. 

 

thanks for any help at this point!

0 Kudos
Message 5 of 5
(6,779 Views)