12-09-2014 12:50 PM
Hi,
I develop a custom device which manages some CAN packets starting from a .dbc file and it still works on PXI 8108 with 8513 XNET card.
Now i'm trying to put the same application on cRIO 9022 with an 9862 XNET card. I add an open FPGA vi Reference linked to bitfile of a blank vi just to be able to work with XNET9862.
An equal application made in Labview is working. But when i compile the source distribution to make a custom device able to work on VeriStand, i have the following VeriStand error:
"Error -307608 ...
Possible reasons:
NI VeriStand: The custom device does not provide a valid source distribution for the target specified. Specify a different target or contact the creator of the custom device for further support."
Tassinari Marco
12-10-2014
03:52 AM
- last edited on
10-13-2024
01:57 PM
by
Content Cleaner
Hi,
have you recompiled Custom Device project?
I guess these documents can help you:
https://www.ni.com/docs/en-US/bundle/veristand/page/create-custom-device.html
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000wy9ECAQ&l=en-US
12-10-2014 04:10 AM
yes, i have done that.
I have recompiled Configuration and Engine source distribution because I had add the 'open fpga reference' in Rt driver.
I also have tried to compile a blank RT driver but when i run VS i have the same error.
I don't understand the link between a general purpose custom device witch don't use a specific I/O of a specific device and the fact i switch from a PXI to a cRIO (apart XNET card fitting).
Is there some link i forgot?
12-10-2014 09:18 AM
quote from pdf linked above:
" If an operator wants to run the custom device
on VxWorks, he has to modify the custom device XML file."
<CustomDeviceVI>
<SourceDistribution>
<Source>
<SupportedTarget>PharlapWindows</SupportedTarget>
<Source>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\National Instruments\Embedded Data Logger\Embedded Data
Logger - Engine - PharLap.llb\Embedded Data Logger RT Driver VI.vi</Path>
</Source>
<RealTimeSystemDestination>c:\ni-rt\NIVeriStand2010\Custom Devices\National
Instruments\Embedded Data Logger\Embedded Data Logger - Engine - PharLap.llb\Embedded
Data Logger RT Driver VI.vi</RealTimeSystemDestination>
</Source>
<Source>
<SupportedTarget>VxWorks</SupportedTarget>
<Source>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\National Instruments\Embedded Data Logger\Embedded Data
Logger - Engine - VxWorks.llb\Embedded Data Logger RT Driver VI.vi</Path>
</Source>
<RealTimeSystemDestination>c:\ni-rt\NIVeriStand2010\Custom Devices\National Custom Device Developer’s Guide © 2010 National Instruments 82 of 85
Instruments\Embedded Data Logger\Embedded Data Logger - Engine - VxWorks.llb\Embedded
Data Logger RT Driver VI.vi</RealTimeSystemDestination>
</Source>
</SourceDistribution>
</CustomDeviceVI>
12-11-2014 03:15 AM
thanks a lot!
12-12-2014 09:14 AM
Hi,
Right now, after I fixed the .XML file, I have another Veristand error when I deploy the proj.
I attach it.
It seem the same problem.
My target support SSE2 optimization an i rebuild both the source distribution..