Jump to content

rkehn

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Posts posted by rkehn

  1. There is a VI File Info.vi in the OpenG Toolkit file package that allows to change the modification date and creation date of a file provided the current user has enough privileges for the file in question.

    The prototype you are showing in your VI is VisualBasic syntax and not very helpful for LabVIEW purposes. LabVIEW is strictly typed just as C is and needs to be configured to match the expected C types exactly. If I remember right then FILETIME is a 64bit integer or a long long. This can be achieved directly in LabVIEW 8 with the (u)int64 but in LabVIEW before 8.0 you would have to create a cluster of two (u)int32 and pass that instead.

    Rolf Kalbermatter

    Thanks I found it in OpenG yesterday, I should have checked sooner. Yes I was just getting to the cluster of two (u)int32 when I found the VI on OpenG.

    Thanks again to You and Openg...

    Roger

  2. Thanks for everyones help. I got it to work :thumbup: (using the NI example), yet I needed a separate program to return the MAC address of the remote computer. Ultimately I would like to have a VI in which I just give the network name and have if resolve the MAC address the finally send the magic datagram. Once finished I will post for anyone who wants it.

    Thanks again!!!

    Rog

  3. Thanks for pointing these out. They seem very promising for quick tasks and small utilities.

    Any idea how these scripts work? Do they turn around and call VBScript, or Windows API, or something even lower-level?

    Just curious...

    -Khalid

    I believe API...

    I don

  4. I am using LabView 6.1 on a project and would like to scan the cards installed in the SCXI chassis. Then finally I would load the appropriate drivers(My VIs) at startup.

    What I currently know:

    [*] There is a sub VI that will return the cards that are installed but only if you have set them up in MAX first.

    [*] Looks as though I can add and remove cards with VI

  5. I'm trying to write a function that returns the files in a folder that have the Archive bit set. :headbang: Is there a way in labview to read this information? The get file info VI seems to be very limited (probably do to portability). I trying to avoid having to compare file modified date to a history file. Seem like a lot of work when the OS already does this book keeping for me!

    Thanks

  6. You need to set the ActiveItemTag first.

    Unlike tables/listbox/etc where you reference by row numbers.

    In trees you set the active row by using ActiveItemTag.

    Then you can adjust the cell size property.

    See the picture for example.

    post-1486-1125429097.gif?width=400

    Roger

×
×
  • Create New...

Important Information

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