02-11-2008 09:44 AM
02-11-2008 01:04 PM
02-18-2008 09:01 AM
02-18-2008 11:22 AM
- While using the target editor; if path to LEP file is too long; the actual file name isn't shown; and there isn't a way to see it by browsing; thus you must manually view the TgtSupp.xml file to see what it is.
- If there is an error in one of the LEP vi's (i.e. vi is not executable for linkage or other reasons); there is no indication of this while either using the target editor or when configuring a project for that embedded target. Weird stuff happens such as LEP's pointed to by the Shortcut Menu Items & Category tabs via Target Editor; sometimes do not show up in the project manager. I've spent way too much time trying to figure this out. I eventually printed out the TgtSupp.xml file and manually opened up each LEP vi to ensure they opened without errors (which naturally occur when you're trying to develop a new target).
- Need better description / documentation on calling details for LEP functions; i.e. - wrapper functions that are there to integrate with the rest of the development system. The developer shouldn't have to look at example code in order to reverse engineer this stuff.
- Need some documentation of the mechanism used to store parameters for targets & build options. This is some black-box infrastructure that doesn't appear to be described anywhere; with password protected vi's. Again; the developer shouldn't have to look at example code in order to reverse engineer this stuff when developing their own target. The LEP_Utilities_GetSetProjectData_Variant does have a help file, but I haven't seen documentation on how to "properly" use these in any of the manuals, training or even example code (comments).
All sorts of cross-linking errors might occur from copying a directory of plug-n VIs. The Porting Guide describes the directory architecture. This architecture is important because when LabVIEW is opened, it looks in these specific locations to populate the available embedded targets. You can use the Target Editor to create copies of targets (use Save/Save As), and this will relink/rename VIs.
- How are embedded target lists unified across the targets directory; i.e. targets/NI/embedded/unix and targets/mycompany/embedded/unix; I've seen some strange behaviour when selecting a target at the project level because of this. This may be due to the fact that I copied a target from the targets/NI/embedded/unix and put it into targets/mycompany/embedded/unix for modification; maybe a taboo; but I could not find any documentation on this.
02-19-2008 09:11 AM
02-19-2008 02:03 PM
This is how it works. I would also like it if the changes updated automatically, but unfortunately, that's much easier said than done. I will keep this suggestion in mind when discussing features for future releases.
Another weird behaviour; If you use the Target Editor; and say; add a Category in the Target Properties; referencing a subpanel vi, then save the xml file; close the Target Editor; and now go and open a project or create a new project; selecting the embedded target you were editing earlier; the new Category will NOT show up. This drove me crazy; I ended up looking at the xml file manually to verify all was ok; and then opening up each vi referenced by the xml file to see if there were any linkage issues; but all was ok. It turned out that LV somehow keeps the old xml config in memory and wouldn't use the version you edited (in either a new project or an existing project). Quitting LabVIEW and restarting now made the new target options visible. I believe this shouldn't happen; and any changes to the Target should be active once the Target Editor has either saved the configuration; or at least when the Target Editor is closed. Please try it; and let me know if you can reproduce this behaviour.
I've been able to muddle through some example code to figure out what the "required" code, front panel controls and connector layout must be in order to get the target options working in the LEP vi's. But these are internally agreed upon standards and calling conventions; agreeably necessary; that are called by the LabVIEW Embedded framework itself. My documentation issue; is that when first looking at the example targets; its almost impossible to separate "required" items as described above; from the code the implemented for that particular target. I understand it now; but at first these rendezvous and error queues in the LEP example files had me puzzled. The “big picture” of the architecture is what I was missing from the documentation. The best documentation I have for the MPU SDK is PJ’s course slides; about 100+ pages, but I think it’s a few years old; so the entire plugin scheme was probably still evolving. It would be nice if this document were updated.
07-22-2008 05:45 PM
Hi Michael
Can I use labview Embedded Module to programm TI's CC2431? Please semd some information to me: Hong.zhang@agresearch.co.nz
Thanks
Hong