VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA personality addition - XML error

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.

0 Kudos
Message 1 of 6
(7,251 Views)

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, CLED

0 Kudos
Message 2 of 6
(7,207 Views)

 

- 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

0 Kudos
Message 3 of 6
(6,989 Views)

opps my mistake 😃

0 Kudos
Message 4 of 6
(6,980 Views)

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, CLED

0 Kudos
Message 5 of 6
(6,972 Views)

thank you so much...

 

I managed to do it with different way.. but I better use your solution.. 😃

Download All
0 Kudos
Message 6 of 6
(6,970 Views)