LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

find visa resource does not report all data for Ametek power supply

While executing theNI  "Find VISA Resource.vi" I get inconsistent data from an Ametek XG100-17 power supply. There are no errors with the device just partial data being reported sometimes. I can issue the *IDN? fron the N I488.2 communicator from within MAX, The device returns the entire string everytime without fail. This VI however does not. I have included a snippet of the standard NI Vi referenced here. The attached text file shows the output from 5 successive runs of the VI. I have 4 total devices attached but the Ametek is the only item that exibits this condition. You can see from the data that it does get all the data sometimes (runs 2 & 5). If it were the supply then MAX would not have consistent qHow do II get thisuery results.  The issue only seems to arise with this VI. How do we get consistent results from the output of this vi?

Download All
0 Kudos
Message 1 of 4
(3,107 Views)
The VISA Find Resources has nothing to do with returning data from an id query so I don't understand your issue. Are you actually doing the query based on the array of resources returned? How many bytes are you requesting? It just looks like you haven't specified enough. Don't use the GPIB communicator in MAX. Use the VISA test panel to reproduce what a VI does.
0 Kudos
Message 2 of 4
(3,077 Views)

I have an Ametek XG 60-25 and it uses /r (carrage return) as the termination character instead of the more common /n (new line)

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 4
(3,071 Views)

 ?????

Find VISA Resource only returns Aliases or Canonical names!   Your text shows typical responses to an identification query


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 4
(3,069 Views)