Jump to content

LAVA 1.0 Content

Members
  • Posts

    2,739
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by LAVA 1.0 Content

  1. QUOTE (shoneill @ Sep 16 2008, 09:44 AM)

    Not at all.

    Has happened to us all, right guys? Guys? Oh. :(

    Well it's happened to me anyway...

    Shane.

    Yup!

    Did it just last week. After restoring class data from file I was failing to clear the array of queues (contained in the class data) that had been used when the file was saved. It took me some digging before I figured out why posting to (now invalid) queues was not working after restoring from file.

    Ben

  2. QUOTE (torekp @ Sep 16 2008, 07:40 AM)

    Here is the block diagram of a little test-program I wrote. It's very messy, I'm sorry - it is only a test which will be discarded soon, so I didn't bother trying to make it look nice.

    My problem is: sometimes both loops execute (intended behavior), but sometimes only the top one does.

    http://lavag.org/old_files/monthly_09_2008/post-4616-1221564858.png' target="_blank">post-4616-1221564858.png?width=400

    I'd attach the VIs too, but they require DLL's which I'm not licensed to spread around. The blue wire originating with OOIrfm Init represents an open link to a Reflective Memory card. The blue-green wire originating with VIG_termin8_files represents an open binary file. These are resources that are shared by the two loops. Is that causing my problem, do you think?

    Code snippets usually read all terminals and nodes that are not delayed by data dependancies, so is there a possiblility that the local for "State" is reading a value of "stop" before its is set to another value?

    Ben

  3. QUOTE (george seifert @ Sep 15 2008, 01:55 PM)

    Where am I supposed to copy the "NIReport.llb" folder to?

    In the workaround.zip you have an example and a NIReport.llb folder, copy this NIReport.llb folder to <labview 8.6>\vi.lib\Utility. You have already NIReport.llb folder in the <labview 8.6>\vi.lib\Utility that contain the complet tookit. The workaround VI will replace all instance of "Get Report Type.vi" and with this version you will be able to access Word._document activeX

    Dany

  4. QUOTE (DidikChandra @ Sep 13 2008, 06:59 PM)

    Second, since the PC is not allowed to be used for anyother purpose, then shuting down the PC should also be from LabVIEW ... Now I'm completely blind on how to do that :lightbulb: , please shine some light on me.

    And I'm using LabVIEW 8.0.1, Windows XP Pro SP3

    Best regards,

    Didik Chandra

    You can shutdown Windows from LabVIEW using the system command 'shutdown'. In LabVIEW make a System Exec call 'shutdown -s -t 1'

  5. QUOTE (crelf @ Sep 12 2008, 10:49 AM)

    ...and a custom style where we could define what we wanted, and then save it off as a style file so we could take it with us, and share it amongst our colleagues. Just like VI Analyzer profiles.

    How do you define and document your custom style? i.e. what thought process do you use to decide how to place and organize your LV diagram? And how do you tell a computer to do the same thing?

  6. QUOTE (Aristos Queue @ Sep 11 2008, 12:54 AM)

    That one isn't meant to be an option, just a general modification to the algorithm that is always in play.

    Just judging by the images posted one idea would involve the Diagram Clean-up checking with the VIA to see how it did. One of those cleaned-up daigrams had a wire running under a string constant and would have failed that VIA test.

    Ben

  7. I was measuring analog and digital pulses for same event.Also we are acquiring analog and digital with different sampling ratesInitially both the acquisitions happening at same time and running at same rate,but after some time,digital acquisition going slow and values I was getting are deviated from analog in milliseconds are using M Series PXI 6254 Card,How can i make both the acquisitions to happen at same rate throughout the test.

    Regards,

    Naresh.N

  8. Hi Dan,

    If I look at your program, here's what I would do (in text).

    Use the AI-clock as the clock of your counter.

    You don't need a start trigger for the AI task, via the AI-clock both tasks are synched.

    First start the counter task, second start your AI task (in the way you want) because both tasks use the same clock and the counter task is started first this enforces synchronized start.

    Ton

  9. QUOTE (ExpoEra @ Sep 10 2008, 03:22 PM)

    e9uqec.jpg

    The folders saying Connector 0, 1, etc have the I/Os in them.

    It turns out the IO references are somewhat specific to the type of IO device. My original VI was created for cRIO IO. I updated the example for R series and have attached the new VIs and project.

  10. QUOTE (Doug Norman @ Sep 10 2008, 03:28 PM)

    Hi George,

    Let me first say there is an easy work around for this. If you search ni.com for "report generation kb" you should find:

    http://digital.ni.com/public.nsf/allkb/8D2...62574B000534AF5

    which explains what to do. The basic idea is to edit one of the existing VIs (Get Report Type) to output the references you need. You do not need to know anything about LVOOP or classes.

    And hopefully I can clear up a couple things in this thread:

    1. When we (NI) make changes to a toolkit, we guarantee the palette VIs. SubVIs not on the palette are subject to be changed or removed. That said, we don't want or try to break your application. We will likely add some utility VIs to the palette in the future to allow access to the Word and Excel references without having to edit the existing toolkit VIs.

    2. It is true that you cannot add VIs to the to the NI_Word,lvclass or the NI_Excel.lvclass. It is false that the class implementation blocks access to the Word and Excel ActiveX – you can get to the references as described in the KB link above.

    3. While you cannot add VIs to the classes, you can edit the VIs in the classes. However, please remember that when you do this, you need to be aware that installing the next version will replace your edited VIs.

    Hope this helps,

    Doug Norman

    Thank you Doug for the link, but I can't download the workaround.zip the link to the file is not working.

    Dany

  11. QUOTE (ExpoEra @ Sep 10 2008, 11:28 AM)

    Yea, I did all of those. The strange part is that when I click on the I/O references, it says "No I/O Available". I am very sure I have configured the I/O for my target correctly. :(

    What I/O modules and channels have you configured? Can you attach a screen shot of the project with the configuration or the project file.

    Make sure the VIs are assigned to the same FPGA target in the project.

  12. QUOTE (crelf @ Sep 10 2008, 10:50 AM)

    If you're a professional LabVIEW programmer (not a casual LabVIEW user), then I strongly encourage you to get involved in the http://digital.ni.com/beta' target="_blank">LabVIEW Software Engineering Tools beta. I think what NI's cooking up over there are some of the most important improvements for professional LabVIEW programmers that I've seen in years.

    Since I don't have a note from my mother either, can you tell us more about the LabVIEW Software Engineering Tools (if you can).

×
×
  • Create New...

Important Information

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