12-04-2013 10:21 AM
Hi,
Is there a way to validate a RT image before apply to the target? I want to make sure at least it is a RT image not some other kinds of files are wriiten to the target.
Thanks!
Tom
12-04-2013 02:47 PM
For what class of controller?
Regardless of the answer, you generally want to check to make sure specific files exist - generally those that reside in the root directory of the image. For PXI controllers and x86-based cRIOs, you're looking for ph_exec* files. For PPC-based cRIO controllers, you're looking for a vxworks and target.out file, and for Linux-based cRIOs you'd be looking for linux-specific files. Absence of those files would tell you that the image is DEFINITELY not a legal image. The presence of those files doesn't necessarily mean it's legal, but it's certainly a lot closer than just some random grouping of files.
-Danny