02-22-2021 11:29 AM
Hello all,
I am communicating with a device over GPIB in my labview project.
The code works fine when my project is all VIs (it's a large Actor Framework project), however, when I compile my project to an executable and begin reading from the device, my program always timesout at: "VISA Read STB"
Why? Can anyone shed some light on why I might be timing out on this in the executable version but not on the VI version?
02-22-2021 01:30 PM
When you build your exe, enable debugging on the build. Then you need to run the exe from a remote panel using the Labview menu "Operation" / "Debug Application".
This will allow you to connect to your exe and run it using a BD to debug.
02-22-2021 02:10 PM
Is the executable version running on the same computer as the VI version?
02-25-2021 01:09 PM
It turns out that the issue was that on the deployed PC, it was using an old PCIe-GPIB card, which apparently couldn't handle the fast reading?
I was debugging on my "source code" PC with a new USB-GPIB-HS+ and it had no issues. I then went to the deployed PC, used the USB-GPIB, and everything worked fine.
Seems like its time for an upgrade...
02-25-2021 02:45 PM - edited 02-25-2021 02:45 PM
Your "old PC" has PCIe-GPIB, its the GPIB that can't handle the fast reading... PCIe is fast.
I can tell you, USB-GPIB adapter is not supported for a few years now since (I think) LV2016. USB-GPIB HS+ ($1200USD) is supported. But you say your deployed PC (old or new?) is using USB-GPIB and it worked fine.
Just curious, what USB-GPIB and what LV worked fine?
03-11-2021 02:51 PM
I know PCIe is fast, but this was an old PCIe card (and not HS+). It still doesn't make sense to me why it wouldn't work though...
As I said in my previous post, I am using the GPIB-USB-HS+ and it works fine, but not with the PCIe card.
I am using the latest version of LV2020 and I am using this GPIB-USB-HS+.