03-30-2010 09:52 AM - edited 03-30-2010 09:56 AM
Hi Denis,
Thanks for your input. Yes you are right, it says its for a DC850W but in fact it is for XG and XTR series, I checked with the costomer service, in addition , they told me it supports RS232. I have the full version of labview and I have IVI compleance package installed on my PC, but I follow you suggestion about other model drivers modifying.
BTW, that is the company site, sorenson. ( they used different trade names for their products: Ametex, sorenson, xantrex,...)
Thx,
Ela
03-30-2010 12:37 PM
I checked with the company and they confirmed that drivers is for my model and it supports both GPIB and RS232, any body have any idea that gives me a start point to find what is the problem with ?
thanks,
Ela
03-30-2010 08:04 PM - edited 03-30-2010 08:06 PM
Hey , I solved that error, my next problem is about error 1073807339 that relates to time out error. I know how to solve this problem when working with visa but in this case that I do not using visa , I have no idea, any comment on this error?
The point is that, this error comes up even when I want to write a value to the port and I do not have any read task!
03-30-2010 08:30 PM - edited 03-30-2010 08:30 PM
the error happens at "DC850W measure" in the attached VI.
03-31-2010 08:47 AM
Of course you are using VISA. That is what IVI uses.
If you get a timeout error on a write, check to see how the handshaking is set and that you have the correct wiring if using hardware handshaking.
04-13-2010 02:33 PM
Hi elahetal
did you get your problem solved?
saw your message on an old thread of mine, I have to say it was kind of tricky to get the XTR150 working.
I believe I have seen the error on the measure command. I'm not currently using labview with the driver but TestStand.
I can't get your VI open I have only lv 8.5 installed.
here's some notes to check for you:
using directly the DLL XanXTR_32.dll I had to initialise with these parameters
"XanXTR_InitWithOptions"
-IDQuery = 1
-resetDevice = 1 (you might not want a reset but I found that it worked better that way)
-optionString = "Simulate=0,DriverSetup=MCHADDR:1" (if driverSetup is not used Measure will not work)
-put newVi to a decimal control named VI (its your instrument handle that IVI uses)
****TO GET MEASURE
"XanXTR_Measure"
-vi=VI
-channelName="a" (lowercase, otherwise it doesn't work)
-measurementType = 1 (for voltage)
-measurement = the output
if using the IVI DCpwr in labview you must set Driver Setup to MCADDR:1 in MAX>>IVI drivers>>Driver Sessions>>xanxtr
give me a heads up of your progress if you get any further.
Richard
04-13-2010 02:46 PM
Thanks Richards,
I was disappointed with the device, I left it aside!! I am going to try it again according to your guides in early days of next week and keep you posted. I hope you can give me a help, even the Xantrex costomer service couldn't.
Thanks,
Ela
04-21-2010 01:24 PM
Hello Richard,
I followed the instructions you gave me.
A very important point is that I can not find the xanXTR in driver session. Do I need to do any adjustment to see that???
you mentioned that " put newVi to a decimal control named VI (its your instrument handle that IVI uses) " could you please describe me what should I do ?
Thanks a lot,
Ela
04-21-2010 04:09 PM
Hi Ela,
the XanXtr I am mentionning is the xtr100-8.5 driver that is on NI site but no longer maintained at : http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=3DA42BCAA73354D1E04400144F1EF8...
you'd need to install it to see it in the driver session, I haven't tried the XT driver that would seem to be compatible with the xtr.
I've got a feeling the newer version comes from that older xtr driver, from what I can see in the problems your having I've seen similar with the XanXTR driver.
as for the newVi to decimal control, I'm just saying to connect the... hum, the ivitools in teststand aren't similar to the ones in labview. Let me some time to do a working labview vi that I will send out shortly. I was getting an driver C handle from the ivitools and using it later to configure specific driver attributes specifically to do such thing as se current limit, enable power, etc. I belive in the Labview ivi they are advanced iviDcPwr configuration.
I'm going to try reproducing a simple teststand sequence into labview and I will send out the VI in a few days if you don't mind the delay
-Richard
04-21-2010 05:23 PM