Have been testing out the MSVC C++ sample code on XP with MSVC 2008 IDE for USB & TCPIP with Rohde and Schwarz power sensor and code is giving error. Apparently, we cannot use the Passport or VXI .dll's since they only support 32-bit and we're required to work with only 64-bit compatible drivers or code. Thus, we have to use NI-VISA + test equipment SCPI commands, and sample code is not working when we plug in sensor to USB or Ethernet ports - we get -1073807343 error on viOpen(). viFindRsrc() was working with USB, but does not now that we moved device to AnywhereUSB (TCP/USB) device. We can't even get typical lines to work such as: status = viOpen (defaultRM, "USB::0x0aad::0x002c::101699::INSTR", VI_NULL, VI_NULL, &instr);
Any ideas - missing a .dll or library??? (measurement studio .dll)? MSVC project setting?
Thank you to whoever can figure this out...