03-09-2011 04:04 AM
Hello,
i trying to start up NI HIL test system.
i use PXIe 1062Q with controller PXIe 8133 + MXI RIO chassis 9157 with IO cRIO modules, mainly with NI 9221 (analog input). Hypervisor included - Win XP (for model and test development) and RT OS (model and test run).
- I created FPGA-Based I/O Personalities template by NI VeriStand FPGA-Based I/O Interface Tools.
- I modified *.fpgaconfig for NI 9221 - i used XML code example taken from NI 9221 VI (Veristand RIO library) - picture 1-NI9221 VI.PNG
and error occured... picture 4-end-Tag-Error-explorer.PNG
I tried to find why the error occured.
Firstly end tag is not equal to start tag. - in XML language it is problem, i assume in fpgaconfig it is same.
Secondly i did not find definition of "FXPI16" tag in *.xsd and *.xsl file picture 3-xsd-file_my.PNG
Can you suggest me a fastest sollution?
Thank you.
03-11-2011 07:14 AM
Hello Mr. Řeřicha,
this is the duplicity request. I am working on this issue with your colleague Mr. S. (SR 1001224).
You can contact me directly on 800 142 669.
Kind Regards,
Jiří Keprt
NI EE Czech Republic
CLA, CTA
06-17-2011 07:23 AM - edited 06-17-2011 07:25 AM
- I have manually added "FXPI16" tag into .xsd file.. then It gives different error.
- I changed "FXPI16" to "FXPI32" in .fpgaconfig file. And I deleted some of packets to not exceed 64bit.. It works fine. But now I can only see 4 channels..
- then I tried to change FPGA code. But couldnt managed to see 8 channels..
Any solution for this?
Thanks
06-17-2011 08:14 AM - edited 06-17-2011 08:21 AM
opps my mistake 😃
06-17-2011 08:22 AM
Hi Tidus,
the solution can be included vi and xml like:
<FXPI32>
<Name>AI0</Name>
<Description>Analog output channel AI0 on 9221 Module.</Description>
<Category>Input\Analog</Category>
<Unit>Volts</Unit>
<Symbol>AI</Symbol>
<FXPWL>16</FXPWL>
<FXPIWL>7</FXPIWL>
</FXPI32>
Regards,
Jiri
CLA, CTA
06-17-2011 08:52 AM
thank you so much...
I managed to do it with different way.. but I better use your solution.. 😃