06-29-2012 11:09 AM - edited 06-29-2012 11:10 AM
Hey folks,
I'm gonna ttach a photo of what's in place right now.
I think the DELAY init vi is good to go for this application because I have it working in another vi but it's just not applied in the same array/for-loop config.
However inside that init vi, I get an error from the VISA Open. (Only when I try to execute the code in the looped fashion at the top of the picture). Do any of you guys see anything I'm missing here? It's almost like the string element (alias name) isn't being indexed into place?
Thanks for your time!
-pat
Solved! Go to Solution.
06-29-2012 11:19 AM
What is the error you are getting?
06-29-2012 11:23 AM
HA! yea that might help huh...
"
Error -1073807343 occurred at VISA Open
VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.
"
thanks!
06-29-2012 02:52 PM
Ok, now what is the string that you are passing in for the resource? The more details we have, the better. Otherwise we will be grasping at straws.
07-02-2012 06:38 AM
The strings are the aliases that are configured with MAX. I think my issue is that I'm using the array of aliases with the same object- I'm going to try to do this with an array of objects the same size... I'll post up and let you know if it works.
Thanks
07-02-2012 07:01 AM - edited 07-02-2012 07:06 AM
These are two other attempts I couldn't get to work either (the init vi is the same).
EDIT: just noticed that my error in isn't wired up... but it still doesnt work with it wired in, I thought maybe I got the old error on the first iteration... got excited.
07-02-2012 07:27 AM
HA!
I got it to work with a setup very similar to the #2 jpg I posted. It turns out over the weekend someone had pulled the unit with that IP from the system. You don't need to initialize an array of the parrent like I did in the jpg though.