Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure the NI5102 communicate using USB under VB6

I using NI5102 communicate via USB by Visual Basic6.0, I have following the IVI configure setting and below error is happen.
 
IVI::IVIScope::niScope is not a driver session name.
 
Have any setting I missing?
How can I get data from NI5102 via USB?
 
The configure page is attach.
0 Kudos
Message 1 of 2
(3,148 Views)

It's usually easier to answer questions about IVI configurations if you attach the config file rather than the screen shot - that way we can see all of your configuration information. The IVI Configuration file is typically located in c:program files\ivi\data\IviConfigurationStore.xml.

From your post, I would guess that you are sending the string "IVI::IviScope::niScope" as the resource descriptor to niScope_init or niScope_InitWithOptions. You don't have to qualify logical names in that way - try just using "niScope"

Can you provide some more detail as well about what API you're using to communicate with the device?
0 Kudos
Message 2 of 2
(3,142 Views)