Hello,
I am using Visual Basic.Net to program a PXI system and trying to talk to GPIB instruments using the code, but when I dimension the variable as the Class Device, which contains the IEEE-4882 functionality, I get an error. The statement, taken from one of the .NET examples, reads "Private GPIB Device as Device". The error reads - 'Device' is ambiguous, imported from the namespaces or types 'NationalInstruments.NI4882, NationalInstruments.DAQmx'.
If I remove the DAQmx information (Imports NationalInstruments.DAQmx), then the error goes away. Also, it seems I can communicate with my GPIB instruments when I go into MAX under the GPIB information. I can query the instruments under "Communicate with Instruments" and they return the proper information.
Is there something that I am missing? Any help would be appreciated.
Thanks,
Mike