06-27-2011 09:02 PM
Hi.
I am looking for the solution for this error message:-18005; Failed to convert a TestStand type to a LabVIEW type or vice versa. I am getting this when I create cluster of array of VISA control type definition and when Teststand Labview adapter is configured to Run-Time engine (8.5 or 8.6).Code works fine when Labview adapter is configured as Development environment. I am using TestStand 4.0 or 4.1 and LabView 8.5 or 8.6.
I will include short sequence to demonstrate this.Thanks for help.
06-28-2011 06:53 PM - edited 06-28-2011 06:53 PM
Hi brcko,
I found an internal KB that addresses this issue. The work around is attached below.
Please follow the instructions below.
1. Set your LabVIEW adapter to RTE.
2. Try to run individual steps in Doesn't Work section, none of these steps should work.
3. Now, run the Steps in Works section.
4. Try to run individual steps in Doesn't Work section again, this time, they should run just fine.
Your application should work if you put the Step "Works typedef with Open" before your VISA open step.
For the meantime, I will also file a CAR on this issue.
I hope this helps.
Josh L
06-29-2011 03:48 PM
brcko -
I was unable to reproduce this behavior with TestStand 4.1 and LabVIEW 2010 SP1. Instead of the workaround that Josh provided, you could also upgrade to avoid this behavior.
06-29-2011 09:02 PM
Hi.
Thanks for responding. One important thing to note is that this issue is related to array of Visa I/O nodes.For stand alone controls there is no problems.
Software upgrade is not an option for me.I think that I found solution for this problem.I have to open VISA session before pass it to the Teststand and then close all open sessions if there are not needed at the time.This seems to work for now.
Thanks again for your help.