Jump to content

ChrisBoes

Members
  • Posts

    2
  • Joined

  • Last visited

ChrisBoes's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I am evaluating the LabVIEW c code generator for use in porting a project to an embedded ARM platform. We are going to use Qt for our embedded application and I am not able to get even a very simple c-generated VI to compile and run in Qt Creator. I attached my generated code (just a VI that implements y = m * x + b). Has anyone had any success in using LV generated C code in a Qt project? Thanks -cb evaluate_line.zip
  2. Thols, I have done some work in the past to automate Excel using VB. The CreateObject and GetObject functions are roughly equivalent to the Automation Open vi that you are using. As I recall, Excel was one of the first applications to offer automation on a broad level with Excel 97 representing a version or two into the process. However, I found it to be somewhat finicky in how it is to be used. I don't have 97 installed on any machines to directly test this out, but you could try a few things. First, I would run excel and then try to attach to the running copy by using the "open new instance" input to the vi and see if your commands work. Second, I would try to set the visible property to true after creating the application object. By default, excel is created with the visible property set to false. I have found odd or unpredictable behavior when automating an invisible instance of excel. Go figure. With the visible thing in mind, if you have problems or crashes, you might want to do your debugging with the windows task manager visible. You may have a need to manually kill an excel instance from time to time if they are not automatically cleaned up. Good luck -cb
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.