Jump to content

SuperS_5

Members
  • Posts

    129
  • Joined

  • Last visited

Posts posted by SuperS_5

  1. You mean that it can be a problem in one of my subVI's? Because my main program, where the error occured, no longer works and opens.

    ____________

    Michael ten Den

    That would be why you would want to try to isolate the offending code. "Something not working" is hard to debug, "This thing is not working" is usually fixable.

  2. Hi,

    I stumbled on this and experimented a little bit. The exact execution of the loop that causes the queing seams to be base upon CPU saturation. If I do something that uses up a lot of cycles compounds the queing issue. It seams that the xnode is getting a lower execution priority, not matter what I selected in the VI properties. Even the smallest amount shortage of CPU cycles in the user interface thread causes the issue. In the referring post you mentioned that you have a CAR for this issue. Any response from NI?

  3. G-code. This is the most important "feature," or more like a generation advancement. Dealing with the UI can be difficult, but, should I don't think it is any harder than other languages, just different. I don't have any regrets with leaving C behind in the dust. (I just hope that the NI R&D guys keep up the "I program in C so you don't have to" mentality.)

  4. Hi, I am only guessing, but, there may be a driver problem. (Some dll call is doing bad things.) If you can reliably recreate the error, I would duplicate your project, and start stripping out everything bit by bit, only stopping when there is no problem anymore. This would allow you to isolate the problem, and probably have enough missing that you could even post it here.

  5. Hi, I am guessing that you will be using polling then. I think that I would use the waveform data-type for short-term processing, and display. (Although I have used simple arrays for inherited code) Saving the data to file would be highly recommended if logging will be long-term. Also, If you don't care about the other 197 devices on the CAN network, I would recommend ignoring those datapoints.

  6. Quick answer crelf. "Coolest" might be slightly subjective. Search the web, and you will find a bunch of cool examples of LabVIEW. The FIRST robotics competitions are kind of cool too! So I guess any of those jobs would be fun. Personally I like my position, but can't give details.

  7. Hi, I agree with the above two super posters. However, as a quick ref: there is a invoke method "connect wire" that will do what you require. You will need the reference of the target tunnel, and the reference of where ever it will connect to. One way to get the tunnel reference, is by getting the reference of the parent structure, and using a property node.

    PS. Editing this post for the third time now. My laptop is not playing nice with my browser.:angry:

  8. Hi, I am not quite following the desired outcome, but still have something to add. Deterministic timimg on a PC can be difficult. I expect around 100ms interupts to occur every now and then. If 100ms is long compared to total execution time, the system will become non-determainistic. I am guessing that this jitter is causing your problems.

  9. That sounds like it will be pretty similar to what we are going for. I have done some work with subpanels and was thinking that I would use them.

    When changing "tabs" in the main screen was that a matter of loading new VIs into the subpanel? What was the response time like? The reason I was thinking about a tab was that I thought that response time would be better switching tabs than loading up a new subpanel.

    Performance was very reasonable, and the response time was fast. This actually worked very nicely for our project.

    Don't forget to check out this tabbed x-control beauty by Olivier Jourdan too.

    I have not seen this before. Wow!:cool:

  10. Hi,

    I have done something kind of similar. We used sub-panels and dynamically called subVIs that are stuck into the sub-panels. This allow for some of the subVIs to be "popped-up" in a new window, after removing it from the sub-panel. However, we used buttons, instead of tabs for the navigation.

    I was thinking it would be cool if they could grab the tab and drag it out of the main window and create a new one

    That sounds really cool. I hope that you post your progress on this.

    EDIT: There was some cool examples in the recent Example Code Contest put on by NI. Specifically the cool UI examples. You may want to check some of them out.

  11. iHi,

    That should work, as long as only one process is "dequeuing." An "user event" may also be useful for this application. This allows the main process to react quickly to both, messages and user interface events, without polling. The choice between a queue, and user even depends upon the function of the main process. (ie. polling, or non-polling)

  12. :thumbup1: I had that half way, closed LV by accident and didn't save.:frusty: That is when I realized that I am still way too sick and tired to be doing any logic when I see doubles. That is where my first post came from.
  13. I actually had the same problem when upgrading to win7. Having a high resolution laptop screen means that I couldn't see much at the normal DPI settings. Changing them cause all kinda of problems with my FPs, just like you posted. Changing the settings back to normal did not exactly help, as win7/vista have different font settings then winXP did. The posts around here on that topic were indeed helpful.

  14. Hi Everyone. (hello world)

    Just wanted to say hello to the community, since I have a few posts on record. I have been trolling (lurking) around LAVA for a few years, but never had time to actively participate. I am fairly new at LabVIEW, but, have loved programming/computer/electronics since I would walk/talk. I hope that I will be sticking around for the extended future.

    Thanks to all of the admin/regulars that have made LAVA what it is.

  15. Hi,

    I have always seen hardware communications implemented via dll calls from LabVIEW. In my very limited experience in the area, drivers where provided. I then could use the "Call Library Function Node" to access the dll files required. (I have only used this from Windows)

  16. I have not had any time to play with scripting before, and still don't. I am very excited about it though, so have been playing with this problem. I have found out how to connect a wire, in the case that you didn't want to delete the original control. However, apparently the seemingly easy way of deleting the wire segment, "is not yet implemented." (That is directly from the error cluster) Rewiring all of the segments after deleting the wire is the alternative.

    post-17903-0-84395800-1290829332_thumb.p

×
×
  • Create New...

Important Information

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