Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

problem compiling example

Hi,
I tried to compile an example from NI488.2 language interface "findinstruments" and it returns me this error message:
 
"  fatal error C1010: unexpected end of file while looking for precompiled header directive   "
 
what does it mean?
 
what am I doing wrong?
 
Leo
 
PS:
thanks to anyone can answer me!
 
 
 
0 Kudos
Message 1 of 5
(3,957 Views)

It is not quite clear what example you are trying to compile and also whether you are using VStudio 6.0 or .NET.

Anyways, I think you might get interesting info on the following page which deals with an error similar to what you are getting from your compiler.

CLICK HERE

AlessioD

0 Kudos
Message 2 of 5
(3,949 Views)
You have precompiled headers enabled.

In your Visual Studio project settings, under C/C++, select the precompiled header option to be "not using precompiled header".



Bilal Durrani
NI
0 Kudos
Message 3 of 5
(3,936 Views)
Hi,
 
I Compiled and ran some examples. I succeded in controlling my instrument from the server machine but and I was trying to send some commands from my laptop computer (in the same subnet).
 
Anyone knows if I can find some type of c++ libraries that allow me to go on the network?
 
Thanks,
Leo.
0 Kudos
Message 4 of 5
(3,932 Views)
so,
 
are you willing to control an instrument that is attached to a computer over the network?
Is that instrument IEEE 488.2 compliant?
 
This TUTORIAL  explains how to program remote devices through NI-VISA. It does refer to LabVIEW programming, but it should not be that different if you use the NI-VISA C API.
 
AlessioD
 
0 Kudos
Message 5 of 5
(3,915 Views)