Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

Run front panel VI with subVI in Teststand

$
0
0

Hi there, I am using this but unable to figure out what is VISA Resource Handle - Numeric data type used to store a handle to the current VISA session (https://forums.ni.com/t5/Example-Code/VISA-Custom-Steps-Types-for-TestStand/tac-p/4103802?profile.language=en#M14585).

 

I am having a .lvproj file where I have many subVIs and one front panel. I can remote the hardware from the front panel and playing around with different functions of the hardware (it is an electronic load - Array 3720A). However, I would like to have this feature to be run in Teststand, is there any way to run the front panel and it will able to call subVIs? 

 

The reason I am using this VISA step because I am trying to run all subVIs at the setup and then the front panel VI at main in Teststand. However, it shows Run-Time Error with detail "VISA Write in 3721A_On.vi->3721A_On.vi.ProxyCaller
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid." 

So when I add in VISA Open, Configure and Write, I stuck at VISA Open where the Handle was unable to detect, I thought that 0xBFFF000E is the current session, no? Btw, I have also tried many weird numbers or sessions that I got from NI MAX.

 

Just in case if you need to have the .lvproj file, you may download the file from the link below and convert the whole folder to lvproj. 
Array 372x Series LABVIEW GUI

http://www.array.sh/yqxzcnE.htm


Hope to get reply ASAP! 
Thank you!


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>