Error in 6.0.2 with building application that contains SPC vi
I am attempting to build a .exe file with the app builder, I have a sub vi that includes SPC vi's the failing one is 'Vertical Bar Graph With Limits.vi'. It notes that 'Error 1 occured at this vi'. When I remove this sub vi the program complies fine, any suggestions?
There's nothing about that VI I can imagine causing an error on build. You might try doing a force compile of your app to track it down. Try opening up your top level VI, hold CTRL+Shift and hit the run arrow at the same time. If it gives you a broken arrow, you can bring up the error list to try to find it. Maybe this will help locate the problem. If you haven't already, might not hurt to do a mass compile of the SPC VI's also.
Similar Messages
-
How to interface a tuxedo app with another application that uses tcp/ip socket messaging
How would you interface a tuxedo app with another application that
uses tcp/ip socket messaging? I have a vendor product that offers
a tcp/ip message interface, and would like to know how best to
integrate it into a tuxedo application. I could write a C application
that listens and accepts incoming request from the vendors application,
and then make a tuxedo client call to a service. But this doesn't
allow me to control the listen thread through tuxedo. The C application
would have to be started seperately and would not take advantage
of the tuxedo restart facilities etc of a tuxedo service.You can make an empty server only with tpsvrinit that starts your client
listeners and a tpsrvdone that stops them. Be carefull with sharing ipcs
between processes, or your clients may get puzzled!!!
Another choice can be builting a custom WSL/WSH but I haven't done
this yet and I don't know exactly the troubles related with making them.
R.G.
Travis Ward wrote:
How would you interface a tuxedo app with another application that
uses tcp/ip socket messaging? I have a vendor product that offers
a tcp/ip message interface, and would like to know how best to
integrate it into a tuxedo application. I could write a C application
that listens and accepts incoming request from the vendors application,
and then make a tuxedo client call to a service. But this doesn't
allow me to control the listen thread through tuxedo. The C application
would have to be started seperately and would not take advantage
of the tuxedo restart facilities etc of a tuxedo service. -
When i update to the latest version (7.0.3), there is a message appear to me when i open any application that contains notification such as (What'sApp or BBM) , this message said (Connect to iTunes to use push Notification) , How I can to stop these messages that appear to me constantly?
Hi,
One of my ex-colleagues has installed a NI-DAQ 6.5 in our system. [And I do not see any other naitional instruments card in the CPU of the computer, may be he removed it] I deleted the account and all his files in the system. When I am trying to install version8.0, its not getting installed and giving me a message that I should uninstall the previous version by going to Add/Remove programs in the control panel.
I tried doing that, but the "Change/Remove" button does not seem to work...[There is no response and so unable to install the new version...]
Any idea how can this problem be solved?
It is a windowsXP operating system with SP2 installed on a machine with P4 processor.
Thanks -
Creating exe for application that contains ARINC and MIL Codes
Hi all,
I am not able to create exe for my application that contains ARINC and MIL. To be precise, the ARINC and MIL part is not working in the exe created.
Please tell me how to create an EXE with ARINC and MIL codes.Did you install the according device drivers on the target machine? And no I don't mean the instrument drivers that you use in LabVIEW but the OS device drivers from NI (resp. AIT), that will access the hardware boards and provide an interface to the LabVIEW application. I would expect them to be part of the AIT SDK kit that comes with the boards.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Unable to publish application that contains snapshots (WTG-20502)
Hmm, I am able to publish normal applications to mobileserver just ok using wtgpack. Publishing of applications that contains snapshot definitions failed giving following message :
creating servlets
log0: Creating Snapshot...
log0: Publication/PublicationItem does not exist :: 11674,WTGPI_10088
log3: javax.servlet.ServletException: Publication/PublicationItem does not exist
:: 11674,WTGPI_10088
log0: ID: A2226282F282EC2C1CA22C021C-B08596F321641F29863C6747920387EE634F8E55
log3: at oracle.lite.web.util.JupXMLPlant.doPost(JupXMLPlant.java:177)
log0: handler: /logoff /
log3: at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
log0: Servlet oracle.lite.web.JupLogoff
log3: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
log3: LOGOFF ADMINISTRATOR: Thu Aug 29 16:10:14 EEST 2002 Online for: 3 seconds
Access count: 2
log3: at oracle.lite.web.JupServlet.service(JupServlet.java:190)
log3: at oracle.lite.web.AppServletHandler.handle(AppServletHandler.java:282)
log3: at oracle.lite.web.JupApplication.service(JupApplication.java:350)
log3: at oracle.lite.web.JupHandler.handle(JupHandler.java:97)
log3: at oracle.lite.web.HTTPServer.process(HTTPServer.java:302)
log3: at oracle.lite.web.HTTPServer.handleRequest(HTTPServer.java:162)
log3: at oracle.lite.web.JupServer.handle(JupServer.java:309)
log3: at oracle.lite.web.SocketListener.process(SocketListener.java:157)
log3: at oracle.lite.web.SocketListener$ReqHandler.run(SocketListener.java:208
Cannot find any information from documentation or forums concerning this (Publication/PublicationItem does not exist :: 11674,WTGPI_10088).
Whats wrong? At some point also this publishing of applications that contain snapshot's was working but not anymore.
-JS-There was some 'caching' on multiple places.
First of all I had to remove all stuff related to my application from ..\mobile\sdk\wtgsdk\bin\wtgapp.xml -File and pack and publish again.
Ofcourse the mobileserver (and mgp) had to be restarted also to get the changes 'committed'. -
Hello everyone!
I am newbie to LabVIEW with some previous experience programming in different languages.
My goal is to build the application that upon my selection needs to give specific values from previously filled and prepared file.
For example, I have different types of operations (milling, drilling, turning..) and different grades (type) of steels (Uddeholm steel grades: NIMAX, IMPAX...and about 40 of them). For every operation there are different input data (Coated insert, uncoated). Based of those information application should give out cutting speed and feed rate data that are stored in some file. I understand I can do it in Excel spreadsheet or LV spreadsheet, I would prefer LV because of portability to systems without Office installed on them. I also understand that all those issues concerning input data for output results I can easily solve with case scenario.
Main issue is decision between different types of files that I can easily address like 2D matrix to get required data, which and how to do it.
I would like to know what I should acknowledge first before doing any further work?
And does someone have some simply prepared VI on which I can work my way on?
If you are willing to help me with guides I would be happy to answer any of your questions.
Vedran GaletaThank you very much for your reply.
This application that I am working on is completely static due to communication. It simply needs to provide entry in table depending on selected inputs in front panel, and of course display it front panel. I know what I need to do, as well as the structure. Only thing that I don't know yet how to do it in LabVIEW.
When I mentioned "LV spreadsheet" I meant on read from file option, you got that right.. The thing is that now I have large amounts (not large in acquisition data point of view, 5 spread sheets, with 45 rows and 15 columns) of data saved in Excell, and my goal would be to get that data in LabVIEW application, for the ease of access. And still leave that xls file as is, due to all connections that he have with smaller xls files. So in compact version of the story I am going to use save as comma separated (or tab, that depends of course) values from Excell with or without extra editing of created file in order to load that file into prepared program structure in LabVIEW. After I manage to do that, of course I will work my way for all other extras that I am gonna put eventually in program structure. So this would be like a backbone, I know it sounds simple. As a matter of fact I would probably be finnished allready in VB but highest demand is to do this in LabVIEW, and I am fully down with that.
Regards,
Vedran -
We have a software application that programmatically launches the default web browser using the Windows shell execute function ("ShellExecuteA" in the "shell32.dll" library of the Windows API) along with a file path for a saved local html file that is to be displayed. In the case that FireFox is the default browser and the file path for the html file contains any space characters in the html file's file name, Firefox (in this case v7.01) will display an error message "File not Found..." and then will also proceed to open tabs for each of the individual words in the file name, launching as the URL path, each individual word appended to ".com".
In the following example, the path "C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm" when launched programmatically, resulted in the error message "File not Found...Firefox can't find the file at /C:/KSSecOfState/Forms/Kansas." and opened up browser windows for "http://www.secretary.com/", "http://www.of.com/", "http://www.state.com/", "http://www.and.com/", and attempted to launch "http://forms.htm". If the same file (renamed) is launched using the path string "C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm" the file opens up correctly in Firefox. Clearly the presence of spaces in the file name is causing the problem.
I should also note that either path (with or without space characters) works properly if pasted directly into the Firefox URL path menu bar for a live instance of Firefox. The test path strings I used were:
C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm
C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm
Does anyone know anything about this problem or how to work around it (other than the obvious answer of taking the spaces out of the file name which is not possible for this application). It seems the problem is specific to Firefox. IE works properly if launched programmatically with spaces in the file name passed to it. I haven't tested other browsers yet.
Thanks!If starting from ShellExecute works the same as starting from the command line then there are two options:<br>
Put everything inside double quotes<br>
'''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''"c:\test\svg test.htm"'''<br>
Convert to a valid url with file:// protocol and percentage-escaping the space<br>
'''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''file://c:\test\svg%20test.htm'''<br> -
Issue with site template that contains a document library with a lookup column to another list
I have a document library called Proposals with a lookup column in the same site called Document Categories (multiple values allowed). It points to a list called document categories. I have several sample documents in the Proposal Library that
contain valid document categories. When I save the site as a template and instantiate it, everything is fine. However, when I remove the sample documents from the Proposal library and rebuild the site template, I can't get the template to
create another site. I get an error Unable To Open Lookup List.
I don't understand why I can instantiate a site from the template when there's sample data, but not when the document library containing the lookup column is empty.
Does SharePoint 2010 site template support lookup columns?
Why would it make a difference if the library is empty?
ThanksHi,
According to your description, my understanding is that the error occurred when you created a site from the template with no files in the document library.
I tested the same scenario per your post, and I can create a site from the template with no files in the document library with no errors.
To solve this issue, I recommend to verify the things below:
Did you save the site as a template with Include Content checked? If yes, I recommend to test if it works when saving the site as a template with Include Content unchecked.
Test the same scenario with a new site to narrow the issue scope.
I also recommend to check the event log and ULS log to see if anything unexpected occurred.
To check event log, click the Start button and type “Event Viewer” in the Search box.
For SharePoint 2010, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS.
You can check the ULS log by the methods here:
http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
http://msdn.microsoft.com/en-us/library/gg193966(v=office.14).aspx
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Creating a form with a field that contains a simple math problem.
I am creating a form in Acrobat 9 Standard that contains a field that requires a simple math function (divide).
if (QuantityRow1 > 0)
ExtensionRow1 / QuantityRow1
Take the value input in ExtensionRow1 and divide it by the value in QuantityRow1. I have included an IF statement to prevent an error that occur if QuantityRow1 were equal to zero.
After inputting the data into the two fields I tab past the field where I expect to see my result and the field remains blank. I don't receive any error messages.
Any ideas? Thanks - jbThis is a duplicate of your question on Acrobatusers.com (
http://answers.acrobatusers.com/Need-simple-math-operation-function-Acrobat-9-Standard-cre ating-form-q142800.aspx
Did the information provided there not help you with your problem?
Karl Heinz Kremer
PDF Acrobatics Without a Net
PDF Software Development, Training and More...
[email protected]
http://www.khkonsulting.com -
I erased my hard disk and then installed the Mac OS X DVD. After having done this I wanted to install the applications too, for which I introduced the Applications DVD. The DVD is recognized and I follow the instructions given. On the last step, the installation, the Installer shows me a Message. It says that there is an error, and that I should contact the Software developer. It is very weird, because there is no error number or any other explanation. If somebody could help, I would be enormously thankful.
If you have a backup (and I hope you did one as before any potentially dangerous task), you can restore it.
If you don't, but have a recent system, you may try to boot in recovery mode.
If you can't, you have to get another computer (or simply your Windows Mac) to "burn" your system image either on a DVD or a flashdisk (.dmg are just .iso so you can change suffix).
Anyway, each and every data you had on you HDD, including 3rd party apps, would be lost. -
Error building Application that runs correctly
Dear NI engineers,
I am attempting to build an exe and it give me the following error:
>>The VI is broken. Open the VI in LabVIEW and fix the errors.
>>C:\Documents and Settings\Desktop\Desktop\IsomerXDistribution\MAIN.vi
The VI is not broken, and runs perfectly fine, the sub VI's and classes are not broken either.
>>Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
>>Error 1003 occurred at ABAPI Open VI and Check For Broken.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller
>>Possible reason(s):
>>LabVIEW: The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Open the VI in LabVIEW using File>>Open and verify that it is runnable.
All of the VI's in the hierachy and project and executable and located. Why will it not compile?
Thank you for your quick response.The code i am using is a very large (about 350 VI's and methods) complex data structure that runs exceptional well in labview.
I am posting a very small code that demonstrates the problem. Apparently passing a class by reference causes a broken VI error when compiling. It works perfectly fine when running threw labview. It would be costly to rewrite the VI's in a different format, for something labview internally supports and all other OOP language support, simply because of an erronous compiler.
Why will this not compile, and how can i make it compile?
http://128.123.180.148/IsomerX/DemoError.zip
Serious responses only please.
-Greg Sonnenfeld
New Mexico State University
IsomerX project
Message Edited by Gsonnenf on 01-17-2007 05:12 PM -
Error when sending email from a web application that runs on GlassFish
Hello all, I hope some can give me some hints on how to fix this problem.
I have a web application built in Java that runs on GlassFish v3.
The application uses a mail plugin that makes use of mail.jar
Whenever I try to use the plugin to send an email out I get an error.
The application is programmed to send emails from a gmail account, and I believe there is a problem with the SSL version that Googlemail is expecting.
By the way, everything works fine if I run the web app on other servers like Jetty or Apache.
The stacktrace I get from the log when the error occurs is as follows:
INFO: 2009-05-08 19:48:57,500 [httpWorkerThread-8080-0] ERROR errors.GrailsExceptionResolver - org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
org.codehaus.groovy.runtime.InvokerInvocationException: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:883)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:554)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
Any help would be really appreciated... honestly I'm pretty stuck.
AlexHi Alex,
Since I had a Gmail test servlet kicking around, I ran it on the latest V3 nightly build.
On the first run, I encountered the following nested exceptions:
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
--> java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
--> java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
--> java.security.UnrecoverableKeyException: Password must not be nullThe UnrecoverableKeyException is a manifestation of [https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938|https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938]
I worked around this by adding the following JVM config options to domain.xml
<jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>
<jvm-options>-Djavax.net.ssl.trustStorePassword=changeit</jvm-options> (Note: the default master password is "changeit")
These lines are placed in /domain/configs/config/java-config of domain.xml for the particular server config you're using. There's only one server config in the default domain.xml shipped with V3. Then restart the server.
I retested the code on both port 465 and 587, with and without the above config changes. Without the change, they both fail the same way, and with the change, they both work. Let me know if this helps.
-Peter -
Help pls!
Reinstall OS X without erasing the drive
Do the following:
1. Repair the Hard Drive and Permissions
Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
2. Reinstall Snow Leopard
If the drive is OK then quit DU and return to the installer. Proceed with reinstalling OS X. Note that the Snow Leopard installer will not erase your drive or disturb your files. After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/. -
Problem building swc that contains s:SolidColor with manifest file
Hi all,
I have a problem compiling a library with the command line compiler. The problem is that when I don't use a Manifest file, everything compiles as expected. When I specify a Manifest file for building my swc, I get an error "Could not resolve <s:SolidColor> to a component implementation".
My library consists of one class, which is: Test.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
<s:Rect x="50" y="50" width="100" height="100">
<s:fill>
<s:SolidColor />
</s:fill>
</s:Rect>
</s:Group>
This is my Manifest.xml
<?xml version="1.0"?>
<componentPackage>
<component id="Test" class="Test"/>
</componentPackage>
This commands gives no error and results in a swc successfully
compc -output TestLibrary.swf -include-classes Test -source-path .
This commands leads to the error "Could not resolve <s:SolidColor> to a component implementation"
compc -output TestLibrary.swf -include-classes Test -source-path . -compiler.namespaces.namespace http://test Manifest.xml -include-namespaces http://test
I think this is the correct way of creating an swc using a Manifest file. Is this correct (so this is a bug?) or am I doing something wrong?There's nothing about that VI I can imagine causing an error on build. You might try doing a force compile of your app to track it down. Try opening up your top level VI, hold CTRL+Shift and hit the run arrow at the same time. If it gives you a broken arrow, you can bring up the error list to try to find it. Maybe this will help locate the problem. If you haven't already, might not hurt to do a mass compile of the SPC VI's also.
-
Need Help With An Application That Produces Live Images Within Tilelists
At the moment I have an application which is meant to produce live thumbnail images of websites. Currently how it does this is a html component (myhtml) loads websites via it's location property changing from website to website and upon fully loading of each site a "snapshot" is taken of the html component and saved as a bitmap and applied as the source of an image corresponding to that particular site (abcnewsimage and bbcnewsimage). However I now need to insert these snapshots within the 'icon' properties of 2 array collections (myTilelistAArrayCollection and myTilelistBArrayCollection) which act as dataproviders to populate 2 tilelists (mtTilelistA and myTilelistB).
Basically I need the same images to appear automatically within the tilelists the way they do in the 2 images as the snapshots are taken by applying the same bitmaps into the currently empty 'icon' properties of the 2 tilelists i.e. the icon of the ABC News Item of both array collections must be the same as the abcnewsimage and appear as it appears and the same for the BBC News Item icon being the same as the bbcnewsimage picture as that appears.
It should look like the images are appearing in the tilelist at the same time as they are appearing in the regular images. What will I need to put into the icon properties to do this?
I hope this makes sense and if anyone can help me out it would be much appreciated. :-)
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" verticalAlign="middle" backgroundColor="white" width="1024" height="768">
<mx:Script>
<![CDATA[
import mx.graphics.ImageSnapshot;
import mx.collections.*;
private function takeSnapshot(event:Event) :void{
var imageBitmapData:BitmapData = ImageSnapshot.captureBitmapData(myhtml) ;
switch(myhtml.location){
case "http://abcnews.go.com/":abcnewsimage.source =
new Bitmap(imageBitmapData);myhtml.location =
"http://news.bbc.co.uk/";
break;
case "http://news.bbc.co.uk/":bbcnewsimage.source =
new Bitmap(imageBitmapData);
break;}
private var myTilelistAArrayCollection:ArrayCollection = new ArrayCollection([{id:
"ABC New Item", label:"ABCNews", icon:""},{id:
"BBC News Item", label:"BBC News", icon:""}]);
private var myTilelistBArrayCollection:ArrayCollection = new ArrayCollection([{id:
"ABC News Item", label:"ABCNews", icon:""},{id:
"BBC News Item", label:"BBC News", icon:""}]);
]]>
</mx:Script>
<mx:HBox x="10" y="10">
<mx:Image id="abcnewsimage" width="100" height="100" scaleContent="true"/>
<mx:Image id="bbcnewsimage" width="100" height="100" scaleContent="true"/>
</mx:HBox>
<mx:HTML id="myhtml" location="http://abcnews.com/" complete="takeSnapshot(event)" width="250" height="250" horizontalScrollPolicy="off" verticalScrollPolicy="off" x="10" y="118"/>
<mx:TileList x="268" y="118" width="294" height="250" id="myTilelistA" dataProvider="{myTilelistAArrayCollection}" rowHeight="100" columnWidth="100"/>
<mx:TileList x="570" y="118" width="294" height="250" id="myTilelistB" dataProvider="{myTilelistBArrayCollection}" rowHeight="100" columnWidth="100"/>
</mx:WindowedApplication>Cheers Flex harUI. From what I can see superimage is mainly used to keep images at better quality. What I'm concerned with is having the images set within the 'icon' properties of the 2 tilelists AS they are set within their specific images. I've tried databinding by doing this for example:-
{id:
"ABC New Item", label:"ABCNews", icon:"{abcnewsimage.source}"},
I hoped that would cause the icon field of the array collection to be populated by the source of the abcnewsimage so that as the abcnewsimage is populated by the snapshot that is taken of the abcnews website the icon field of the abc news item in the array collection would be too so that furthermore the tilelists would then be populated by these images. Basically as each snapshot appears in it's specfic image it needs to be loaded into the icon property of the array collection too. In the end the icons should look as if they are appearing within both the tilelists the same way as they are appearing within the images if that makes sense. The images should be loading within the tilelist one at a time as they are in the regular image components.
Maybe you are looking for
-
How to set up email in RAID Admin?
Using RAID Admin 1.5.1, I need to know how to set up the it up for automatic email notification. Okay I got as far as clicking the Email icon adding my .mac address. Now what do I put under SMTP. It's asking for the "server" and the "from email addre
-
Is there a way to create guides within ruler guides or aligned to ruler guides?
So I was wondering for my own sake if there was a way to create guides within ruler guides or have it align to ruler guides? I am working on this magazine where the layout has a ruler guides. Which is inside the margins. I'm guessing this is to ensur
-
Pricing Procedure in Sales Order
Hi everyone, I realize this question has been posted a couple of times before but I am posting the question really after doing all my research and trying all my options. Order Type: ZOR has Doc. Pricing Proc: A while Billing Type: ZF2 has Doc. Pricin
-
Hopefully someone can help me with my question. When I try to add photos from PhotoStream into my iPhoto Library a message appears asking to view the photo in the library (as if it were already imported). When I click View it brings me to my iPhoto
-
Alert in MsExcel while downloading
i am facing the following alerts while opening a ms excell file from a jsp page, 1)too many different cell formats. 2)Excel encpuntered an errorand had to remove some formatting to avoid corruoting the workbook. please re-check your formatting carefu