LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI IEEE 488.2 and Borland C++ Builder 1.0

I have an NI IEEE 488.2 card connected to a HP DVM. I am using this as a
test bed to develop the 488.2 base code for other projects. The rack system
normally runs off of LabVIEW 6.1.

I will eventually move this code over to run an old prober. When I initiate
the program level commands, ibdev or ibwrt for example, through WIBIC I have
no problems. Neither setting up or reading from the meter. When I utilize
these very same commands in the compiled software I get nothing. It's as if
the program isn't even going out and looking for the card.

I have called the decl-32.h and the NI provided .obj file as the language
translator, but nothing.

Any help?

Seth
0 Kudos
Message 1 of 4
(2,817 Views)
Hi Seth,

Do you get any compiler/linker errors? How about run-time errors from the GPIB calls?. Do you check the status of ibsta after ibfind or ibdev?.

Try to run one of the examples to see what happens. It is really strange that nothing happens at all.

DiegoF
National Instruments.
0 Kudos
Message 2 of 4
(2,817 Views)
Diego,

Thanks for the reply. I fixed the problem. It was the machine I was working
on. I had our IT guy give me a more up to date machine and comm. commenced
nicely. I've only written a small bit of C++ and like the Builder
environment. There never was anything wrong with the card, the NI 488.2 or
NI 488 commands.

But, I'm moving on to our LabVIEW 6i. As an engineer, I was appalled to
find that we owned a full version of 6i Development System and are still
testing our production devices by hand.

Being that I am learning LabVIEW, you are sure to hear from me quite a bit.
Any help as to the location of some nice info on communicating with Excel
from LabVIEW?

Regards,
Seth


DiegoF wrote in message
news:50650000000500000034270100-10423
24653000@exchange.ni.com...
> Hi Seth,
>
> Do you get any compiler/linker errors? How about run-time errors from
> the GPIB calls?. Do you check the status of ibsta after ibfind or
> ibdev?.
>
> Try to run one of the examples to see what happens. It is really
> strange that nothing happens at all.
>
> DiegoF
> National Instruments.
0 Kudos
Message 3 of 4
(2,817 Views)
Hi Seth,

Check out this examples for ActiveX in labVIEW. You can find other examples in the LabVIEW support page

Hope this gets you started.

DiegoF
National Instruments.
0 Kudos
Message 4 of 4
(2,817 Views)