LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot connect to instrument after reinstalling labview

Hi All,

 

Relative newcomer to labview here.

 

My labview recently corrupted and all of my VI's stopped working - all of my driver blocks went missing. I believe it coincided with updating the package manager to a newer version but cannot be sure.

 

I backed up my programs, uninstalled and reinstalled labview. 

 

A VI that previously worked well will no longer work due to not being able to connect to the instrument. I have installed all the drivers I believe are required and nothing has changed with the hardware or VI so cannot understand what I need to do to resolve the issue. The hardware I am trying to connect to is a Keysight P9373A Network Analyzer USB Instrument. The error states "Wired refnums are of different types. The type of source is VISA session of class. The type of sink is IVI session of class." A snippet of the code is seen below.

 

 

jbctuk_1-1648803484969.png

 

Why did this work previously and not now?!

 

Welcome your thoughts. Apologies if this is a stupid question.

 

Jim

0 Kudos
Message 1 of 2
(972 Views)

You can try to create a control from the sink terminal, and replace the original control with it. If that works, I'm not sure why it's needed...

 

VISA (and IVI probably) adds functionality to LabVIEW, and it it's missing the resource sink might know...

 

Maybe also reinstall visa and\or IVI? Even if they are still installed, the stuff added to LabVIEW might have been removed when you uninstalled LabVIEW. It probably won't be added automatically when you installed LabVIEW.

 

Knowing this mess started with a corruption doesn't help. Are you sure the cause if the corruption is gone? As long as things aren't working (and maybe even after) this can't be ruled out as a cause for problems.

0 Kudos
Message 2 of 2
(951 Views)