Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

ni-visa msvc sample code error: -1073807343 on viOpen() - am I missing a .dll?

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...

0 Kudos
Message 1 of 2
(6,352 Views)

Hi Kay77,

 

Could you clarify what you mean by working with only 64-bit compatible drivers or code? What operating system are you currently on?

Best Regards,
Swathi B
0 Kudos
Message 2 of 2
(6,328 Views)