01-30-2013 09:19 PM
Hi Experts,
I'm using XanXTR Example from Labview (Labview2012) and I can turn ON/OFF the power supply including setting the output voltages OK.
However when I tried to read the output voltage back I always got different "random"errors messages and sometime a good reading.
Could someone please shown me how to fix the errors. ! See attachment for more details.
I did changed the I/O time in MAX but no different.
Thanks
02-03-2013 03:04 PM
Hi NotHon
You should check the configuration VI for the xantrex, if you this VI is configuring the port even if you change the settings in MAX the configuration in your main VI is not going to change. Let me explain you a little more if you change the time in MAX but the configuration on your VI says that the time is X it won’t matter how many times you change the time in MAX the time will be the same.
Also try to check with the Xantrex manual the read command and use the I/O trace to check that you are writing the correct command.
Regards
Esteban R.
02-03-2013 06:01 PM
Hi Esteban,
I only tried MAX since I ran out of option. 😞
Below is the I/O trace that you recommended and I don't see anything wrong with it.
Do you have any idea or anyone out there that can help me to tackle this reading measurement error?
I can see there is a time delay between EVENT "5000" for this case "Maybe" do you know how where and how I can change this time?
This is my first time using LabView and Xantrex powersupply therefore the more details help the better!
Thanks
02-04-2013
10:56 AM
- last edited on
05-06-2025
10:04 AM
by
Content Cleaner
Hi NotHon
Could you attached a screenshot of your code? Or a VI snippet?
Use VI Snippet to Store and Share Reusable Code Sections
Could you tell me the operating system of your computer and LabVIEW version?
Where did you get that instrument driver? Do you have the link?
In the future please also attached the image if it is not very clear because sometimes is a little hard to read.
Regards
Esteban R.
02-04-2013 04:13 PM
Hi Esteban,
Here is the link for the powersupply driver I'm using http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=11964
Ater installed I have to copy from C:\Program Files\National Instruments\LabVIEW 8.6\Instr.lib\XanXTR into C:\Program Files\National Instruments\LabVIEW 2012\instr.lib in order for me to see the instruments in labview.
PC is Windows7 and LabView 2012 and I'm using the Xantex example provided which you can open from Labview"Block diag/Inst IO/Xantrex_XT.."
In the XanXTR-MEASURE block I think there is a called to the function and in this case I think it's a XanXTR.dll and I'm not sure if I can get into it a modify the timing if neccessary. As I already told you that Labview is first time for me therefore still alot for me to learn. 🙂
Thanks
02-04-2013 07:26 PM
02-04-2013 09:35 PM
Hi Dennis,
I do have Labwindows/CVI 2012 installed but never use them before. Do you have any information that can help me to reverse the XanXTR.dll and editing them.
Thanks
02-04-2013 10:16 PM