Jump to content

alukindo

Members
  • Posts

    113
  • Joined

  • Last visited

Everything posted by alukindo

  1. Hi: This was a previously working unit that went down after power outage during a storm. I am trying to isolate the system component that may have failed This setup is a combo PXI/SCXI chassis 1011 with a 6052E DAQ card. It is understood that DAQ card channel zero is used to multiplex and measure all channels from the SCXI unit. So it has been verified that DAQ card channel zero can infact read a battery voltage correctly and accurately. However, when the SCXI voltage channles are multiplexed via the same DAQ card, all the channel readings exhibit float behavior. By float behavior I mean that the channel reading starts at say +0.019 and then lowers gradually accross the zero line until it attains a high negative number that is out of range of the specified signal strength. One other error that I see in the program is error: 10685: "The clock rate exceeds the board's recommended maximum rate". This is not true becuase I am using the board's default rate of (-1). So the system is basically telling me that its default clock rate has degraded! I could not find error 10685 in the NI knowledge base Any ideas on what could be the cause of this? Anthony
  2. To LabVIEW users: I have posted an article titled 'LabVIEW Queued State Machine Architecture' on the ExpressionFlow website. The article discusses in depth features of this programming method and includes an illustrative LabVIEW code implementation of the same with narrative comments. Anthony L.
  3. QUOTE(ned @ Oct 1 2007, 08:47 AM) Ned: Thank you so much. This info is what I was looking for. When I tried the search term: typedef ring, I got so many hits which talk about the typedef topic and I was not able to wade through to get this article. Thanks again Anthony
  4. QUOTE(Aristos Queue @ Sep 30 2007, 09:19 PM) Hi Aristos: Can you shine some light on search terms or a link related to this question. I have been unable to get info from LabVIEW online help. E.g: LabVIEW notes on the ring control should probably have a note on this behavior but nothing there. Thanks Anthony
  5. Hi: I have noticed that updates to a typedef or strict typedef RING control, or the STRING COMBO control, do not propagate to existing instances of constants of that typedef control. The update that is important here is the list of available items to choose from. The one that does this beautifully is the typedef ENUM control, but this one forces the user to enumerate the enum values in a sequential manner starting from zero onwards. Does anyone know why the RING and STRING COMBO typedef constants on the block diagram are not updateable via the typedef definition? or is there perhaps a workaround to this? Anthony
  6. QUOTE(Jeffrey Habets @ Sep 19 2007, 03:41 AM) Hi Habets: Thanks! I actually tested a number of keyboards presses including shift enter but MISSED the space bar. Now I can remove the code from the form. It is not needed at all. Again thank you for pointing this out. :thumbup: Anthony
  7. Hi Karissap: Thanks for your suggestion. However, that setting only allows you to toggle just one check-box. It is not a setting that you can use for multiple check-boxes on a form. In that case all those other check-boxes will not respond to the return key except for the one that you last configured with that setting. Anthony L.
  8. Hi: Was checking LabVIEW settings which will allow tabbing to a check-box and toggle TRUE/FALSE value by pressing <RETURN KEY>. Seems that LabVIEW does not have a way to customize for this. Or perhaps I am missing something? I later found a way to do it in code. Thought I 'd share the code just in-case someone wishes to do the same. Note: The idea is to have users quickly fill-in a form with-out having to use the mouse Anthony
  9. Hi: When a user changes a slider control value from say 1.0 to 5.8 by sliding the control all the way through, the slider control will fire hundreds of events in quick succession all the way along the interval change from 1.0 to 5.8. If you put code handling for these events, LabVIEW becomes unneccesarily too busy. Is there a way to slow down the frequency of these slider value change events? My current work around is to use a separate loop that fires the value change event only after detecting a lapse of say 0.5 sec from the most recent slider value change. . . . But I am thinking that there could be another way around this. Any ideas? Anthony L.
  10. Jim: Thanks for uploading the presentations! Anthony L.
  11. Hi: I am interested in reading JKI presentations. Have they been posted somewhere? I looked but could not find the articles. I am posting this question here assuming that others may wish to access the same. Thanks Anthony L.
  12. Hi NI Engineers: Right now, clicking on a VI in LV project explorer only opens the VI's front panel. I think it would be great if <Ctl+Clicking> on the same VI in LV project explorer would open the block diagram of the VI if the front panel was already open. In many cases I run a VI after opening it in project explorer, later to find out that there is no way to access the block diagram unless I stop the VI first. The other wish list is that: clicking on a VI should open both the front panel and block diagram Anthony
  13. QUOTE(UtilityWarrior @ Jun 30 2007, 07:09 PM) Hi Adrian: ... In this case the image is longer than letter -sized paper. So what is needed is the image to be converted to multiple letter-sized pages of PDF that add-up to the full image rather than just one large PDF page. Can the updated utility do this? I already bought the image2PDF converter last year and this did not work as above. I was really impressed though with the speed of execution. Anthony
  14. Hi: In your code, each time the event fires, you are re-initializing the input array to nothing. I changed your code so that the re-initialization occurs only once outside the event structure. In this case, you will have to wire the array data line through each of your event cases. .. I hope this helps Anthony
  15. Hi Wolfram: Thanks for pointing me to this property. I did not expect this to be an application's property given that it works operates on the front panel. So I never really bothered to look there. This one works great for the main, top level, front panel. Anthony Hi Karissap: I use floating windows all along. The subVIs do stay on top but they never have the focus when launched until one clicks on the SubVI front panel. Thanks Anthony
  16. Aristos: Your X-Control example appears to be missing one component: < LED-ctl ref scroll.vi> Anthony
  17. QUOTE(crelf @ Jun 24 2007, 08:54 PM) Hi Crelf: In this case, the users want to be able to use any printer. Normally they would print the strip chart on banner type paper with letter-sized page segments. Else, they would use a regular printer that will print individual pages in portrait mode. ... But does that driver you mention allow use with any printer? Anthony
  18. Hi: Here is my scenario: I have this long image that represents a strip chart. The image width fits the width of letter-sized paper in portrait orientation. The image's vertical length, however, is sometimes 20 pages long. I need this image printed as-is (not scaled) on multiple PDF pages with continuity (no top or bottom margins) on those pages that have the chart extensions. . . . Basically, I want this long strip chart image to appear segmented across pages on a one-to-one scale based on the original *jpg, *.png, or*.bmp image.. Does your software have a solution for this scenario? . . . Many PDF utilities tend to shrink larger images to fit one page. Anthony
  19. Hi: I am trying to make a subVI get focus, remain active, and be front-most once deployed. However, when I launch a subVI, whose front panel is set to open when called, the lauched subVI does not have it's title bar 'activated'. This remains so even after setting the subVI is set to be front-most. Also, setting the the 'Activate' argument to TRUE on the 'Open Front Panel' method does not seem to fix this problem. Does anyone know of a work-around for this? I know that a modal subVI can do the trick. But I do not want this specific subVI to be modal. Anthony
  20. ... Thanks, those power-user VIs sure worked! Anthony
  21. Hi: Given a *.VI path say: c:\Test.llb\Test.main. The LabVIEW 'File Delete' function throws error# 7 when executed to delete such a file programmatically. Does anyone have a work-around to this. Of course, the delete function works OK for files in regular folders. Thanks Anthony
  22. Hi: Does anyone know of a fast algorithm for X,Y plot smoothing based on the LOWESS algorithm? There is one here but I am looking for a faster implementation. Thanks Anthony
  23. Hi: For reference, here is a link to the winning solution for the LabVIEW factorial coding challenge. There is a link to download the code as well. n! Coding Challenge . . . Just in case you are after performance and speed. Anthony
  24. Hi: This factorial calculation problem is one that NI uses to show the recursive VI calling feature of LabVIEW. Recursive VI calling method is considered an advanced LabVIEW topic involving use of VI server. I would say that if you are new to LabVIEW, you should not punch yourself over, and over, if you could not get a quick solution to this 'seeminlgy' simple problem. ... Well, enough said. Pasted below is sample code for factorial calculation. I have also attached the VI. Anthony
  25. QUOTE(tcplomp @ Jun 9 2007, 01:24 PM) tcplomp: The code pasted is from LabVIEW 8.2.1 Anthony
×
×
  • Create New...

Important Information

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