03-23-2010 07:57 PM
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?
03-24-2010 10:07 PM
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
03-26-2010 11:09 AM
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
03-29-2010 03:51 PM
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
03-29-2010 08:48 PM
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!